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.00148/0.00148, allocations: 103.9 kB / 16.27 MB, free: 6.41 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.001643/0.001643, allocations: 188.6 kB / 17.19 MB, free: 5.949 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.775/1.775, allocations: 205.1 MB / 223.1 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.2351/0.2351, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.002468/0.002468, allocations: 77.95 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1344, allocations: 57.78 MB / 440.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003191/0.1377, allocations: 1.792 MB / 442.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.1389, allocations: 0.8724 MB / 443.2 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.491e-05/0.139, allocations: 0 / 443.2 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004278/0.1394, allocations: 311.3 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.1397, allocations: 211.3 kB / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.14, allocations: 143.3 kB / 443.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.1402, allocations: 243.4 kB / 444.1 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.64e-05/0.1403, allocations: 13.55 kB / 444.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.1404, allocations: 119.6 kB / 444.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.1406, allocations: 195.5 kB / 444.4 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.1406, allocations: 4 kB / 444.4 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.112e-05/0.1407, allocations: 47.98 kB / 444.4 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.175e-05/0.1408, allocations: 131.6 kB / 444.6 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.194e-05/0.1409, allocations: 146.7 kB / 444.7 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.1412, allocations: 363 kB / 445.1 MB, free: 2.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1412, allocations: 0 / 445.1 MB, free: 2.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1412, allocations: 4 kB / 445.1 MB, free: 2.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1412, allocations: 0 / 445.1 MB, free: 2.336 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.0006732/0.1419, allocations: 0.7307 MB / 445.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.1419, allocations: 11.89 kB / 445.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.63e-05/0.142, allocations: 44.38 kB / 445.9 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.1424, allocations: 459.7 kB / 446.3 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1424, allocations: 384 / 446.3 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.1424, allocations: 12.12 kB / 446.3 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.1426, allocations: 83.36 kB / 446.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1426, allocations: 0 / 446.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1426, allocations: 7.938 kB / 446.4 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1426, allocations: 4 kB / 446.4 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.067e-05/0.1427, allocations: 31.91 kB / 446.4 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000266/0.143, allocations: 370.4 kB / 446.8 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.1432, allocations: 109.2 kB / 446.9 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.711e-05/0.1433, allocations: 41.64 kB / 447 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.1433, allocations: 4 kB / 447 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.1435, allocations: 113 kB / 447.1 MB, free: 148 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.1436, allocations: 4 kB / 447.1 MB, free: 144 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004329/0.144, allocations: 193.4 kB / 447.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.1441, allocations: 89.05 kB / 447.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009459/0.145, allocations: 1.03 MB / 448.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.145, allocations: 33.7 kB / 448.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.1452, allocations: 232.1 kB / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.1452, allocations: 23.66 kB / 448.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.1453, allocations: 33.7 kB / 448.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1455, allocations: 366.8 kB / 449.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.971e-05/0.1456, allocations: 27.98 kB / 449.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.1457, allocations: 59.41 kB / 449.1 MB, free: 14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.1459, allocations: 87.36 kB / 449.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1459, allocations: 0 / 449.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002884/0.1462, allocations: 168.9 kB / 449.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1462, allocations: 9.312 kB / 449.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1462, allocations: 4 kB / 449.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1463, allocations: 0 / 449.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1464, allocations: 27.92 kB / 449.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1464, allocations: 4 kB / 449.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.895e-05/0.1465, allocations: 7.938 kB / 449.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1465, allocations: 4 kB / 449.4 MB, free: 13.68 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.0002187/0.1467, allocations: 229.6 kB / 449.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.1468, allocations: 47.34 kB / 449.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.48e-05/0.1469, allocations: 71.88 kB / 449.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1469, allocations: 4 kB / 449.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1469, allocations: 0 / 449.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1469, allocations: 0 / 449.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.1472, allocations: 349.5 kB / 450.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1472, allocations: 7.938 kB / 450.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.1473, allocations: 4 kB / 450.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1473, allocations: 4 kB / 450.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.1473, allocations: 7.984 kB / 450.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1473, allocations: 0 / 450.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1473, allocations: 11.98 kB / 450.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.1476, allocations: 193.3 kB / 450.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.1478, allocations: 140.4 kB / 450.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.1478, allocations: 0 / 450.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.212e-05/0.1479, allocations: 11.98 kB / 450.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.148, allocations: 7.984 kB / 450.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.148, allocations: 8 kB / 450.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007174/0.1487, allocations: 0.7682 MB / 451.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1487, allocations: 0 / 451.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.149, allocations: 47.98 kB / 451.3 MB, free: 11.69 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.0008911/0.1499, allocations: 422.9 kB / 451.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.1501, allocations: 87.89 kB / 451.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.1501, allocations: 4.125 kB / 451.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.1502, allocations: 39.86 kB / 451.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.1506, allocations: 72.23 kB / 451.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.1517, allocations: 0.8667 MB / 452.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.1521, allocations: 0.8388 MB / 453.7 MB, free: 9.391 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.1522, allocations: 54.94 kB / 453.7 MB, free: 9.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.1523, allocations: 35.44 kB / 453.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1523, allocations: 0 / 453.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of Templates: time 0.007131/0.1594, allocations: 3.709 MB / 457.5 MB, free: 5.602 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/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