Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 109.2 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241.9 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2058/0.2058, allocations: 44.18 MB / 336.2 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 61.59 kB / 407.9 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1111, allocations: 60.83 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002874/0.114, allocations: 1.85 MB / 470.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.116, allocations: 1.522 MB / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.489e-05/0.1161, allocations: 4 kB / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.1164, allocations: 47.83 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.1167, allocations: 79.61 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.1171, allocations: 151.7 kB / 472.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.1173, allocations: 183.5 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.1173, allocations: 9.562 kB / 472.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.1175, allocations: 83.56 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.1176, allocations: 79.62 kB / 472.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.1177, allocations: 8 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.1178, allocations: 63.97 kB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.1179, allocations: 27.91 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.181e-05/0.118, allocations: 63.55 kB / 472.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.1182, allocations: 167.8 kB / 473 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1182, allocations: 0 / 473 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1182, allocations: 0 / 473 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1182, allocations: 0 / 473 MB, free: 10.37 MB / 350.1 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.0005791/0.1188, allocations: 466.7 kB / 473.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.1188, allocations: 8.031 kB / 473.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.362e-05/0.1189, allocations: 16.75 kB / 473.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.1192, allocations: 243.8 kB / 473.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1192, allocations: 4.375 kB / 473.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.1192, allocations: 12.11 kB / 473.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.1194, allocations: 93.09 kB / 473.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.1194, allocations: 0 / 473.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.1195, allocations: 8 kB / 473.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1195, allocations: 0 / 473.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.1196, allocations: 31.91 kB / 473.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/0.1198, allocations: 214.5 kB / 474.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.1201, allocations: 113.2 kB / 474.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.982e-05/0.1202, allocations: 41.64 kB / 474.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.1202, allocations: 7.984 kB / 474.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.1205, allocations: 113 kB / 474.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.1205, allocations: 0 / 474.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000429/0.1209, allocations: 157.5 kB / 474.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.121, allocations: 132.5 kB / 474.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.1212, allocations: 211.8 kB / 474.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.1213, allocations: 29.7 kB / 474.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.1213, allocations: 120.1 kB / 475 MB, free: 8.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.1214, allocations: 27.64 kB / 475 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/0.1214, allocations: 37.7 kB / 475.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1215, allocations: 326.8 kB / 475.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-05/0.1216, allocations: 24.48 kB / 475.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.1218, allocations: 80.25 kB / 475.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.122, allocations: 87.36 kB / 475.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.122, allocations: 4 kB / 475.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002544/0.1222, allocations: 133.3 kB / 475.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.1223, allocations: 11.98 kB / 475.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1223, allocations: 4.094 kB / 475.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.1223, allocations: 0 / 475.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1224, allocations: 23.94 kB / 475.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1224, allocations: 0 / 475.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.693e-05/0.1225, allocations: 15.92 kB / 475.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.1225, allocations: 8 kB / 475.8 MB, free: 7.316 MB / 350.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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001054/0.1226, allocations: 138.2 kB / 475.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.1227, allocations: 15.81 kB / 475.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.26e-05/0.1227, allocations: 21 kB / 476 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1227, allocations: 4 kB / 476 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1227, allocations: 3.984 kB / 476 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1228, allocations: 4 kB / 476 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.1229, allocations: 213.4 kB / 476.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1229, allocations: 4 kB / 476.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/0.123, allocations: 8 kB / 476.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.123, allocations: 4.125 kB / 476.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.123, allocations: 7.984 kB / 476.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.123, allocations: 0 / 476.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.123, allocations: 0 / 476.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.1233, allocations: 173.6 kB / 476.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.1234, allocations: 88.95 kB / 476.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.1234, allocations: 7.984 kB / 476.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.436e-05/0.1235, allocations: 4 kB / 476.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.1235, allocations: 11.98 kB / 476.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.1236, allocations: 4 kB / 476.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.1237, allocations: 164.2 kB / 476.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1237, allocations: 3.938 kB / 476.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.124, allocations: 32.09 kB / 476.7 MB, free: 6.32 MB / 350.1 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0009968/0.125, allocations: 468.8 kB / 477.1 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.1252, allocations: 83.89 kB / 477.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1253, allocations: 0 / 477.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.1254, allocations: 39.92 kB / 477.3 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.1257, allocations: 61.03 kB / 477.3 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004902/0.1262, allocations: 295.9 kB / 477.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.1265, allocations: 0.7202 MB / 478.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.632e-05/0.1266, allocations: 22.05 kB / 478.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.1267, allocations: 27.42 kB / 478.4 MB, free: 4.754 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1267, allocations: 0 / 478.4 MB, free: 4.754 MB / 350.1 MB Notification: Performance of Templates: time 0.005358/0.1321, allocations: 2.631 MB / 481 MB, free: 2.148 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches