Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001404, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001658/0.001658, allocations: 184.1 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2695/0.2695, allocations: 44.19 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 66.58 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1375, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003228/0.1408, allocations: 1.788 MB / 472.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.1424, allocations: 0.9588 MB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.776e-05/0.1425, allocations: 7.938 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005611/0.1431, allocations: 295.3 kB / 473.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003397/0.1434, allocations: 203.4 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.1438, allocations: 170.4 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.1441, allocations: 239.4 kB / 474.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.361e-05/0.1442, allocations: 13.55 kB / 474.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.1443, allocations: 131.5 kB / 474.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002928/0.1446, allocations: 192 kB / 474.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.1447, allocations: 4 kB / 474.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1448, allocations: 47.98 kB / 474.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.1449, allocations: 128.5 kB / 474.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.145, allocations: 138.8 kB / 475 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.1455, allocations: 358.7 kB / 475.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1455, allocations: 4 kB / 475.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1455, allocations: 0 / 475.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1455, allocations: 0 / 475.4 MB, free: 8.98 MB / 350.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.001024/0.1465, allocations: 0.7191 MB / 476.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1466, allocations: 8.031 kB / 476.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.479e-05/0.1467, allocations: 48.28 kB / 476.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006259/0.1473, allocations: 443.9 kB / 476.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1473, allocations: 4.375 kB / 476.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1473, allocations: 8.062 kB / 476.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.1475, allocations: 91.36 kB / 476.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1476, allocations: 0 / 476.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1476, allocations: 0 / 476.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.1476, allocations: 0 / 476.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1477, allocations: 31.92 kB / 476.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.1481, allocations: 370.3 kB / 477.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.1484, allocations: 109.2 kB / 477.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.1486, allocations: 45.64 kB / 477.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1486, allocations: 7.969 kB / 477.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.1488, allocations: 113 kB / 477.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.946e-06/0.1489, allocations: 3.984 kB / 477.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004783/0.1493, allocations: 196.9 kB / 477.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.1494, allocations: 77.11 kB / 477.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.1506, allocations: 1.003 MB / 478.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.1507, allocations: 33.7 kB / 478.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.1509, allocations: 236.1 kB / 478.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.264e-05/0.151, allocations: 23.7 kB / 478.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.151, allocations: 25.72 kB / 478.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.1512, allocations: 366.8 kB / 479.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.054e-05/0.1513, allocations: 27.98 kB / 479.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.114e-05/0.1514, allocations: 55.41 kB / 479.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.1516, allocations: 91.36 kB / 479.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1516, allocations: 0 / 479.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002831/0.1519, allocations: 173.5 kB / 479.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.152, allocations: 4 kB / 479.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.152, allocations: 0 / 479.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.152, allocations: 4.062 kB / 479.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1521, allocations: 27.92 kB / 479.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1521, allocations: 0 / 479.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.801e-05/0.1522, allocations: 19.94 kB / 479.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1523, allocations: 7.984 kB / 479.7 MB, free: 4.371 MB / 350.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.1525, allocations: 217.7 kB / 479.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-05/0.1525, allocations: 47.34 kB / 479.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.678e-05/0.1526, allocations: 67.78 kB / 480 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1526, allocations: 0 / 480 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1527, allocations: 7.938 kB / 480 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.1527, allocations: 4 kB / 480 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.153, allocations: 337.4 kB / 480.3 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.153, allocations: 0 / 480.3 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.412e-05/0.153, allocations: 8 kB / 480.3 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.153, allocations: 0 / 480.3 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.153, allocations: 3.984 kB / 480.3 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.1531, allocations: 4 kB / 480.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1531, allocations: 0 / 480.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.1534, allocations: 205.2 kB / 480.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.1536, allocations: 140.5 kB / 480.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.1536, allocations: 0 / 480.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.886e-05/0.1537, allocations: 11.98 kB / 480.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.1537, allocations: 4 kB / 480.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.1538, allocations: 7.984 kB / 480.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007435/0.1545, allocations: 0.7526 MB / 481.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1545, allocations: 4 kB / 481.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.1548, allocations: 44 kB / 481.5 MB, free: 2.426 MB / 350.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.0009912/0.1558, allocations: 414.4 kB / 481.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.1561, allocations: 83.89 kB / 482 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1561, allocations: 0 / 482 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.1562, allocations: 43.92 kB / 482 MB, free: 2.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.1566, allocations: 79.47 kB / 482.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.1579, allocations: 0.8313 MB / 482.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.1583, allocations: 0.8388 MB / 483.8 MB, free: 260 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.1584, allocations: 63.44 kB / 483.9 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.902e-05/0.1585, allocations: 27.44 kB / 483.9 MB, free: 168 kB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1585, allocations: 0 / 483.9 MB, free: 168 kB / 350.1 MB Notification: Performance of Templates: time 0.008016/0.1666, allocations: 3.664 MB / 487.5 MB, free: 12.52 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches