Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008978/0.0008978, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009895/0.0009895, allocations: 171.8 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.028/1.028, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2763/0.2763, allocations: 34.87 MB / 296.6 MB, free: 0.5 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 379.3 MB, free: 1.727 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003205/0.0003224, allocations: 3.297 kB / 379.3 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002284/0.002606, allocations: 1.755 MB / 381.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.003782, allocations: 1.005 MB / 382.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.003854, allocations: 3.938 kB / 382.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.004121, allocations: 39.77 kB / 382.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.00438, allocations: 107.5 kB / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.004557, allocations: 79.61 kB / 382.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.004719, allocations: 107.6 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.374e-05/0.004803, allocations: 4 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.405e-05/0.004897, allocations: 59.81 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.128e-05/0.004968, allocations: 23.92 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.004984, allocations: 4 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.842e-05/0.005072, allocations: 47.91 kB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.005118, allocations: 23.86 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.375e-05/0.005162, allocations: 23.86 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.005343, allocations: 99.66 kB / 382.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.005346, allocations: 4 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005346, allocations: 0 / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.005351, allocations: 0 / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004589/0.00581, allocations: 455.8 kB / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.005848, allocations: 8.031 kB / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.005888, allocations: 12.89 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.006048, allocations: 160.8 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.006064, allocations: 4.375 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.006079, allocations: 384 / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.006189, allocations: 62.94 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.0062, allocations: 8.125 kB / 383.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.006207, allocations: 384 / 383.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.006214, allocations: 3.938 kB / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.164e-05/0.006246, allocations: 11.98 kB / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.006522, allocations: 256.4 kB / 383.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.042e-05/0.006613, allocations: 51.09 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.334e-05/0.006636, allocations: 15.69 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.00665, allocations: 0 / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.114e-05/0.006741, allocations: 73.03 kB / 383.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.006742, allocations: 0 / 383.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003263/0.007068, allocations: 145.3 kB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.007096, allocations: 55.39 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.007241, allocations: 237.8 kB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.007255, allocations: 29.64 kB / 384.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.007319, allocations: 150.9 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.007361, allocations: 31.77 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.007398, allocations: 23.38 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.007528, allocations: 0.4962 MB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/0.007547, allocations: 11.98 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.291e-05/0.00758, allocations: 35.36 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.503e-05/0.007635, allocations: 43.36 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.007636, allocations: 0 / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001181/0.007754, allocations: 93.45 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.007765, allocations: 4 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.007769, allocations: 0 / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.007782, allocations: 4 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.007847, allocations: 19.94 kB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.007849, allocations: 32 / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.695e-05/0.007886, allocations: 15.97 kB / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.007892, allocations: 0 / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.177e-05/0.007974, allocations: 163 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.007994, allocations: 19.84 kB / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.00814, allocations: 99.06 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.008142, allocations: 0 / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.008144, allocations: 0 / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.008147, allocations: 0 / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.008451, allocations: 365.5 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.008454, allocations: 8.016 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.351e-05/0.008487, allocations: 16 kB / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.00849, allocations: 0 / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.008497, allocations: 0 / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.008499, allocations: 4 kB / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.0085, allocations: 0 / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.008668, allocations: 255.4 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.008681, allocations: 7.953 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.008702, allocations: 7.984 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.008e-05/0.008762, allocations: 4 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.008788, allocations: 16.3 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.0088, allocations: 4 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.016e-05/0.008881, allocations: 172.2 kB / 386.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008881, allocations: 0 / 386.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000243/0.009124, allocations: 27.92 kB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001293/0.01042, allocations: 431.5 kB / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.01052, allocations: 47.59 kB / 386.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01052, allocations: 0 / 386.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.098e-05/0.01056, allocations: 31.73 kB / 386.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.01085, allocations: 39.8 kB / 386.9 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.01121, allocations: 225.9 kB / 387.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.898e-05/0.01125, allocations: 67.33 kB / 387.1 MB, free: 9.648 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.333e-05/0.0113, allocations: 21.27 kB / 387.2 MB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.759e-05/0.01138, allocations: 90.19 kB / 387.2 MB, free: 9.535 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01138, allocations: 0 / 387.2 MB, free: 9.535 MB / 362.7 MB Notification: Performance of Templates: time 0.004214/0.01559, allocations: 2.048 MB / 389.3 MB, free: 7.523 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.01419224916026]