Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001149, allocations: 110 kB / 18.3 MB, free: 4.84 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.001136/0.001137, allocations: 199.4 kB / 19.23 MB, free: 3.914 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.406/1.406, allocations: 222.9 MB / 242.9 MB, free: 15.17 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.2091/0.2091, allocations: 44.19 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.97 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.106, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003203/0.1092, allocations: 1.89 MB / 471.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1108, allocations: 0.9938 MB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.326e-05/0.1109, allocations: 0 / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004398/0.1114, allocations: 251.4 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003304/0.1117, allocations: 187.4 kB / 473.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.1122, allocations: 179.5 kB / 473.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.1125, allocations: 255.3 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1126, allocations: 21.69 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.1128, allocations: 135.5 kB / 473.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.113, allocations: 183.4 kB / 474 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.113, allocations: 8 kB / 474 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.1132, allocations: 63.98 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.538e-05/0.1133, allocations: 67.69 kB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.64e-05/0.1134, allocations: 87.3 kB / 474.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.1137, allocations: 235.5 kB / 474.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1137, allocations: 3.938 kB / 474.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1137, allocations: 4 kB / 474.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1137, allocations: 0 / 474.5 MB, free: 9.824 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.0007155/0.1144, allocations: 0.5719 MB / 475 MB, free: 9.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.1145, allocations: 12.03 kB / 475 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/0.1145, allocations: 28.56 kB / 475.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.1149, allocations: 284 kB / 475.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.1149, allocations: 4.375 kB / 475.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.1149, allocations: 12.12 kB / 475.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.1151, allocations: 118.2 kB / 475.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1152, allocations: 0 / 475.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.1152, allocations: 0 / 475.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1152, allocations: 7.938 kB / 475.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.1153, allocations: 47.95 kB / 475.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005352/0.1159, allocations: 480.6 kB / 476 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.1163, allocations: 121.2 kB / 476.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.1164, allocations: 45.77 kB / 476.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.529e-05/0.1164, allocations: 8 kB / 476.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002787/0.1167, allocations: 123.5 kB / 476.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.1167, allocations: 0 / 476.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001271/0.118, allocations: 0.496 MB / 476.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.1181, allocations: 85.11 kB / 476.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004459/0.1185, allocations: 485.6 kB / 477.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.1186, allocations: 33.69 kB / 477.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1187, allocations: 160.5 kB / 477.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.903e-05/0.1187, allocations: 67.02 kB / 477.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.356e-05/0.1188, allocations: 45.7 kB / 477.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.119, allocations: 342.8 kB / 478 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.1191, allocations: 59.97 kB / 478 MB, free: 5.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.1192, allocations: 95.34 kB / 478.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.1195, allocations: 159.5 kB / 478.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1195, allocations: 0 / 478.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003832/0.1199, allocations: 237.1 kB / 478.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1199, allocations: 7.938 kB / 478.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1199, allocations: 4 kB / 478.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.12, allocations: 4 kB / 478.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.1201, allocations: 47.91 kB / 478.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1201, allocations: 3.938 kB / 478.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.902e-05/0.1202, allocations: 8 kB / 478.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.1202, allocations: 12 kB / 478.6 MB, free: 5.395 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.0001551/0.1204, allocations: 173.8 kB / 478.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.31e-05/0.1205, allocations: 39.45 kB / 478.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.588e-05/0.1206, allocations: 42.81 kB / 478.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.1206, allocations: 4 kB / 478.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1206, allocations: 3.938 kB / 478.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.1206, allocations: 0 / 478.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008676/0.1215, allocations: 0.7428 MB / 479.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1215, allocations: 0 / 479.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.947e-05/0.1216, allocations: 31.92 kB / 479.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1216, allocations: 4 kB / 479.6 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.1216, allocations: 8 kB / 479.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1216, allocations: 0 / 479.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.1216, allocations: 4 kB / 479.7 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004637/0.1221, allocations: 421.8 kB / 480.1 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.32e-05/0.1222, allocations: 104.7 kB / 480.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.402e-05/0.1222, allocations: 15.98 kB / 480.2 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.1224, allocations: 4 kB / 480.2 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.1224, allocations: 19.92 kB / 480.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.1224, allocations: 11.98 kB / 480.2 MB, free: 3.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003386/0.1228, allocations: 359.1 kB / 480.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1228, allocations: 0 / 480.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003612/0.1232, allocations: 51.98 kB / 480.6 MB, free: 3.25 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.00121/0.1244, allocations: 0.5247 MB / 481.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003921/0.1248, allocations: 163.8 kB / 481.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1248, allocations: 7.938 kB / 481.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.125, allocations: 71.91 kB / 481.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005533/0.1255, allocations: 64.83 kB / 481.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009694/0.1265, allocations: 0.627 MB / 482.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.1269, allocations: 0.783 MB / 482.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/0.127, allocations: 35.42 kB / 482.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.127, allocations: 0 / 482.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of Templates: time 0.006579/0.1336, allocations: 3.769 MB / 486.7 MB, free: 13.37 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches