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.0009385/0.0009384, allocations: 96.2 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000988/0.000988, allocations: 175.6 kB / 16.56 MB, free: 6.379 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.388/1.388, allocations: 205.4 MB / 222.7 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3132/0.3132, allocations: 43.54 MB / 314.5 MB, free: 8.629 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.0004742/0.0004743, allocations: 20 kB / 383.9 MB, free: 8.047 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1146, allocations: 58.84 MB / 442.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002281/0.117, allocations: 1.458 MB / 444.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.1185, allocations: 0.8123 MB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.1187, allocations: 4 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006254/0.1193, allocations: 283.4 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004466/0.1198, allocations: 191.5 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000425/0.1202, allocations: 131.7 kB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003658/0.1206, allocations: 163.7 kB / 445.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.064e-05/0.1207, allocations: 13.55 kB / 445.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.1209, allocations: 111.6 kB / 445.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.1212, allocations: 143.6 kB / 446 MB, free: 9.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.1212, allocations: 4 kB / 446 MB, free: 9.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1213, allocations: 28 kB / 446.1 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.1215, allocations: 131.6 kB / 446.2 MB, free: 9.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.328e-05/0.1216, allocations: 77.44 kB / 446.3 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.1219, allocations: 283.7 kB / 446.6 MB, free: 9.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1219, allocations: 0 / 446.6 MB, free: 9.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1219, allocations: 0 / 446.6 MB, free: 9.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.122, allocations: 0 / 446.6 MB, free: 9.262 MB / 382.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.001065/0.123, allocations: 0.6765 MB / 447.2 MB, free: 8.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.1231, allocations: 12.02 kB / 447.2 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.1232, allocations: 47.34 kB / 447.3 MB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006785/0.1239, allocations: 435 kB / 447.7 MB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.1239, allocations: 4 kB / 447.7 MB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.1239, allocations: 4 kB / 447.7 MB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.1242, allocations: 79.38 kB / 447.8 MB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1242, allocations: 3.938 kB / 447.8 MB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.1242, allocations: 3.984 kB / 447.8 MB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.1242, allocations: 7.953 kB / 447.8 MB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.1243, allocations: 31.92 kB / 447.8 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004834/0.1248, allocations: 382.3 kB / 448.2 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.1251, allocations: 105.3 kB / 448.3 MB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.1251, allocations: 0 / 448.3 MB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.1254, allocations: 113.1 kB / 448.4 MB, free: 7.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.1254, allocations: 0 / 448.4 MB, free: 7.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000475/0.1259, allocations: 189.1 kB / 448.6 MB, free: 7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.1259, allocations: 85 kB / 448.7 MB, free: 6.898 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.127, allocations: 1.042 MB / 449.7 MB, free: 5.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.1271, allocations: 33.7 kB / 449.8 MB, free: 5.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.1272, allocations: 228.1 kB / 450 MB, free: 5.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.1273, allocations: 27.64 kB / 450 MB, free: 5.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/0.1273, allocations: 4 kB / 450 MB, free: 5.547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1275, allocations: 366.8 kB / 450.4 MB, free: 5.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-05/0.1276, allocations: 27.98 kB / 450.4 MB, free: 5.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.905e-05/0.1277, allocations: 59.41 kB / 450.5 MB, free: 5.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.557e-05/0.1278, allocations: 32 kB / 450.5 MB, free: 5.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1278, allocations: 0 / 450.5 MB, free: 5.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002779/0.1281, allocations: 169.5 kB / 450.7 MB, free: 4.879 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1281, allocations: 4 kB / 450.7 MB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.1281, allocations: 4 kB / 450.7 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1281, allocations: 0 / 450.7 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1282, allocations: 24.05 kB / 450.7 MB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1283, allocations: 11.94 kB / 450.7 MB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.1284, allocations: 15.94 kB / 450.7 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1284, allocations: 4 kB / 450.7 MB, free: 4.816 MB / 382.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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002217/0.1286, allocations: 225.6 kB / 450.9 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.304e-05/0.1287, allocations: 55.34 kB / 451 MB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.031e-05/0.1288, allocations: 59.94 kB / 451.1 MB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1288, allocations: 4 kB / 451.1 MB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1288, allocations: 4 kB / 451.1 MB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1288, allocations: 7.938 kB / 451.1 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.1291, allocations: 337.5 kB / 451.4 MB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1291, allocations: 3.938 kB / 451.4 MB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.1292, allocations: 11.98 kB / 451.4 MB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1292, allocations: 0 / 451.4 MB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.1292, allocations: 0 / 451.4 MB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1292, allocations: 4 kB / 451.4 MB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1292, allocations: 0 / 451.4 MB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.1295, allocations: 222.9 kB / 451.6 MB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.1297, allocations: 136.5 kB / 451.8 MB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.1297, allocations: 8 kB / 451.8 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.1298, allocations: 7.984 kB / 451.8 MB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.1299, allocations: 7.953 kB / 451.8 MB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.1299, allocations: 7.984 kB / 451.8 MB, free: 3.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007251/0.1306, allocations: 0.7838 MB / 452.6 MB, free: 2.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1307, allocations: 0 / 452.6 MB, free: 2.848 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.1309, allocations: 43.91 kB / 452.6 MB, free: 2.805 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009018/0.1318, allocations: 415.6 kB / 453 MB, free: 2.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.1321, allocations: 79.89 kB / 453.1 MB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1321, allocations: 4 kB / 453.1 MB, free: 2.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.599e-05/0.1322, allocations: 40.05 kB / 453.2 MB, free: 2.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.1326, allocations: 66.12 kB / 453.2 MB, free: 2.246 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.1338, allocations: 0.9049 MB / 454.1 MB, free: 1.312 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.1342, allocations: 0.8468 MB / 455 MB, free: 452 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.1343, allocations: 58.94 kB / 455 MB, free: 388 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/0.1344, allocations: 27.44 kB / 455.1 MB, free: 360 kB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1344, allocations: 4 kB / 455.1 MB, free: 356 kB / 382.1 MB Notification: Performance of Templates: time 0.2072/0.3416, allocations: 3.378 MB / 458.4 MB, free: 45.95 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches