Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00155/0.001556, allocations: 188.4 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.161/2.161, allocations: 205.4 MB / 222.5 MB, free: 13.84 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.001147/0.001147, allocations: 94.86 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.2958/0.2958, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005163/0.0005164, allocations: 16 kB / 431.4 MB, free: 20.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1278, allocations: 58.86 MB / 490.2 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002997/0.1308, allocations: 1.375 MB / 491.6 MB, free: 7.941 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.1329, allocations: 0.7345 MB / 492.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.133, allocations: 3.938 kB / 492.3 MB, free: 7.195 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.1334, allocations: 27.84 kB / 492.4 MB, free: 7.168 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.1337, allocations: 43.88 kB / 492.4 MB, free: 7.125 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.1341, allocations: 75.78 kB / 492.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.1343, allocations: 59.86 kB / 492.5 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1344, allocations: 16.16 kB / 492.6 MB, free: 6.977 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.1346, allocations: 39.84 kB / 492.6 MB, free: 6.938 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.456e-05/0.1347, allocations: 23.86 kB / 492.6 MB, free: 6.914 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.1347, allocations: 4 kB / 492.6 MB, free: 6.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.1349, allocations: 31.92 kB / 492.7 MB, free: 6.879 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.1349, allocations: 15.91 kB / 492.7 MB, free: 6.863 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.957e-05/0.135, allocations: 41.64 kB / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.1352, allocations: 88.09 kB / 492.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1353, allocations: 0 / 492.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1353, allocations: 0 / 492.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.1353, allocations: 4 kB / 492.8 MB, free: 6.727 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006913/0.136, allocations: 398.9 kB / 493.2 MB, free: 6.289 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.1361, allocations: 16 kB / 493.2 MB, free: 6.273 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.1361, allocations: 19.75 kB / 493.2 MB, free: 6.254 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.1365, allocations: 199.6 kB / 493.4 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.1365, allocations: 8 kB / 493.4 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.1366, allocations: 3.984 kB / 493.4 MB, free: 6.008 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.1368, allocations: 57.61 kB / 493.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1368, allocations: 4 kB / 493.5 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.1368, allocations: 4 kB / 493.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1369, allocations: 0 / 493.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.137, allocations: 19.94 kB / 493.5 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.1375, allocations: 284.9 kB / 493.8 MB, free: 5.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.1378, allocations: 62.62 kB / 493.9 MB, free: 5.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.1378, allocations: 0 / 493.9 MB, free: 5.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002647/0.1381, allocations: 67.5 kB / 493.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.305e-06/0.1381, allocations: 0 / 493.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008149/0.1389, allocations: 169.2 kB / 494.1 MB, free: 5.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.139, allocations: 51.41 kB / 494.1 MB, free: 5.207 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.1393, allocations: 207.3 kB / 494.3 MB, free: 4.996 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.1394, allocations: 29.7 kB / 494.4 MB, free: 4.961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.1395, allocations: 166.5 kB / 494.5 MB, free: 4.797 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.1396, allocations: 15.81 kB / 494.6 MB, free: 4.781 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.1396, allocations: 0 / 494.6 MB, free: 4.781 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1397, allocations: 318.8 kB / 494.9 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-05/0.1398, allocations: 16 kB / 494.9 MB, free: 4.445 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.1399, allocations: 45.58 kB / 494.9 MB, free: 4.395 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.1401, allocations: 32.05 kB / 495 MB, free: 4.363 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1401, allocations: 0 / 495 MB, free: 4.363 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003301/0.1404, allocations: 93.58 kB / 495 MB, free: 4.266 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.1405, allocations: 15.88 kB / 495.1 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1405, allocations: 0 / 495.1 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.1405, allocations: 3.953 kB / 495.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.1407, allocations: 15.98 kB / 495.1 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.1407, allocations: 4.375 kB / 495.1 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.187e-05/0.1408, allocations: 0 / 495.1 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.1408, allocations: 8.031 kB / 495.1 MB, free: 4.219 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 (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.0001513/0.141, allocations: 125.8 kB / 495.2 MB, free: 4.086 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.141, allocations: 15.91 kB / 495.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.201e-05/0.1411, allocations: 13.41 kB / 495.2 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.1411, allocations: 3.953 kB / 495.2 MB, free: 4.051 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.1411, allocations: 7.984 kB / 495.3 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1412, allocations: 0 / 495.3 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006847/0.1419, allocations: 395.2 kB / 495.6 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1419, allocations: 0 / 495.6 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.506e-05/0.142, allocations: 11.94 kB / 495.7 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-06/0.142, allocations: 7.953 kB / 495.7 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.142, allocations: 0 / 495.7 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.142, allocations: 3.984 kB / 495.7 MB, free: 3.574 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.142, allocations: 4 kB / 495.7 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.1424, allocations: 206 kB / 495.9 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.152e-05/0.1425, allocations: 96.88 kB / 496 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.1425, allocations: 4 kB / 496 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.1426, allocations: 3.984 kB / 496 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.1427, allocations: 8 kB / 496 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.1427, allocations: 4 kB / 496 MB, free: 3.211 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001954/0.143, allocations: 152.8 kB / 496.1 MB, free: 3.062 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.143, allocations: 4 kB / 496.1 MB, free: 3.059 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000371/0.1433, allocations: 23.98 kB / 496.2 MB, free: 3.035 MB / 330.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.001431/0.1448, allocations: 479.9 kB / 496.6 MB, free: 2.617 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003248/0.1452, allocations: 63.89 kB / 496.7 MB, free: 2.555 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.1452, allocations: 0 / 496.7 MB, free: 2.555 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.1453, allocations: 24 kB / 496.7 MB, free: 2.531 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.1457, allocations: 23.97 kB / 496.7 MB, free: 2.508 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006891/0.1464, allocations: 276.2 kB / 497 MB, free: 2.203 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.1468, allocations: 0.7121 MB / 497.7 MB, free: 1.465 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.087e-05/0.1469, allocations: 19.42 kB / 497.7 MB, free: 1.445 MB / 330.7 MB Notification: Performance of SimCode: time 1.352e-06/0.1469, allocations: 0 / 497.7 MB, free: 1.445 MB / 330.7 MB Notification: Performance of Templates: time 0.005947/0.1528, allocations: 1.902 MB / 499.6 MB, free: 15.55 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches