Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007872/0.0007872, allocations: 97.92 kB / 18.01 MB, free: 5.738 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.0008719/0.0008721, allocations: 179.8 kB / 18.91 MB, free: 4.871 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.322/1.322, allocations: 223.3 MB / 242.9 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2065/0.2065, allocations: 44.25 MB / 338.3 MB, free: 2.625 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 12 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1226, allocations: 61.93 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002317/0.1249, allocations: 1.618 MB / 474.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.1265, allocations: 0.881 MB / 475.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.1266, allocations: 7.938 kB / 475.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.1269, allocations: 35.83 kB / 475.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.1272, allocations: 47.83 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.1276, allocations: 114.6 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.1278, allocations: 131.6 kB / 475.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1279, allocations: 21.48 kB / 475.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.128, allocations: 51.66 kB / 475.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.283e-05/0.1281, allocations: 43.72 kB / 475.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.1282, allocations: 8 kB / 475.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.1283, allocations: 39.98 kB / 475.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.1284, allocations: 23.92 kB / 475.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.994e-05/0.1284, allocations: 73.36 kB / 476 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.1287, allocations: 107.9 kB / 476.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1287, allocations: 0 / 476.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1287, allocations: 0 / 476.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.1287, allocations: 0 / 476.1 MB, free: 10.09 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006171/0.1293, allocations: 466.9 kB / 476.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1294, allocations: 8.031 kB / 476.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.1294, allocations: 16.75 kB / 476.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.1297, allocations: 223.9 kB / 476.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.1297, allocations: 8.375 kB / 476.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.1298, allocations: 8.125 kB / 476.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.13, allocations: 112.2 kB / 476.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.13, allocations: 0 / 476.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1301, allocations: 0 / 476.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1301, allocations: 4 kB / 476.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.1302, allocations: 51.91 kB / 477 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005976/0.1308, allocations: 0.5087 MB / 477.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.1312, allocations: 94.66 kB / 477.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.1313, allocations: 36.84 kB / 477.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.1313, allocations: 0 / 477.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.1316, allocations: 95.23 kB / 477.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.542e-06/0.1316, allocations: 0 / 477.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004169/0.132, allocations: 157.3 kB / 477.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1321, allocations: 59.34 kB / 477.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.1323, allocations: 187.5 kB / 478.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1323, allocations: 25.7 kB / 478.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.532e-05/0.1324, allocations: 112 kB / 478.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.1324, allocations: 31.61 kB / 478.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.1324, allocations: 17.72 kB / 478.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1325, allocations: 326.8 kB / 478.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.813e-05/0.1327, allocations: 35.97 kB / 478.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.1328, allocations: 56.28 kB / 478.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.133, allocations: 116.1 kB / 478.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.133, allocations: 0 / 478.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002902/0.1333, allocations: 137.4 kB / 479 MB, free: 6.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1333, allocations: 4 kB / 479 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1333, allocations: 0 / 479 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1334, allocations: 4 kB / 479 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1335, allocations: 31.92 kB / 479 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1335, allocations: 0 / 479 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.684e-05/0.1336, allocations: 19.97 kB / 479 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1336, allocations: 8 kB / 479 MB, free: 6.898 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001084/0.1337, allocations: 132.7 kB / 479.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.1337, allocations: 19.8 kB / 479.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.352e-05/0.1338, allocations: 13.41 kB / 479.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1338, allocations: 3.938 kB / 479.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1338, allocations: 3.984 kB / 479.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1338, allocations: 3.938 kB / 479.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.134, allocations: 205.6 kB / 479.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.134, allocations: 0 / 479.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.796e-05/0.1341, allocations: 16 kB / 479.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1341, allocations: 0 / 479.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.1341, allocations: 8 kB / 479.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1342, allocations: 7.922 kB / 479.4 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1342, allocations: 0 / 479.4 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.1345, allocations: 184.8 kB / 479.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.1346, allocations: 96.83 kB / 479.7 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.1346, allocations: 15.92 kB / 479.7 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.1347, allocations: 7.938 kB / 479.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.1348, allocations: 7.984 kB / 479.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.1348, allocations: 4 kB / 479.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.1349, allocations: 137.2 kB / 479.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1349, allocations: 64 / 479.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.1352, allocations: 28.12 kB / 479.9 MB, free: 5.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000965/0.1361, allocations: 409.3 kB / 480.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.1364, allocations: 83.89 kB / 480.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1364, allocations: 0 / 480.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.1365, allocations: 44.17 kB / 480.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.1369, allocations: 31.97 kB / 480.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005527/0.1374, allocations: 335.9 kB / 480.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.1377, allocations: 0.7048 MB / 481.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.1378, allocations: 27.36 kB / 481.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1378, allocations: 0 / 481.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of Templates: time 0.004216/0.142, allocations: 2.141 MB / 483.7 MB, free: 2.27 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches