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.001564/0.001565, allocations: 112.7 kB / 17.04 MB, free: 5.801 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.001633/0.001633, allocations: 195 kB / 17.98 MB, free: 5.016 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.651/1.651, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2121/0.2121, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 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.002369/0.002369, allocations: 69.28 kB / 384.2 MB, free: 56.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1149, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00287/0.1178, allocations: 1.786 MB / 443.8 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.119, allocations: 0.874 MB / 444.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.913e-05/0.1191, allocations: 3.938 kB / 444.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004839/0.1196, allocations: 303.3 kB / 444.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.1199, allocations: 207.4 kB / 445.1 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.1203, allocations: 143.2 kB / 445.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.1206, allocations: 235.4 kB / 445.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.621e-05/0.1206, allocations: 13.55 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.1208, allocations: 135.5 kB / 445.7 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.121, allocations: 184 kB / 445.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.121, allocations: 4 kB / 445.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.669e-05/0.1211, allocations: 51.91 kB / 445.9 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.1212, allocations: 124.6 kB / 446 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.1213, allocations: 142.8 kB / 446.2 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.1216, allocations: 358.7 kB / 446.5 MB, free: 1.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.1216, allocations: 8 kB / 446.5 MB, free: 1.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1216, allocations: 0 / 446.5 MB, free: 1.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.1216, allocations: 0 / 446.5 MB, free: 1.59 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.0008002/0.1224, allocations: 0.719 MB / 447.2 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1224, allocations: 11.89 kB / 447.2 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7e-05/0.1225, allocations: 44.38 kB / 447.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.123, allocations: 447.8 kB / 447.7 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.123, allocations: 4.375 kB / 447.7 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.1231, allocations: 8.125 kB / 447.7 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.1233, allocations: 87.3 kB / 447.8 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1233, allocations: 4 kB / 447.8 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1233, allocations: 0 / 447.8 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1233, allocations: 0 / 447.8 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.688e-05/0.1234, allocations: 31.97 kB / 447.9 MB, free: 148 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.1238, allocations: 370.4 kB / 448.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.1241, allocations: 109.2 kB / 448.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.513e-05/0.1242, allocations: 41.64 kB / 448.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.1242, allocations: 4 kB / 448.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.1244, allocations: 113 kB / 448.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.1245, allocations: 0 / 448.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004976/0.125, allocations: 197 kB / 448.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.125, allocations: 77.11 kB / 448.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009998/0.126, allocations: 1.011 MB / 449.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.1261, allocations: 33.7 kB / 449.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.1263, allocations: 224.1 kB / 450 MB, free: 13.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.1263, allocations: 27.64 kB / 450 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.1264, allocations: 29.7 kB / 450.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1266, allocations: 366.8 kB / 450.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.341e-05/0.1267, allocations: 27.98 kB / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.151e-05/0.1268, allocations: 59.36 kB / 450.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.1269, allocations: 87.91 kB / 450.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.1269, allocations: 4 kB / 450.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002877/0.1272, allocations: 172.9 kB / 450.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.1273, allocations: 9.25 kB / 450.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1273, allocations: 0 / 450.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1273, allocations: 4 kB / 450.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1274, allocations: 19.98 kB / 450.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1274, allocations: 0 / 450.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.171e-05/0.1275, allocations: 15.89 kB / 450.8 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-06/0.1276, allocations: 4 kB / 450.8 MB, free: 13 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.0001984/0.1278, allocations: 229.6 kB / 451 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.889e-05/0.1278, allocations: 55.36 kB / 451.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.88e-05/0.1279, allocations: 63.84 kB / 451.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.1279, allocations: 0 / 451.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1279, allocations: 0 / 451.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1279, allocations: 0 / 451.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.1283, allocations: 341.3 kB / 451.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1283, allocations: 0 / 451.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.496e-05/0.1283, allocations: 8 kB / 451.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1283, allocations: 3.984 kB / 451.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1283, allocations: 4 kB / 451.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.1284, allocations: 11.98 kB / 451.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1284, allocations: 0 / 451.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.1287, allocations: 197.2 kB / 451.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.1289, allocations: 140.4 kB / 451.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.1289, allocations: 0 / 451.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.231e-05/0.129, allocations: 16.11 kB / 451.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.1291, allocations: 15.92 kB / 451.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.1291, allocations: 4 kB / 451.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000756/0.1299, allocations: 0.7526 MB / 452.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1299, allocations: 0 / 452.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1301, allocations: 40 kB / 452.7 MB, free: 11.04 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.0009682/0.1311, allocations: 404.8 kB / 453.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002737/0.1314, allocations: 91.89 kB / 453.2 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1314, allocations: 0 / 453.2 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.1315, allocations: 44.3 kB / 453.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.1319, allocations: 72.36 kB / 453.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.1331, allocations: 0.8396 MB / 454.1 MB, free: 9.652 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.1335, allocations: 0.8388 MB / 455 MB, free: 8.789 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001244/0.1337, allocations: 54.94 kB / 455 MB, free: 8.734 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.039e-05/0.1337, allocations: 31.42 kB / 455 MB, free: 8.703 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1337, allocations: 0 / 455 MB, free: 8.703 MB / 334.1 MB Notification: Performance of Templates: time 0.00798/0.1417, allocations: 3.66 MB / 458.7 MB, free: 5.047 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches