Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009136/0.0009135, allocations: 98.53 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001116/0.001117, allocations: 206.5 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1933/0.1933, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002664/0.0002664, allocations: 8 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1073, allocations: 63.56 MB / 483.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002034/0.1094, allocations: 1.629 MB / 485.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1111, allocations: 1.099 MB / 486.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.744e-05/0.1112, allocations: 3.938 kB / 486.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000432/0.1116, allocations: 247.5 kB / 486.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003898/0.112, allocations: 207.4 kB / 486.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.1123, allocations: 99.78 kB / 487 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003509/0.1127, allocations: 263.2 kB / 487.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1128, allocations: 17.69 kB / 487.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.113, allocations: 119.5 kB / 487.4 MB, free: 488 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.1133, allocations: 187.4 kB / 487.6 MB, free: 300 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.1133, allocations: 4 kB / 487.6 MB, free: 296 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.1135, allocations: 59.92 kB / 487.7 MB, free: 236 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.738e-05/0.1136, allocations: 67.69 kB / 487.7 MB, free: 168 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1137, allocations: 116.9 kB / 487.8 MB, free: 44 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.1139, allocations: 183.9 kB / 488 MB, free: 15.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1139, allocations: 0 / 488 MB, free: 15.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.114, allocations: 4 kB / 488 MB, free: 15.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.114, allocations: 0 / 488 MB, free: 15.86 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007895/0.1148, allocations: 0.5448 MB / 488.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1148, allocations: 8.031 kB / 488.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.404e-05/0.1149, allocations: 32.56 kB / 488.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.1152, allocations: 294.3 kB / 488.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.1153, allocations: 4.375 kB / 488.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.1153, allocations: 12.12 kB / 488.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.1156, allocations: 119.2 kB / 489 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1156, allocations: 0 / 489 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.1156, allocations: 4 kB / 489 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.1156, allocations: 4 kB / 489 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.1158, allocations: 43.95 kB / 489.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006161/0.1164, allocations: 488.8 kB / 489.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.1168, allocations: 121.2 kB / 489.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.548e-05/0.1169, allocations: 37.83 kB / 489.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.1169, allocations: 15.97 kB / 489.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.1172, allocations: 113.1 kB / 489.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 3.437e-06/0.1172, allocations: 0 / 489.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001323/0.1185, allocations: 0.5045 MB / 490.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.1186, allocations: 85.09 kB / 490.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004755/0.1191, allocations: 497.7 kB / 490.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.1191, allocations: 33.69 kB / 490.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1192, allocations: 172.4 kB / 491.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/0.1193, allocations: 71.08 kB / 491.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.1193, allocations: 21.72 kB / 491.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1195, allocations: 346.8 kB / 491.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1196, allocations: 63.97 kB / 491.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.1197, allocations: 91.41 kB / 491.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.12, allocations: 163.4 kB / 491.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.12, allocations: 4 kB / 491.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003929/0.1204, allocations: 237 kB / 492.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1204, allocations: 10.12 kB / 492.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.1205, allocations: 4 kB / 492.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1205, allocations: 0 / 492.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.1206, allocations: 47.91 kB / 492.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.1206, allocations: 8.062 kB / 492.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.707e-05/0.1207, allocations: 8 kB / 492.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.1208, allocations: 20 kB / 492.2 MB, free: 11.41 MB / 366.1 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001549/0.1209, allocations: 178.2 kB / 492.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.166e-05/0.121, allocations: 39.47 kB / 492.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.229e-05/0.1211, allocations: 46.89 kB / 492.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1211, allocations: 0 / 492.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.1211, allocations: 4 kB / 492.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1211, allocations: 0 / 492.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009278/0.122, allocations: 0.735 MB / 493.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.1221, allocations: 0 / 493.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.594e-05/0.1221, allocations: 35.92 kB / 493.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.1222, allocations: 4 kB / 493.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.1222, allocations: 4.125 kB / 493.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1222, allocations: 8 kB / 493.2 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1222, allocations: 0 / 493.2 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.1227, allocations: 428.6 kB / 493.6 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.518e-05/0.1228, allocations: 112.6 kB / 493.8 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.1228, allocations: 11.94 kB / 493.8 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.123, allocations: 12 kB / 493.8 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.123, allocations: 23.84 kB / 493.8 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.1231, allocations: 12 kB / 493.8 MB, free: 9.645 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003372/0.1234, allocations: 375.1 kB / 494.2 MB, free: 9.281 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1234, allocations: 4 kB / 494.2 MB, free: 9.277 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003454/0.1238, allocations: 47.98 kB / 494.2 MB, free: 9.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001146/0.1249, allocations: 0.5011 MB / 494.7 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003361/0.1253, allocations: 159.8 kB / 494.9 MB, free: 8.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1253, allocations: 0 / 494.9 MB, free: 8.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.1254, allocations: 84.22 kB / 495 MB, free: 8.668 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006019/0.126, allocations: 65.17 kB / 495 MB, free: 8.609 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009872/0.127, allocations: 0.7007 MB / 495.7 MB, free: 7.863 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.1274, allocations: 0.7833 MB / 496.5 MB, free: 7.055 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/0.1275, allocations: 35.42 kB / 496.5 MB, free: 7.02 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1275, allocations: 0 / 496.5 MB, free: 7.02 MB / 366.1 MB Notification: Performance of Templates: time 0.006671/0.1342, allocations: 3.814 MB / 0.4886 GB, free: 3.219 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches