Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001565, allocations: 183 kB / 16.4 MB, free: 5.746 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.035/2.035, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001153/0.001153, allocations: 92.36 kB / 270.9 MB, free: 8.363 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.5207/0.5207, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005034/0.0005036, allocations: 12 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1276, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002546/0.1302, allocations: 1.354 MB / 491.6 MB, free: 9.879 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.1319, allocations: 0.7202 MB / 492.3 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.057e-05/0.1321, allocations: 3.938 kB / 492.3 MB, free: 9.148 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.1324, allocations: 31.83 kB / 492.3 MB, free: 9.117 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.1327, allocations: 51.88 kB / 492.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.1331, allocations: 71.78 kB / 492.4 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.1333, allocations: 55.92 kB / 492.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.206e-05/0.1333, allocations: 19.89 kB / 492.5 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.1335, allocations: 39.84 kB / 492.6 MB, free: 8.883 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.294e-05/0.1336, allocations: 23.92 kB / 492.6 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.1336, allocations: 7.938 kB / 492.6 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1337, allocations: 16 kB / 492.6 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.857e-05/0.1338, allocations: 27.89 kB / 492.6 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/0.1339, allocations: 45.64 kB / 492.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.1341, allocations: 84.05 kB / 492.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1341, allocations: 0 / 492.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1341, allocations: 0 / 492.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1341, allocations: 0 / 492.8 MB, free: 8.676 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.000668/0.1348, allocations: 418.7 kB / 493.2 MB, free: 8.219 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.1348, allocations: 8.031 kB / 493.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.1349, allocations: 11.81 kB / 493.2 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.1352, allocations: 218.8 kB / 493.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.1353, allocations: 0 / 493.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.1353, allocations: 7.938 kB / 493.4 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.1355, allocations: 49.61 kB / 493.4 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1355, allocations: 4 kB / 493.5 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1355, allocations: 0 / 493.5 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.1356, allocations: 3.953 kB / 493.5 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.1357, allocations: 19.92 kB / 493.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.136, allocations: 193.7 kB / 493.7 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.1362, allocations: 50.62 kB / 493.7 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.1363, allocations: 3.938 kB / 493.7 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.1365, allocations: 67.39 kB / 493.8 MB, free: 7.477 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.405e-06/0.1365, allocations: 0 / 493.8 MB, free: 7.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004111/0.137, allocations: 93.58 kB / 493.9 MB, free: 7.379 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.137, allocations: 59.36 kB / 493.9 MB, free: 7.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003916/0.1374, allocations: 262.5 kB / 494.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.1375, allocations: 29.64 kB / 494.2 MB, free: 7.004 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1376, allocations: 166.6 kB / 494.4 MB, free: 6.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.1376, allocations: 15.81 kB / 494.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.1376, allocations: 0 / 494.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1378, allocations: 310.8 kB / 494.7 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.38e-05/0.1379, allocations: 19.97 kB / 494.7 MB, free: 6.492 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.179e-05/0.138, allocations: 37.69 kB / 494.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.572e-05/0.1381, allocations: 16 kB / 494.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.1381, allocations: 0 / 494.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002446/0.1384, allocations: 69.62 kB / 494.8 MB, free: 6.359 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1384, allocations: 8 kB / 494.8 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1384, allocations: 0 / 494.8 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1384, allocations: 0 / 494.8 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.1386, allocations: 11.98 kB / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1386, allocations: 8.031 kB / 494.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.126e-05/0.1387, allocations: 11.89 kB / 494.9 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1387, allocations: 4 kB / 494.9 MB, free: 6.316 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.0001692/0.1389, allocations: 137.6 kB / 495 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.139, allocations: 11.81 kB / 495 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.388e-05/0.139, allocations: 20.98 kB / 495 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.139, allocations: 0 / 495 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1391, allocations: 0 / 495 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1391, allocations: 4 kB / 495.1 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.1393, allocations: 201.6 kB / 495.3 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1393, allocations: 3.938 kB / 495.3 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/0.1394, allocations: 320 / 495.3 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.1394, allocations: 4 kB / 495.3 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.1394, allocations: 7.938 kB / 495.3 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1394, allocations: 3.938 kB / 495.3 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1394, allocations: 0 / 495.3 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.1397, allocations: 124.9 kB / 495.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.716e-05/0.1398, allocations: 88.91 kB / 495.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.1399, allocations: 4 kB / 495.5 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.528e-05/0.1399, allocations: 0 / 495.5 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.14, allocations: 11.98 kB / 495.5 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.14, allocations: 0 / 495.5 MB, free: 5.609 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002879/0.1403, allocations: 200 kB / 495.7 MB, free: 5.414 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1403, allocations: 0 / 495.7 MB, free: 5.414 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003091/0.1407, allocations: 16 kB / 495.7 MB, free: 5.398 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.001247/0.1419, allocations: 417 kB / 496.1 MB, free: 5.031 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002531/0.1422, allocations: 39.98 kB / 496.2 MB, free: 4.992 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1422, allocations: 0 / 496.2 MB, free: 4.992 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.433e-05/0.1423, allocations: 19.94 kB / 496.2 MB, free: 4.973 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.1427, allocations: 27.92 kB / 496.2 MB, free: 4.945 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007288/0.1434, allocations: 303.5 kB / 496.5 MB, free: 4.617 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.1438, allocations: 0.716 MB / 497.2 MB, free: 3.875 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.1439, allocations: 19.44 kB / 497.2 MB, free: 3.859 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1439, allocations: 0 / 497.2 MB, free: 3.859 MB / 378.7 MB Notification: Performance of Templates: time 0.00552/0.1494, allocations: 1.82 MB / 499 MB, free: 2.043 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches