Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.001038/0.001038, allocations: 81.91 kB / 21.43 MB, free: 3.062 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.001061/0.001061, allocations: 160.6 kB / 24.82 MB, free: 9.312 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 0.9802/0.9802, allocations: 177 MB / 205.1 MB, free: 5.477 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.2538/0.2538, allocations: 34.87 MB / 296.6 MB, free: 436 kB / 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 379.3 MB, free: 1.734 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.23e-05, allocations: 3.297 kB / 379.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.005874/0.005897, allocations: 1.839 MB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004673/0.01057, allocations: 1.079 MB / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.814e-05/0.01067, allocations: 3.938 kB / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004904/0.01116, allocations: 299.1 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004698/0.01163, allocations: 255 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.01188, allocations: 111.6 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000294/0.01217, allocations: 271.2 kB / 383.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.01222, allocations: 5.812 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.01243, allocations: 151.6 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.01266, allocations: 208.1 kB / 383.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.01268, allocations: 4 kB / 383.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.774e-05/0.01278, allocations: 47.92 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.0129, allocations: 144.5 kB / 383.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.162e-05/0.01298, allocations: 71.67 kB / 383.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003351/0.01634, allocations: 270.9 kB / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.01634, allocations: 4 kB / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01634, allocations: 0 / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.01635, allocations: 0 / 384 MB, free: 12.98 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007768/0.01712, allocations: 0.7823 MB / 384.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.01717, allocations: 12.03 kB / 384.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.476e-05/0.01724, allocations: 56.61 kB / 384.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.01756, allocations: 316.7 kB / 385.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.01758, allocations: 384 / 385.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.01759, allocations: 8.375 kB / 385.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.01774, allocations: 94.22 kB / 385.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.01775, allocations: 192 / 385.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.01776, allocations: 4.375 kB / 385.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.01777, allocations: 3.938 kB / 385.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.583e-05/0.0178, allocations: 15.92 kB / 385.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.01806, allocations: 220.8 kB / 385.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.0182, allocations: 94.14 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.812e-05/0.01824, allocations: 31.36 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.01825, allocations: 4 kB / 385.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/0.01839, allocations: 108.3 kB / 385.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.01839, allocations: 0 / 385.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003046/0.01869, allocations: 165.3 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.01873, allocations: 77.11 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003645/0.02238, allocations: 0.6858 MB / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.02239, allocations: 29.7 kB / 386.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.02262, allocations: 306.7 kB / 387 MB, free: 9.773 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.02266, allocations: 27.84 kB / 387 MB, free: 9.746 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.02271, allocations: 35.34 kB / 387.1 MB, free: 9.703 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.02291, allocations: 0.5625 MB / 387.6 MB, free: 9.129 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.344e-05/0.02295, allocations: 11.98 kB / 387.6 MB, free: 9.117 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.02307, allocations: 54.66 kB / 387.7 MB, free: 9.047 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.786e-05/0.02316, allocations: 75.22 kB / 387.8 MB, free: 8.957 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.02316, allocations: 4 kB / 387.8 MB, free: 8.953 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002006/0.02336, allocations: 149.2 kB / 387.9 MB, free: 8.801 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.02338, allocations: 8 kB / 387.9 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.02338, allocations: 0 / 387.9 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.0234, allocations: 0 / 387.9 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.485e-05/0.02349, allocations: 20 kB / 387.9 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.0235, allocations: 11.86 kB / 388 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.656e-05/0.02358, allocations: 16 kB / 388 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.02358, allocations: 4 kB / 388 MB, free: 8.742 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001084/0.02369, allocations: 162.1 kB / 388.1 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.02375, allocations: 63.61 kB / 388.2 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.02399, allocations: 153.8 kB / 388.4 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.02399, allocations: 0 / 388.4 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.02399, allocations: 0 / 388.4 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.024, allocations: 11.92 kB / 388.4 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.02423, allocations: 229 kB / 388.6 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.02424, allocations: 0 / 388.6 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.626e-05/0.02427, allocations: 16 kB / 388.6 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.02427, allocations: 3.938 kB / 388.6 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.02428, allocations: 0 / 388.6 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.02429, allocations: 4.25 kB / 388.6 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.02429, allocations: 3.984 kB / 388.6 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.02451, allocations: 215.6 kB / 388.8 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.02458, allocations: 55.66 kB / 388.9 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.02462, allocations: 3.984 kB / 388.9 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.908e-05/0.02467, allocations: 4 kB / 388.9 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.02471, allocations: 11.98 kB / 388.9 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.02472, allocations: 8 kB / 388.9 MB, free: 7.746 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003408/0.02813, allocations: 434.6 kB / 389.3 MB, free: 7.324 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.02813, allocations: 0 / 389.3 MB, free: 7.324 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002749/0.02841, allocations: 43.94 kB / 389.4 MB, free: 7.281 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001024/0.02943, allocations: 394 kB / 389.8 MB, free: 7.008 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.02956, allocations: 63.58 kB / 389.8 MB, free: 6.941 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.02956, allocations: 0 / 389.8 MB, free: 6.941 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.208e-05/0.02961, allocations: 35.66 kB / 389.9 MB, free: 6.902 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.02996, allocations: 82.78 kB / 389.9 MB, free: 6.824 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007965/0.03076, allocations: 0.6443 MB / 390.6 MB, free: 6.145 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003112/0.03387, allocations: 124.2 kB / 390.7 MB, free: 6.004 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.697e-05/0.03397, allocations: 42.95 kB / 390.7 MB, free: 5.957 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.03411, allocations: 114.2 kB / 390.9 MB, free: 5.844 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.03411, allocations: 0 / 390.9 MB, free: 5.844 MB / 362.7 MB Notification: Performance of Templates: time 0.01452/0.04864, allocations: 4.296 MB / 395.2 MB, free: 1.617 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.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.0728671988472342]