Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 110.1 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.00204/0.00204, allocations: 199.3 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.465/1.465, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2057/0.2057, allocations: 44.19 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 64.84 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1172, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.00368/0.1209, allocations: 1.716 MB / 471.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.1226, allocations: 0.8885 MB / 472.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.1227, allocations: 4 kB / 472.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000407/0.1232, allocations: 91.62 kB / 472.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.1235, allocations: 71.72 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.124, allocations: 114.9 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.1243, allocations: 111.7 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.1244, allocations: 15.98 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.1246, allocations: 51.78 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.1247, allocations: 51.77 kB / 473 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.1248, allocations: 4 kB / 473 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.125, allocations: 67.95 kB / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.252e-05/0.125, allocations: 27.86 kB / 473.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.496e-05/0.1251, allocations: 35.75 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.1254, allocations: 135.9 kB / 473.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.1255, allocations: 0 / 473.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1255, allocations: 0 / 473.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.1255, allocations: 0 / 473.3 MB, free: 10.97 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.0007914/0.1263, allocations: 422.9 kB / 473.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1264, allocations: 12.03 kB / 473.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.516e-05/0.1264, allocations: 8.844 kB / 473.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.1268, allocations: 212 kB / 473.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.1268, allocations: 8.312 kB / 473.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.1268, allocations: 8.125 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.127, allocations: 65.64 kB / 474 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.127, allocations: 0 / 474 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1271, allocations: 0 / 474 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1271, allocations: 0 / 474 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1272, allocations: 31.97 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/0.1277, allocations: 300.7 kB / 474.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.128, allocations: 66.48 kB / 474.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.262e-05/0.1281, allocations: 20.98 kB / 474.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.1281, allocations: 0 / 474.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.1284, allocations: 71.38 kB / 474.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.1284, allocations: 4 kB / 474.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008518/0.1293, allocations: 249.4 kB / 474.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.1293, allocations: 55.34 kB / 474.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/0.1297, allocations: 211.5 kB / 475 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.1297, allocations: 33.7 kB / 475 MB, free: 9.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.1298, allocations: 100.1 kB / 475.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.1298, allocations: 35.55 kB / 475.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.1299, allocations: 29.72 kB / 475.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.13, allocations: 326.8 kB / 475.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.673e-05/0.1301, allocations: 23.98 kB / 475.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.164e-05/0.1302, allocations: 45.7 kB / 475.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.1303, allocations: 85.58 kB / 475.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1304, allocations: 4 kB / 475.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002336/0.1306, allocations: 133.4 kB / 475.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1306, allocations: 4 kB / 475.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1306, allocations: 0 / 475.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1307, allocations: 4 kB / 475.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.278e-05/0.1307, allocations: 23.92 kB / 475.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1308, allocations: 3.938 kB / 475.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.163e-05/0.1308, allocations: 4 kB / 475.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.1308, allocations: 8 kB / 475.9 MB, free: 8.176 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (13): * Single equations (assignments): 13 * 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.0001955/0.131, allocations: 133.9 kB / 476 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.1311, allocations: 11.81 kB / 476 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.56e-05/0.1311, allocations: 17.41 kB / 476 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1311, allocations: 0 / 476 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.1312, allocations: 7.922 kB / 476 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1312, allocations: 0 / 476 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.1318, allocations: 456 kB / 476.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.1318, allocations: 0 / 476.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.178e-05/0.1318, allocations: 23.92 kB / 476.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1318, allocations: 0 / 476.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1319, allocations: 4 kB / 476.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1319, allocations: 0 / 476.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1319, allocations: 0 / 476.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.1322, allocations: 241 kB / 476.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.1323, allocations: 81.02 kB / 476.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.1324, allocations: 8 kB / 476.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.642e-05/0.1324, allocations: 4 kB / 476.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.1325, allocations: 11.92 kB / 476.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.1325, allocations: 8 kB / 476.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.1327, allocations: 160.2 kB / 477 MB, free: 6.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1327, allocations: 0 / 477 MB, free: 6.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.133, allocations: 35.98 kB / 477 MB, free: 6.887 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00134/0.1343, allocations: 0.5068 MB / 477.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.1346, allocations: 75.91 kB / 477.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1346, allocations: 3.938 kB / 477.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.524e-05/0.1347, allocations: 39.92 kB / 477.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.1351, allocations: 36.09 kB / 477.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007024/0.1358, allocations: 309.9 kB / 478 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.1361, allocations: 0.7116 MB / 478.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.1362, allocations: 27.42 kB / 478.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1362, allocations: 0 / 478.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of Templates: time 0.005013/0.1412, allocations: 2.189 MB / 480.9 MB, free: 3.148 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches