Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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: 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.001173/0.001173, allocations: 171.9 kB / 24.82 MB, free: 9.273 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.9827/0.9827, allocations: 177 MB / 205.1 MB, free: 5.465 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.2886/0.2886, allocations: 34.86 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 379.3 MB, free: 1.766 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.459e-05, allocations: 8.641 kB / 379.3 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002951/0.002975, allocations: 1.715 MB / 381 MB, free: 28 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.004189, allocations: 0.9851 MB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.946e-05/0.004279, allocations: 0 / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.004578, allocations: 67.72 kB / 382.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.004857, allocations: 115.4 kB / 382.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.005027, allocations: 71.67 kB / 382.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.005171, allocations: 111.6 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.654e-05/0.005207, allocations: 8.219 kB / 382.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.696e-05/0.005294, allocations: 55.89 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.514e-05/0.005379, allocations: 47.88 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.005392, allocations: 4 kB / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.816e-05/0.005461, allocations: 35.92 kB / 382.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.005502, allocations: 23.86 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.005532, allocations: 15.94 kB / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.005669, allocations: 87.66 kB / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.005671, allocations: 0 / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005672, allocations: 0 / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.055e-06/0.005675, allocations: 0 / 382.6 MB, free: 14.4 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003954/0.00607, allocations: 443.9 kB / 383.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.006108, allocations: 12.03 kB / 383.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.006152, allocations: 16.83 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.006295, allocations: 149.1 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.006311, allocations: 4.359 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.006319, allocations: 8.312 kB / 383.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.00642, allocations: 54.89 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.006428, allocations: 4.172 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.006435, allocations: 4.375 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.006442, allocations: 3.938 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.243e-05/0.006464, allocations: 11.98 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001143/0.006579, allocations: 113.3 kB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.555e-05/0.006654, allocations: 43.11 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.006672, allocations: 11.69 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.006686, allocations: 4 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.669e-05/0.006763, allocations: 64.98 kB / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.006764, allocations: 0 / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001399/0.006904, allocations: 81.58 kB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.006928, allocations: 55.41 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.007038, allocations: 238.2 kB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.007049, allocations: 25.7 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.007101, allocations: 154.8 kB / 384.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.007129, allocations: 19.81 kB / 384.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.007155, allocations: 27.38 kB / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.007261, allocations: 0.4962 MB / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.007275, allocations: 4.25 kB / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.211e-05/0.007297, allocations: 27.36 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.891e-05/0.007336, allocations: 31.38 kB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.007339, allocations: 8 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.045e-05/0.007409, allocations: 69.58 kB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.689e-06/0.007419, allocations: 4 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.007424, allocations: 3.984 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.007434, allocations: 4 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.883e-05/0.007483, allocations: 8 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.007487, allocations: 3.938 kB / 384.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.866e-05/0.007516, allocations: 7.953 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.007519, allocations: 0 / 384.8 MB, free: 12 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 (7): * Single equations (assignments): 7 * 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 6.934e-05/0.007589, allocations: 172.5 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.007601, allocations: 7.953 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.007703, allocations: 74.83 kB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.007707, allocations: 4 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.007708, allocations: 3.938 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.007712, allocations: 3.938 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.118e-05/0.007793, allocations: 117.2 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.007795, allocations: 0 / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-05/0.007816, allocations: 7.984 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.007819, allocations: 4 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-06/0.007826, allocations: 8 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.007828, allocations: 3.938 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.007829, allocations: 128 / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.997e-05/0.007919, allocations: 120.3 kB / 385.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.007931, allocations: 7.953 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.007946, allocations: 4 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.995e-05/0.007966, allocations: 0 / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.007997, allocations: 7.984 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.008009, allocations: 0 / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.568e-05/0.008075, allocations: 159.1 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008075, allocations: 4 kB / 385.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001427/0.008217, allocations: 23.94 kB / 385.5 MB, free: 11.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007296/0.008947, allocations: 372.9 kB / 385.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.164e-05/0.009039, allocations: 43.61 kB / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.00904, allocations: 0 / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.45e-05/0.009065, allocations: 19.67 kB / 386 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.009233, allocations: 35.91 kB / 386 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.009499, allocations: 194.1 kB / 386.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.097e-05/0.00953, allocations: 63.34 kB / 386.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.137e-05/0.009561, allocations: 16.47 kB / 386.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.157e-05/0.009623, allocations: 90.19 kB / 386.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.009623, allocations: 4.062 kB / 386.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of Templates: time 0.003571/0.01319, allocations: 1.774 MB / 388.1 MB, free: 8.703 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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.063178339973092]