Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001417/0.001417, allocations: 177.1 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.915/1.915, allocations: 205.4 MB / 222.6 MB, free: 9.102 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007752/0.0007754, allocations: 90.31 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3296/0.3296, allocations: 43.56 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.000384, allocations: 12 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1235, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002157/0.1257, allocations: 1.361 MB / 491.6 MB, free: 9.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.127, allocations: 0.72 MB / 492.3 MB, free: 9.113 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.244e-05/0.1271, allocations: 4 kB / 492.3 MB, free: 9.109 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.1274, allocations: 55.84 kB / 492.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.1277, allocations: 55.81 kB / 492.4 MB, free: 9 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.1279, allocations: 79.8 kB / 492.5 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.1281, allocations: 87.67 kB / 492.6 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.77e-05/0.1282, allocations: 7.984 kB / 492.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.1283, allocations: 35.84 kB / 492.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1284, allocations: 43.77 kB / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1284, allocations: 4 kB / 492.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.379e-05/0.1285, allocations: 24 kB / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.558e-05/0.1286, allocations: 19.92 kB / 492.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.451e-05/0.1286, allocations: 33.7 kB / 492.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.1288, allocations: 80.03 kB / 492.8 MB, free: 8.586 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1288, allocations: 0 / 492.8 MB, free: 8.586 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1288, allocations: 4 kB / 492.9 MB, free: 8.582 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1288, allocations: 0 / 492.9 MB, free: 8.582 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005063/0.1294, allocations: 394.8 kB / 493.2 MB, free: 8.148 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1294, allocations: 12.03 kB / 493.2 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.1295, allocations: 11.91 kB / 493.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.1297, allocations: 194.9 kB / 493.4 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1297, allocations: 4 kB / 493.5 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.1297, allocations: 0 / 493.5 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1299, allocations: 45.67 kB / 493.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1299, allocations: 4 kB / 493.5 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1299, allocations: 4 kB / 493.5 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1299, allocations: 3.953 kB / 493.5 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.725e-05/0.13, allocations: 15.92 kB / 493.5 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.1302, allocations: 185.6 kB / 493.7 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.1304, allocations: 50.62 kB / 493.8 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.708e-05/0.1305, allocations: 20.84 kB / 493.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.1305, allocations: 7.922 kB / 493.8 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/0.1307, allocations: 71.33 kB / 493.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/0.1307, allocations: 0 / 493.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002852/0.131, allocations: 89.58 kB / 493.9 MB, free: 7.316 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.1311, allocations: 59.36 kB / 494 MB, free: 7.246 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.1313, allocations: 178.2 kB / 494.2 MB, free: 7.059 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1313, allocations: 25.7 kB / 494.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.1313, allocations: 108.1 kB / 494.3 MB, free: 6.918 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.1314, allocations: 7.812 kB / 494.3 MB, free: 6.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.1314, allocations: 0 / 494.3 MB, free: 6.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1315, allocations: 330.8 kB / 494.6 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.966e-05/0.1316, allocations: 12 kB / 494.6 MB, free: 6.566 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.418e-05/0.1316, allocations: 29.64 kB / 494.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.257e-05/0.1317, allocations: 16 kB / 494.7 MB, free: 6.516 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1317, allocations: 0 / 494.7 MB, free: 6.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001692/0.1319, allocations: 85.52 kB / 494.8 MB, free: 6.426 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1319, allocations: 8.031 kB / 494.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1319, allocations: 0 / 494.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1319, allocations: 4 kB / 494.8 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.46e-05/0.132, allocations: 11.94 kB / 494.8 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.132, allocations: 3.953 kB / 494.8 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.1321, allocations: 11.89 kB / 494.8 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.1321, allocations: 320 / 494.8 MB, free: 6.387 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001023/0.1322, allocations: 129.6 kB / 494.9 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.1322, allocations: 7.906 kB / 494.9 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.393e-05/0.1323, allocations: 24.28 kB / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1323, allocations: 0 / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1323, allocations: 4 kB / 495 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1323, allocations: 3.953 kB / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.1325, allocations: 181.6 kB / 495.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1325, allocations: 0 / 495.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.1325, allocations: 4 kB / 495.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1325, allocations: 3.984 kB / 495.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.1325, allocations: 0 / 495.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1325, allocations: 0 / 495.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1325, allocations: 0 / 495.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.1327, allocations: 124.8 kB / 495.3 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.973e-05/0.1328, allocations: 88.86 kB / 495.4 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.1328, allocations: 4 kB / 495.4 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.061e-05/0.1329, allocations: 3.984 kB / 495.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.1329, allocations: 8 kB / 495.4 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.1329, allocations: 0 / 495.4 MB, free: 5.723 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001123/0.133, allocations: 148 kB / 495.5 MB, free: 5.578 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.133, allocations: 0 / 495.5 MB, free: 5.578 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002222/0.1333, allocations: 16 kB / 495.5 MB, free: 5.562 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000835/0.1341, allocations: 409.1 kB / 495.9 MB, free: 5.203 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001509/0.1343, allocations: 35.92 kB / 496 MB, free: 5.168 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1343, allocations: 0 / 496 MB, free: 5.168 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.878e-05/0.1344, allocations: 19.98 kB / 496 MB, free: 5.148 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.1346, allocations: 35.94 kB / 496 MB, free: 5.113 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.1351, allocations: 234.9 kB / 496.3 MB, free: 4.848 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.1354, allocations: 0.7004 MB / 497 MB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.1354, allocations: 23.36 kB / 497 MB, free: 4.098 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1354, allocations: 0 / 497 MB, free: 4.098 MB / 378.7 MB Notification: Performance of Templates: time 0.003293/0.1387, allocations: 1.66 MB / 498.7 MB, free: 2.441 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches