Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001554/0.001554, allocations: 182.6 kB / 16.4 MB, free: 5.754 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.036/2.036, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001162/0.001162, allocations: 99.33 kB / 270.9 MB, free: 8.359 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.5094/0.5094, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004809/0.0004811, allocations: 16 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1309, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002618/0.1336, allocations: 1.382 MB / 491.6 MB, free: 9.582 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.1355, allocations: 0.7383 MB / 492.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1357, allocations: 0 / 492.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.136, allocations: 31.84 kB / 492.4 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.1363, allocations: 47.86 kB / 492.4 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.1367, allocations: 75.8 kB / 492.5 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.1369, allocations: 63.84 kB / 492.6 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.137, allocations: 12.22 kB / 492.6 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1371, allocations: 43.83 kB / 492.6 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.197e-05/0.1372, allocations: 27.86 kB / 492.6 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.1373, allocations: 4 kB / 492.6 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.1374, allocations: 31.88 kB / 492.7 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.989e-05/0.1375, allocations: 27.89 kB / 492.7 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.947e-05/0.1376, allocations: 41.64 kB / 492.7 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.1378, allocations: 100.1 kB / 492.8 MB, free: 8.332 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1378, allocations: 0 / 492.8 MB, free: 8.332 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1379, allocations: 0 / 492.8 MB, free: 8.332 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.1379, allocations: 4 kB / 492.8 MB, free: 8.328 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000683/0.1386, allocations: 426.6 kB / 493.3 MB, free: 7.863 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.1386, allocations: 8.031 kB / 493.3 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.826e-05/0.1387, allocations: 11.81 kB / 493.3 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.139, allocations: 210.9 kB / 493.5 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.1391, allocations: 0 / 493.5 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.1391, allocations: 4 kB / 493.5 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.1393, allocations: 57.61 kB / 493.5 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1393, allocations: 7.906 kB / 493.6 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1393, allocations: 3.938 kB / 493.6 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1394, allocations: 3.953 kB / 493.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.1395, allocations: 19.98 kB / 493.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.14, allocations: 292.9 kB / 493.9 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.1402, allocations: 58.62 kB / 493.9 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.1403, allocations: 4 kB / 493.9 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.1405, allocations: 71.45 kB / 494 MB, free: 7.008 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.394e-06/0.1405, allocations: 0 / 494 MB, free: 7.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007575/0.1413, allocations: 177.2 kB / 494.2 MB, free: 6.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.1414, allocations: 55.41 kB / 494.2 MB, free: 6.762 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/0.1418, allocations: 262.5 kB / 494.5 MB, free: 6.492 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.1419, allocations: 33.7 kB / 494.5 MB, free: 6.453 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.142, allocations: 166.5 kB / 494.7 MB, free: 6.289 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.142, allocations: 19.8 kB / 494.7 MB, free: 6.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-06/0.1421, allocations: 4 kB / 494.7 MB, free: 6.266 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1422, allocations: 318.8 kB / 495 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.369e-05/0.1423, allocations: 16 kB / 495 MB, free: 5.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.1424, allocations: 41.64 kB / 495.1 MB, free: 5.883 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.1426, allocations: 27.98 kB / 495.1 MB, free: 5.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1426, allocations: 0 / 495.1 MB, free: 5.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003/0.1429, allocations: 93.53 kB / 495.2 MB, free: 5.758 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.1429, allocations: 11.95 kB / 495.2 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1429, allocations: 0 / 495.2 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.143, allocations: 0 / 495.2 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.1431, allocations: 19.92 kB / 495.2 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.1431, allocations: 4 kB / 495.2 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.109e-05/0.1432, allocations: 4.031 kB / 495.2 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.1433, allocations: 4 kB / 495.2 MB, free: 5.715 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 (10): * Single equations (assignments): 10 * 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.0001679/0.1434, allocations: 145.6 kB / 495.4 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.1435, allocations: 11.81 kB / 495.4 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.281e-05/0.1436, allocations: 25.34 kB / 495.4 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1436, allocations: 4 kB / 495.4 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1436, allocations: 0 / 495.4 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1436, allocations: 0 / 495.4 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00071/0.1443, allocations: 415.4 kB / 495.8 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1444, allocations: 0 / 495.8 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.859e-05/0.1444, allocations: 12.12 kB / 495.8 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.1445, allocations: 0 / 495.8 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.1445, allocations: 7.938 kB / 495.8 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1445, allocations: 80 / 495.8 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/0.1445, allocations: 7.969 kB / 495.8 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.1449, allocations: 217.9 kB / 496.1 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.052e-05/0.145, allocations: 92.92 kB / 496.1 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.145, allocations: 4 kB / 496.2 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.1451, allocations: 3.984 kB / 496.2 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.1452, allocations: 4 kB / 496.2 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.1452, allocations: 11.94 kB / 496.2 MB, free: 4.664 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002829/0.1455, allocations: 204 kB / 496.4 MB, free: 4.465 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1456, allocations: 4 kB / 496.4 MB, free: 4.461 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004202/0.146, allocations: 24 kB / 496.4 MB, free: 4.438 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001418/0.1474, allocations: 460.2 kB / 496.8 MB, free: 4.031 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003371/0.1478, allocations: 63.89 kB / 496.9 MB, free: 3.969 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1478, allocations: 0 / 496.9 MB, free: 3.969 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.1479, allocations: 27.98 kB / 496.9 MB, free: 3.941 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.1484, allocations: 27.94 kB / 497 MB, free: 3.914 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007768/0.1492, allocations: 336.7 kB / 497.3 MB, free: 3.551 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.1496, allocations: 0.7232 MB / 498 MB, free: 2.805 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.216e-05/0.1497, allocations: 23.44 kB / 498 MB, free: 2.781 MB / 378.7 MB Notification: Performance of SimCode: time 1.883e-06/0.1497, allocations: 0 / 498 MB, free: 2.781 MB / 378.7 MB Notification: Performance of Templates: time 0.006028/0.1557, allocations: 2.035 MB / 0.4884 GB, free: 0.75 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches