Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002471/0.002478, allocations: 183.5 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.117/2.117, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001091/0.001091, allocations: 78.94 kB / 270.9 MB, free: 8.387 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.5184/0.5184, allocations: 43.56 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005264/0.0005267, allocations: 12 kB / 431.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1357, allocations: 58.85 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002759/0.1385, allocations: 1.386 MB / 491.6 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.1403, allocations: 0.7305 MB / 492.3 MB, free: 8.883 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.1405, allocations: 4 kB / 492.3 MB, free: 8.879 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.1408, allocations: 31.83 kB / 492.4 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.1411, allocations: 43.88 kB / 492.4 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.1415, allocations: 91.7 kB / 492.5 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.1417, allocations: 55.88 kB / 492.6 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.871e-05/0.1418, allocations: 12.2 kB / 492.6 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.1419, allocations: 39.84 kB / 492.6 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.01e-05/0.142, allocations: 31.84 kB / 492.6 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.1421, allocations: 0 / 492.6 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.1422, allocations: 35.86 kB / 492.7 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.1423, allocations: 15.98 kB / 492.7 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.626e-05/0.1423, allocations: 41.64 kB / 492.7 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.1426, allocations: 100.1 kB / 492.8 MB, free: 8.383 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1426, allocations: 0 / 492.8 MB, free: 8.383 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.559e-06/0.1426, allocations: 0 / 492.8 MB, free: 8.383 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.749e-06/0.1426, allocations: 3.938 kB / 492.8 MB, free: 8.379 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.0006597/0.1433, allocations: 406.8 kB / 493.2 MB, free: 7.934 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.1433, allocations: 12.02 kB / 493.2 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/0.1434, allocations: 15.8 kB / 493.3 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.1437, allocations: 202.9 kB / 493.5 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.1438, allocations: 4 kB / 493.5 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.1438, allocations: 8 kB / 493.5 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.144, allocations: 53.66 kB / 493.5 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.144, allocations: 0 / 493.5 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.144, allocations: 4 kB / 493.5 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.1441, allocations: 7.891 kB / 493.5 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.1442, allocations: 19.98 kB / 493.6 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.1447, allocations: 292.8 kB / 493.8 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.145, allocations: 54.67 kB / 493.9 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.145, allocations: 7.938 kB / 493.9 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.1453, allocations: 67.47 kB / 494 MB, free: 7.082 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.595e-06/0.1453, allocations: 0 / 494 MB, free: 7.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007924/0.1461, allocations: 173.2 kB / 494.1 MB, free: 6.906 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.1462, allocations: 51.41 kB / 494.2 MB, free: 6.844 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.1465, allocations: 218.7 kB / 494.4 MB, free: 6.617 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.1465, allocations: 33.64 kB / 494.4 MB, free: 6.578 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1466, allocations: 170.5 kB / 494.6 MB, free: 6.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.1467, allocations: 27.64 kB / 494.6 MB, free: 6.383 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.1467, allocations: 0 / 494.6 MB, free: 6.383 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1469, allocations: 322.8 kB / 494.9 MB, free: 6.059 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.607e-05/0.147, allocations: 16 kB / 495 MB, free: 6.043 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.1471, allocations: 37.7 kB / 495 MB, free: 6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.1472, allocations: 27.92 kB / 495 MB, free: 5.973 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1472, allocations: 0 / 495 MB, free: 5.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002974/0.1475, allocations: 85.69 kB / 495.1 MB, free: 5.883 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.1476, allocations: 7.953 kB / 495.1 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.1476, allocations: 4.375 kB / 495.1 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1476, allocations: 7.969 kB / 495.1 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.1478, allocations: 19.92 kB / 495.1 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1478, allocations: 0 / 495.1 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.825e-05/0.1479, allocations: 8 kB / 495.1 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.1479, allocations: 8 kB / 495.2 MB, free: 5.828 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.0001506/0.1481, allocations: 126.9 kB / 495.3 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.1481, allocations: 11.81 kB / 495.3 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.138e-05/0.1482, allocations: 29.34 kB / 495.3 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1482, allocations: 7.984 kB / 495.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.1482, allocations: 0 / 495.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1483, allocations: 0 / 495.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007367/0.149, allocations: 399.3 kB / 495.7 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.149, allocations: 0 / 495.7 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.546e-05/0.1491, allocations: 11.98 kB / 495.7 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1491, allocations: 0 / 495.7 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1491, allocations: 0 / 495.7 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.1491, allocations: 4 kB / 495.7 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.1492, allocations: 7.969 kB / 495.7 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.1495, allocations: 213.9 kB / 496 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.49e-05/0.1496, allocations: 89 kB / 496 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.1497, allocations: 4 kB / 496 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.1498, allocations: 4 kB / 496 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.1498, allocations: 11.98 kB / 496.1 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.1499, allocations: 4 kB / 496.1 MB, free: 4.812 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002327/0.1501, allocations: 167.4 kB / 496.2 MB, free: 4.648 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1501, allocations: 0 / 496.2 MB, free: 4.648 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000379/0.1505, allocations: 31.92 kB / 496.3 MB, free: 4.617 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.001416/0.1519, allocations: 472 kB / 496.7 MB, free: 4.207 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003202/0.1523, allocations: 51.97 kB / 496.8 MB, free: 4.156 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1523, allocations: 0 / 496.8 MB, free: 4.156 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.1525, allocations: 35.92 kB / 496.8 MB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.1529, allocations: 28.11 kB / 496.8 MB, free: 4.094 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007283/0.1536, allocations: 299.9 kB / 497.1 MB, free: 3.766 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.1541, allocations: 0.716 MB / 497.8 MB, free: 3.023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.1541, allocations: 23.42 kB / 497.9 MB, free: 3 MB / 378.7 MB Notification: Performance of SimCode: time 1.593e-06/0.1541, allocations: 0 / 497.9 MB, free: 3 MB / 378.7 MB Notification: Performance of Templates: time 0.005887/0.16, allocations: 1.956 MB / 499.8 MB, free: 1.051 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches