Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 113.4 kB / 17.86 MB, free: 5.629 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.001052/0.001052, allocations: 201.9 kB / 18.77 MB, free: 4.715 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.342/1.342, allocations: 222.9 MB / 242.4 MB, free: 15.41 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.2011/0.2011, allocations: 44.17 MB / 336.8 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 71.12 kB / 408.4 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1064, allocations: 60.82 MB / 469.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003412/0.1099, allocations: 1.942 MB / 471.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.1116, allocations: 0.9706 MB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.1117, allocations: 7.938 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003872/0.1121, allocations: 147.7 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003192/0.1125, allocations: 123.6 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004679/0.1129, allocations: 170.7 kB / 472.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.1132, allocations: 211.4 kB / 472.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1133, allocations: 29.67 kB / 472.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.1135, allocations: 95.55 kB / 472.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.1136, allocations: 131.5 kB / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.1137, allocations: 4 kB / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.1138, allocations: 59.98 kB / 473.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1139, allocations: 55.81 kB / 473.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.97e-05/0.114, allocations: 75.42 kB / 473.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.1142, allocations: 155.9 kB / 473.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1143, allocations: 7.938 kB / 473.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1143, allocations: 3.938 kB / 473.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1143, allocations: 0 / 473.3 MB, free: 10.61 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006973/0.115, allocations: 0.5216 MB / 473.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.115, allocations: 12.03 kB / 473.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.237e-05/0.1151, allocations: 24.66 kB / 473.9 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.1154, allocations: 271.5 kB / 474.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.1154, allocations: 4.375 kB / 474.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.1154, allocations: 12.12 kB / 474.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.1157, allocations: 103.3 kB / 474.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1157, allocations: 4 kB / 474.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.1157, allocations: 4 kB / 474.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1157, allocations: 4 kB / 474.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.1159, allocations: 51.84 kB / 474.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.1164, allocations: 460.7 kB / 474.8 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.1168, allocations: 137.1 kB / 474.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.973e-05/0.1169, allocations: 37.83 kB / 475 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.117, allocations: 4 kB / 475 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002958/0.1173, allocations: 127.4 kB / 475.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.1173, allocations: 0 / 475.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001314/0.1186, allocations: 484.6 kB / 475.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.1187, allocations: 81.11 kB / 475.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/0.119, allocations: 351 kB / 476 MB, free: 7.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1191, allocations: 33.64 kB / 476 MB, free: 7.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.74e-05/0.1192, allocations: 152.5 kB / 476.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.922e-05/0.1192, allocations: 67.08 kB / 476.2 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-05/0.1193, allocations: 45.7 kB / 476.3 MB, free: 7.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1194, allocations: 338.8 kB / 476.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.1196, allocations: 51.97 kB / 476.7 MB, free: 7.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.1197, allocations: 99.28 kB / 476.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.12, allocations: 159.3 kB / 476.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.12, allocations: 0 / 476.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003971/0.1204, allocations: 229.3 kB / 477.1 MB, free: 6.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1204, allocations: 7.938 kB / 477.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1205, allocations: 0 / 477.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1205, allocations: 12.05 kB / 477.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.1206, allocations: 47.92 kB / 477.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1206, allocations: 0 / 477.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.021e-05/0.1207, allocations: 8 kB / 477.2 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.1208, allocations: 8 kB / 477.2 MB, free: 6.445 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.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.000153/0.1209, allocations: 162.3 kB / 477.4 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.121, allocations: 31.56 kB / 477.4 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.344e-05/0.121, allocations: 41.67 kB / 477.5 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1211, allocations: 4 kB / 477.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.1211, allocations: 0 / 477.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1211, allocations: 11.92 kB / 477.5 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009406/0.122, allocations: 0.7155 MB / 478.2 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.122, allocations: 0 / 478.2 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.179e-05/0.1221, allocations: 27.98 kB / 478.2 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1221, allocations: 4 kB / 478.2 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.1222, allocations: 11.98 kB / 478.2 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1222, allocations: 8 kB / 478.2 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1222, allocations: 3.938 kB / 478.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.1227, allocations: 409.9 kB / 478.6 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/0.1227, allocations: 100.8 kB / 478.7 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.1228, allocations: 8 kB / 478.7 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.1229, allocations: 8 kB / 478.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.123, allocations: 27.84 kB / 478.8 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.123, allocations: 12 kB / 478.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002379/0.1233, allocations: 261.9 kB / 479.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1233, allocations: 0 / 479.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003616/0.1236, allocations: 55.89 kB / 479.1 MB, free: 4.438 MB / 350.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.001171/0.1248, allocations: 0.5078 MB / 479.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000369/0.1252, allocations: 163.8 kB / 479.8 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1252, allocations: 0 / 479.8 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.1254, allocations: 80.09 kB / 479.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006064/0.126, allocations: 66.72 kB / 479.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008453/0.1268, allocations: 0.5708 MB / 480.5 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.1272, allocations: 0.7638 MB / 481.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/0.1273, allocations: 35.42 kB / 481.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1273, allocations: 3.938 kB / 481.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of Templates: time 0.005616/0.1329, allocations: 3.487 MB / 484.8 MB, free: 14.91 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches