Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 108.2 kB / 16.64 MB, free: 6.367 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.001026/0.001026, allocations: 194.5 kB / 17.56 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.1 MB / 223.4 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.248/0.248, allocations: 43.51 MB / 314.3 MB, free: 0.707 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 73.88 kB / 382.9 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1162, allocations: 57.79 MB / 440.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003162/0.1194, allocations: 1.84 MB / 442.5 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1208, allocations: 0.8592 MB / 443.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.121, allocations: 7.875 kB / 443.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004875/0.1215, allocations: 291.4 kB / 443.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003764/0.1219, allocations: 199.5 kB / 443.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.1223, allocations: 135.3 kB / 444 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.1226, allocations: 235.4 kB / 444.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/0.1226, allocations: 13.55 kB / 444.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.1228, allocations: 127.5 kB / 444.4 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.1229, allocations: 196 kB / 444.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.123, allocations: 8 kB / 444.6 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.1231, allocations: 39.98 kB / 444.6 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.1232, allocations: 136.5 kB / 444.7 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.1233, allocations: 146.8 kB / 444.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.1236, allocations: 271.9 kB / 445.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1236, allocations: 7.938 kB / 445.1 MB, free: 2.863 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1236, allocations: 0 / 445.1 MB, free: 2.863 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1236, allocations: 4 kB / 445.1 MB, free: 2.859 MB / 318.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.0007206/0.1244, allocations: 0.719 MB / 445.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1244, allocations: 15.89 kB / 445.9 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.769e-05/0.1245, allocations: 44.38 kB / 445.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.1249, allocations: 447.8 kB / 446.4 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.1249, allocations: 4.375 kB / 446.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.1249, allocations: 8.125 kB / 446.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.1251, allocations: 87.3 kB / 446.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1251, allocations: 0 / 446.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1251, allocations: 0 / 446.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1252, allocations: 0 / 446.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.662e-05/0.1253, allocations: 27.98 kB / 446.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.1255, allocations: 374.4 kB / 446.9 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.1258, allocations: 105.2 kB / 447 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.212e-05/0.1259, allocations: 45.64 kB / 447 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1259, allocations: 7.984 kB / 447 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.1262, allocations: 105 kB / 447.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.1262, allocations: 0 / 447.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004021/0.1266, allocations: 197 kB / 447.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.1266, allocations: 85.11 kB / 447.4 MB, free: 408 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008735/0.1275, allocations: 1.007 MB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.1276, allocations: 33.69 kB / 448.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.1277, allocations: 224.1 kB / 448.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.1278, allocations: 31.62 kB / 448.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.1279, allocations: 29.72 kB / 448.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.128, allocations: 362.8 kB / 449.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.65e-05/0.1281, allocations: 35.98 kB / 449.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-05/0.1282, allocations: 59.41 kB / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.1284, allocations: 87.86 kB / 449.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1284, allocations: 4 kB / 449.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002693/0.1287, allocations: 172.9 kB / 449.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1287, allocations: 4 kB / 449.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.1287, allocations: 3.984 kB / 449.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1287, allocations: 4 kB / 449.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1289, allocations: 23.92 kB / 449.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1289, allocations: 4 kB / 449.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.894e-05/0.129, allocations: 11.91 kB / 449.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.129, allocations: 7.984 kB / 449.5 MB, free: 14.25 MB / 334.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002104/0.1292, allocations: 233.6 kB / 449.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.034e-05/0.1293, allocations: 51.34 kB / 449.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.302e-05/0.1294, allocations: 59.84 kB / 449.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1294, allocations: 0 / 449.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1294, allocations: 4 kB / 449.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1294, allocations: 3.984 kB / 449.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.1297, allocations: 333.3 kB / 450.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1297, allocations: 0 / 450.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.1298, allocations: 8 kB / 450.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1298, allocations: 4 kB / 450.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1298, allocations: 11.98 kB / 450.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1298, allocations: 128 / 450.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1298, allocations: 4 kB / 450.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.1301, allocations: 197.3 kB / 450.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.1302, allocations: 136.4 kB / 450.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.1303, allocations: 0 / 450.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.8e-05/0.1304, allocations: 19.92 kB / 450.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.1304, allocations: 4 kB / 450.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.1305, allocations: 7.984 kB / 450.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007159/0.1312, allocations: 0.7526 MB / 451.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.873e-06/0.1312, allocations: 0 / 451.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.1315, allocations: 43.94 kB / 451.3 MB, free: 12.29 MB / 334.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0009809/0.1325, allocations: 404.4 kB / 451.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002711/0.1327, allocations: 95.89 kB / 451.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1328, allocations: 0 / 451.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.1329, allocations: 39.92 kB / 451.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.1333, allocations: 76.11 kB / 451.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.1347, allocations: 0.9778 MB / 452.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.1351, allocations: 0.831 MB / 453.7 MB, free: 9.898 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.444e-05/0.1352, allocations: 31.44 kB / 453.8 MB, free: 9.867 MB / 334.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1352, allocations: 4 kB / 453.8 MB, free: 9.863 MB / 334.1 MB Notification: Performance of Templates: time 0.009203/0.1444, allocations: 4.965 MB / 458.7 MB, free: 4.898 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches