Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001714/0.001714, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.426/1.426, allocations: 222.9 MB / 242.9 MB, free: 15.2 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.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 68.55 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1075, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003557/0.1111, allocations: 1.696 MB / 471.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.1126, allocations: 0.8769 MB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.571e-05/0.1127, allocations: 3.938 kB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.1131, allocations: 39.83 kB / 472.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.1134, allocations: 47.77 kB / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.1138, allocations: 122.6 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.1139, allocations: 91.7 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1141, allocations: 8.234 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.624e-05/0.1142, allocations: 43.78 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.132e-05/0.1143, allocations: 35.78 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.1143, allocations: 8 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.1144, allocations: 35.98 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.786e-05/0.1145, allocations: 19.92 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.34e-05/0.1145, allocations: 31.8 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1147, allocations: 107.9 kB / 473.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1148, allocations: 0 / 473.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1148, allocations: 4 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1148, allocations: 3.984 kB / 473.1 MB, free: 11.18 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005414/0.1153, allocations: 402.9 kB / 473.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1154, allocations: 16.03 kB / 473.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.1154, allocations: 8.844 kB / 473.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.1157, allocations: 203.8 kB / 473.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1157, allocations: 4.312 kB / 473.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.1157, allocations: 12.11 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.1159, allocations: 57.67 kB / 473.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1159, allocations: 0 / 473.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1159, allocations: 0 / 473.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1159, allocations: 0 / 473.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.345e-05/0.116, allocations: 27.92 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.1164, allocations: 288.8 kB / 474.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.1166, allocations: 54.67 kB / 474.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.527e-05/0.1167, allocations: 20.86 kB / 474.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.1167, allocations: 3.984 kB / 474.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.1169, allocations: 67.33 kB / 474.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.117, allocations: 4 kB / 474.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005741/0.1175, allocations: 165.2 kB / 474.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.1176, allocations: 59.39 kB / 474.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.1178, allocations: 166.2 kB / 474.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.1178, allocations: 29.7 kB / 474.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.1179, allocations: 104.1 kB / 474.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.1179, allocations: 23.66 kB / 474.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.1179, allocations: 21.7 kB / 474.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1181, allocations: 326.8 kB / 475.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.738e-05/0.1181, allocations: 19.98 kB / 475.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.812e-05/0.1182, allocations: 33.7 kB / 475.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.1183, allocations: 69.64 kB / 475.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1184, allocations: 384 / 475.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001828/0.1185, allocations: 101.5 kB / 475.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1186, allocations: 4 kB / 475.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1186, allocations: 3.938 kB / 475.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1186, allocations: 4 kB / 475.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.351e-05/0.1187, allocations: 23.92 kB / 475.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1187, allocations: 0 / 475.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/0.1188, allocations: 11.94 kB / 475.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1188, allocations: 8.031 kB / 475.4 MB, free: 8.648 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 (10): * Single equations (assignments): 10 * 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.0001099/0.1189, allocations: 121.8 kB / 475.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.1189, allocations: 7.906 kB / 475.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.77e-05/0.119, allocations: 16.72 kB / 475.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.119, allocations: 192 / 475.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.119, allocations: 3.984 kB / 475.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.119, allocations: 7.875 kB / 475.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.1195, allocations: 391.3 kB / 475.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1195, allocations: 0 / 475.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.1195, allocations: 8 kB / 475.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1195, allocations: 0 / 475.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1196, allocations: 11.88 kB / 476 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.1196, allocations: 4 kB / 476 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1196, allocations: 0 / 476 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.1198, allocations: 204.2 kB / 476.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.1199, allocations: 81.02 kB / 476.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.1199, allocations: 11.94 kB / 476.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.722e-05/0.12, allocations: 0 / 476.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.12, allocations: 7.984 kB / 476.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.12, allocations: 4 kB / 476.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.1202, allocations: 136.7 kB / 476.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1202, allocations: 0 / 476.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.1205, allocations: 27.98 kB / 476.4 MB, free: 7.516 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: 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 (8): * Single equations (assignments): 6 * 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.001074/0.1215, allocations: 469.4 kB / 476.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002063/0.1218, allocations: 63.92 kB / 476.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1218, allocations: 0 / 476.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.176e-05/0.1218, allocations: 27.98 kB / 477 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.1222, allocations: 28.28 kB / 477 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/0.1227, allocations: 260.5 kB / 477.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.123, allocations: 0.7002 MB / 477.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.123, allocations: 15.44 kB / 478 MB, free: 6.086 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.123, allocations: 0 / 478 MB, free: 6.086 MB / 350.1 MB Notification: Performance of Templates: time 0.003926/0.1269, allocations: 1.868 MB / 479.8 MB, free: 4.227 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches