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.001565/0.001571, allocations: 188.6 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.00115/0.00115, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.299/0.299, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006529/0.000653, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1264, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002564/0.129, allocations: 1.344 MB / 491.6 MB, free: 7.98 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.1308, allocations: 0.715 MB / 492.3 MB, free: 7.258 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.244e-05/0.131, allocations: 3.938 kB / 492.3 MB, free: 7.254 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.1313, allocations: 55.8 kB / 492.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.1316, allocations: 55.86 kB / 492.4 MB, free: 7.145 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.132, allocations: 75.78 kB / 492.5 MB, free: 7.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.1322, allocations: 59.86 kB / 492.5 MB, free: 7.012 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.831e-05/0.1322, allocations: 11.98 kB / 492.5 MB, free: 7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.1324, allocations: 43.78 kB / 492.6 MB, free: 6.957 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.1325, allocations: 27.91 kB / 492.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.1325, allocations: 4 kB / 492.6 MB, free: 6.926 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1326, allocations: 23.92 kB / 492.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5e-05/0.1327, allocations: 15.98 kB / 492.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.1328, allocations: 41.58 kB / 492.7 MB, free: 6.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.133, allocations: 72.11 kB / 492.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.133, allocations: 0 / 492.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.133, allocations: 4 kB / 492.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.133, allocations: 0 / 492.8 MB, free: 6.766 MB / 330.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.0008311/0.1338, allocations: 383 kB / 493.1 MB, free: 6.344 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.178e-05/0.1339, allocations: 12.02 kB / 493.2 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.134, allocations: 19.8 kB / 493.2 MB, free: 6.312 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.1345, allocations: 194.9 kB / 493.4 MB, free: 6.082 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.1345, allocations: 4 kB / 493.4 MB, free: 6.078 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.1346, allocations: 0 / 493.4 MB, free: 6.078 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.1348, allocations: 49.67 kB / 493.4 MB, free: 6.023 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1349, allocations: 0 / 493.4 MB, free: 6.023 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.1349, allocations: 0 / 493.4 MB, free: 6.023 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1349, allocations: 11.92 kB / 493.4 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.1351, allocations: 19.94 kB / 493.5 MB, free: 5.992 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.1355, allocations: 181.6 kB / 493.6 MB, free: 5.766 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.1359, allocations: 58.55 kB / 493.7 MB, free: 5.699 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.1359, allocations: 4 kB / 493.7 MB, free: 5.695 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003204/0.1363, allocations: 59.48 kB / 493.7 MB, free: 5.625 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 4.208e-06/0.1363, allocations: 0 / 493.7 MB, free: 5.625 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006084/0.1369, allocations: 101.4 kB / 493.8 MB, free: 5.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.137, allocations: 51.41 kB / 493.9 MB, free: 5.457 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004187/0.1374, allocations: 190.1 kB / 494.1 MB, free: 5.262 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.1375, allocations: 25.7 kB / 494.1 MB, free: 5.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.1377, allocations: 170.6 kB / 494.3 MB, free: 5.062 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.555e-05/0.1377, allocations: 3.906 kB / 494.3 MB, free: 5.059 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.355e-06/0.1378, allocations: 0 / 494.3 MB, free: 5.059 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.138, allocations: 326.8 kB / 494.6 MB, free: 4.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.1381, allocations: 12 kB / 494.6 MB, free: 4.719 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.1383, allocations: 25.7 kB / 494.6 MB, free: 4.688 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1384, allocations: 20 kB / 494.7 MB, free: 4.668 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1385, allocations: 0 / 494.7 MB, free: 4.668 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003885/0.1389, allocations: 77.84 kB / 494.7 MB, free: 4.586 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.1389, allocations: 7.984 kB / 494.7 MB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1389, allocations: 3.938 kB / 494.7 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.139, allocations: 0 / 494.7 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.1392, allocations: 16 kB / 494.8 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1392, allocations: 0 / 494.8 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.1394, allocations: 4 kB / 494.8 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.1394, allocations: 3.969 kB / 494.8 MB, free: 4.551 MB / 330.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.000213/0.1396, allocations: 136.9 kB / 494.9 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.1397, allocations: 11.91 kB / 494.9 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.744e-05/0.1398, allocations: 12.3 kB / 494.9 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.1398, allocations: 4 kB / 494.9 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1399, allocations: 0 / 494.9 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.1399, allocations: 0 / 494.9 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.1402, allocations: 185.6 kB / 495.1 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1402, allocations: 0 / 495.1 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.24e-05/0.1403, allocations: 4 kB / 495.1 MB, free: 4.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.1403, allocations: 7.938 kB / 495.1 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.1404, allocations: 0 / 495.1 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.1404, allocations: 0 / 495.1 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.1404, allocations: 3.984 kB / 495.1 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.1409, allocations: 112.8 kB / 495.2 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.141, allocations: 92.94 kB / 495.3 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.1411, allocations: 4 kB / 495.3 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1412, allocations: 8 kB / 495.3 MB, free: 3.887 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/0.1413, allocations: 3.984 kB / 495.3 MB, free: 3.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.1414, allocations: 4 kB / 495.3 MB, free: 3.879 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002676/0.1417, allocations: 135.2 kB / 495.5 MB, free: 3.746 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.1417, allocations: 0 / 495.5 MB, free: 3.746 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004849/0.1422, allocations: 23.98 kB / 495.5 MB, free: 3.723 MB / 330.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.001927/0.1441, allocations: 406.7 kB / 495.9 MB, free: 3.367 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004135/0.1446, allocations: 47.92 kB / 495.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.1446, allocations: 0 / 495.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.1448, allocations: 19.98 kB / 496 MB, free: 3.301 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005393/0.1454, allocations: 23.94 kB / 496 MB, free: 3.277 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008333/0.1462, allocations: 230.9 kB / 496.2 MB, free: 3.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.1467, allocations: 0.7043 MB / 496.9 MB, free: 2.289 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.626e-05/0.1468, allocations: 19.44 kB / 496.9 MB, free: 2.27 MB / 330.7 MB Notification: Performance of SimCode: time 1.603e-06/0.1469, allocations: 0 / 496.9 MB, free: 2.27 MB / 330.7 MB Notification: Performance of Templates: time 0.005905/0.1528, allocations: 1.68 MB / 498.6 MB, free: 0.5938 MB / 330.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/jenkins1/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