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.001074/0.001074, allocations: 105.3 kB / 17.98 MB, free: 5.219 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.001057/0.001057, allocations: 193.3 kB / 18.9 MB, free: 4.309 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.305/1.305, allocations: 222.9 MB / 242.6 MB, free: 15.43 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.1994/0.1994, allocations: 44.17 MB / 336.9 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 66.33 kB / 408.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1082, allocations: 60.82 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003153/0.1114, allocations: 1.94 MB / 471.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1129, allocations: 0.9784 MB / 472.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.494e-05/0.113, allocations: 3.938 kB / 472.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004708/0.1135, allocations: 247.4 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.1138, allocations: 175.5 kB / 472.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004145/0.1142, allocations: 170.5 kB / 472.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000271/0.1145, allocations: 243.3 kB / 473.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1147, allocations: 33.66 kB / 473.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.1148, allocations: 135.5 kB / 473.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.115, allocations: 179.5 kB / 473.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.1151, allocations: 8 kB / 473.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1152, allocations: 71.91 kB / 473.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.1153, allocations: 63.75 kB / 473.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.433e-05/0.1154, allocations: 91.3 kB / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.1156, allocations: 180 kB / 473.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1156, allocations: 8 kB / 473.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1157, allocations: 0 / 473.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.1157, allocations: 0 / 473.9 MB, free: 10.21 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.0007208/0.1164, allocations: 0.5719 MB / 474.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.1164, allocations: 8.031 kB / 474.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.056e-05/0.1165, allocations: 28.56 kB / 474.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.1168, allocations: 284 kB / 474.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1169, allocations: 4.375 kB / 474.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.1169, allocations: 16.12 kB / 474.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.1171, allocations: 114.7 kB / 474.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1172, allocations: 0 / 474.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1172, allocations: 0 / 474.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1172, allocations: 4 kB / 474.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.1173, allocations: 47.95 kB / 474.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/0.1179, allocations: 484.6 kB / 475.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.1183, allocations: 125.1 kB / 475.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.1184, allocations: 45.83 kB / 475.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.1184, allocations: 8 kB / 475.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002936/0.1187, allocations: 121 kB / 475.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.1187, allocations: 3.938 kB / 475.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001267/0.12, allocations: 0.5 MB / 476.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.1201, allocations: 81.11 kB / 476.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.1205, allocations: 485.6 kB / 476.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.1205, allocations: 29.7 kB / 476.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.1207, allocations: 164.5 kB / 477 MB, free: 6.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.736e-05/0.1207, allocations: 67.09 kB / 477 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-05/0.1208, allocations: 45.7 kB / 477.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1209, allocations: 346.8 kB / 477.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.1211, allocations: 55.97 kB / 477.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.1212, allocations: 95.28 kB / 477.5 MB, free: 6.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.1215, allocations: 167.2 kB / 477.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1216, allocations: 0 / 477.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000371/0.1219, allocations: 233.4 kB / 477.9 MB, free: 5.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.122, allocations: 7.938 kB / 477.9 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.122, allocations: 4 kB / 478 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.122, allocations: 0 / 478 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.1221, allocations: 47.91 kB / 478 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1221, allocations: 0 / 478 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.154e-05/0.1222, allocations: 8.062 kB / 478 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.1223, allocations: 16 kB / 478 MB, free: 5.773 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.0001566/0.1224, allocations: 182.2 kB / 478.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.1225, allocations: 39.47 kB / 478.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.48e-05/0.1226, allocations: 39.75 kB / 478.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.1226, allocations: 4 kB / 478.3 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1226, allocations: 0 / 478.3 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1226, allocations: 0 / 478.3 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008572/0.1234, allocations: 0.7389 MB / 479 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1235, allocations: 0 / 479 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.323e-05/0.1235, allocations: 31.92 kB / 479.1 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.1236, allocations: 7.938 kB / 479.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.1236, allocations: 8.125 kB / 479.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1236, allocations: 3.984 kB / 479.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1236, allocations: 8 kB / 479.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004514/0.1241, allocations: 427.2 kB / 479.5 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-05/0.1241, allocations: 108.7 kB / 479.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.1242, allocations: 8 kB / 479.6 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.1243, allocations: 4.188 kB / 479.6 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.1244, allocations: 27.84 kB / 479.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.1244, allocations: 11.94 kB / 479.7 MB, free: 4.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003381/0.1248, allocations: 363.1 kB / 480 MB, free: 3.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1248, allocations: 4 kB / 480 MB, free: 3.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003523/0.1251, allocations: 48 kB / 480.1 MB, free: 3.613 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.001152/0.1263, allocations: 0.5101 MB / 480.6 MB, free: 3.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000345/0.1266, allocations: 167.8 kB / 480.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1266, allocations: 0 / 480.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.1268, allocations: 80.22 kB / 480.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000546/0.1274, allocations: 68.7 kB / 480.9 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009122/0.1283, allocations: 0.6934 MB / 481.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.1287, allocations: 0.7831 MB / 482.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.1287, allocations: 31.42 kB / 482.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1287, allocations: 0 / 482.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of Templates: time 0.005899/0.1347, allocations: 3.765 MB / 486.1 MB, free: 13.67 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