Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001203, allocations: 102.1 kB / 16.93 MB, free: 5.781 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.001338/0.001338, allocations: 191.6 kB / 17.86 MB, free: 5.156 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.537/1.537, allocations: 205.1 MB / 223.7 MB, free: 12.32 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.2193/0.2193, allocations: 43.52 MB / 314.6 MB, free: 0.5391 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.001721/0.001721, allocations: 70.41 kB / 383.4 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1113, allocations: 57.79 MB / 441.2 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003269/0.1146, allocations: 1.791 MB / 443 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.1161, allocations: 0.8663 MB / 443.8 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.1162, allocations: 3.938 kB / 443.9 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005097/0.1168, allocations: 311.3 kB / 444.2 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.1172, allocations: 215.3 kB / 444.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.1176, allocations: 139.4 kB / 444.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000298/0.1179, allocations: 235.4 kB / 444.7 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.22e-05/0.118, allocations: 21.53 kB / 444.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.1182, allocations: 127.6 kB / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.1184, allocations: 195.5 kB / 445.1 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.1184, allocations: 8 kB / 445.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.1185, allocations: 43.98 kB / 445.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.1187, allocations: 127.6 kB / 445.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.1188, allocations: 154.7 kB / 445.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.1192, allocations: 351 kB / 445.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1192, allocations: 0 / 445.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1192, allocations: 0 / 445.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.1192, allocations: 4 kB / 445.7 MB, free: 2.352 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.0009011/0.1201, allocations: 0.7346 MB / 446.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.1202, allocations: 11.89 kB / 446.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.1203, allocations: 52.31 kB / 446.5 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.1208, allocations: 447.8 kB / 447 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1208, allocations: 4.375 kB / 447 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.1208, allocations: 4.125 kB / 447 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.121, allocations: 87.36 kB / 447.1 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1211, allocations: 4 kB / 447.1 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.1211, allocations: 0 / 447.1 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1211, allocations: 3.938 kB / 447.1 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.1212, allocations: 35.91 kB / 447.1 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.1216, allocations: 374.4 kB / 447.5 MB, free: 472 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.1218, allocations: 109.1 kB / 447.6 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.898e-05/0.1219, allocations: 41.64 kB / 447.6 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.1219, allocations: 4 kB / 447.6 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.1222, allocations: 113 kB / 447.7 MB, free: 160 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.1222, allocations: 0 / 447.7 MB, free: 160 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004915/0.1227, allocations: 197.4 kB / 447.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.1228, allocations: 81.05 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.1239, allocations: 1.034 MB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1239, allocations: 29.7 kB / 449.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.1241, allocations: 236.1 kB / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/0.1241, allocations: 31.64 kB / 449.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.1242, allocations: 29.7 kB / 449.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1244, allocations: 362.8 kB / 449.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.213e-05/0.1244, allocations: 27.98 kB / 449.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.1246, allocations: 59.41 kB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.1247, allocations: 91.36 kB / 449.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1248, allocations: 0 / 449.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003119/0.1251, allocations: 168.9 kB / 450.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.1251, allocations: 8 kB / 450.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1251, allocations: 4.047 kB / 450.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.1251, allocations: 4 kB / 450.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.1253, allocations: 27.92 kB / 450.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1253, allocations: 0 / 450.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.561e-05/0.1254, allocations: 11.94 kB / 450.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.1254, allocations: 4 kB / 450.1 MB, free: 13.69 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.0002132/0.1256, allocations: 225.6 kB / 450.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.23e-05/0.1257, allocations: 59.28 kB / 450.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.674e-05/0.1258, allocations: 56 kB / 450.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1258, allocations: 8 kB / 450.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1258, allocations: 0 / 450.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1258, allocations: 192 / 450.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.1261, allocations: 349.3 kB / 450.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1262, allocations: 0 / 450.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.1262, allocations: 11.94 kB / 450.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1262, allocations: 0 / 450.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1262, allocations: 3.984 kB / 450.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1262, allocations: 7.938 kB / 450.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1262, allocations: 0 / 450.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.1266, allocations: 205.3 kB / 451 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.1267, allocations: 136.4 kB / 451.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.1268, allocations: 4 kB / 451.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.1269, allocations: 3.984 kB / 451.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.1269, allocations: 11.98 kB / 451.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.1269, allocations: 8 kB / 451.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007835/0.1277, allocations: 0.7682 MB / 452 MB, free: 11.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1277, allocations: 0 / 452 MB, free: 11.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.128, allocations: 47.98 kB / 452 MB, free: 11.7 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.0009557/0.129, allocations: 429.1 kB / 452.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.1293, allocations: 87.89 kB / 452.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1293, allocations: 0 / 452.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.1294, allocations: 44.05 kB / 452.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.1298, allocations: 76.17 kB / 452.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.1311, allocations: 0.9113 MB / 453.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.1315, allocations: 0.8388 MB / 454.4 MB, free: 9.344 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.186e-05/0.1316, allocations: 31.44 kB / 454.4 MB, free: 9.312 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1316, allocations: 0 / 454.4 MB, free: 9.312 MB / 334.1 MB Notification: Performance of Templates: time 0.008146/0.1397, allocations: 5.057 MB / 459.5 MB, free: 4.25 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches