Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001596/0.001596, allocations: 187.7 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.323/2.323, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001142/0.001141, allocations: 98.84 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.2884/0.2884, allocations: 43.56 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006364/0.0006365, allocations: 20 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1181, allocations: 58.85 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002644/0.1208, allocations: 1.383 MB / 491.6 MB, free: 7.949 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.1226, allocations: 0.7305 MB / 492.3 MB, free: 7.211 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.1228, allocations: 7.938 kB / 492.3 MB, free: 7.203 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.1231, allocations: 31.83 kB / 492.4 MB, free: 7.172 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.1234, allocations: 43.88 kB / 492.4 MB, free: 7.129 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.1237, allocations: 79.78 kB / 492.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.124, allocations: 59.86 kB / 492.6 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1241, allocations: 8.234 kB / 492.6 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.1242, allocations: 35.84 kB / 492.6 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.356e-05/0.1243, allocations: 31.84 kB / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.1243, allocations: 4 kB / 492.6 MB, free: 6.914 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.1245, allocations: 27.92 kB / 492.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.841e-05/0.1245, allocations: 15.92 kB / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.1246, allocations: 41.64 kB / 492.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.1248, allocations: 92.08 kB / 492.8 MB, free: 6.734 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1248, allocations: 4 kB / 492.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1248, allocations: 0 / 492.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1249, allocations: 0 / 492.8 MB, free: 6.73 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.0006456/0.1255, allocations: 398.9 kB / 493.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.1256, allocations: 12.02 kB / 493.2 MB, free: 6.281 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.1256, allocations: 15.77 kB / 493.2 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.1259, allocations: 211.5 kB / 493.4 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.126, allocations: 0 / 493.4 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.126, allocations: 4 kB / 493.4 MB, free: 6.016 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.1262, allocations: 65.61 kB / 493.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1263, allocations: 0 / 493.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1263, allocations: 0 / 493.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1263, allocations: 0 / 493.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.1264, allocations: 23.94 kB / 493.5 MB, free: 5.922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.1269, allocations: 281 kB / 493.8 MB, free: 5.598 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.1271, allocations: 62.61 kB / 493.9 MB, free: 5.527 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.1272, allocations: 4 kB / 493.9 MB, free: 5.523 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002229/0.1274, allocations: 63.52 kB / 493.9 MB, free: 5.449 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 4.789e-06/0.1274, allocations: 3.984 kB / 493.9 MB, free: 5.445 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007682/0.1282, allocations: 173.2 kB / 494.1 MB, free: 5.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.1283, allocations: 51.41 kB / 494.2 MB, free: 5.207 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.1286, allocations: 203.3 kB / 494.4 MB, free: 5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.1286, allocations: 29.7 kB / 494.4 MB, free: 4.965 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1287, allocations: 166.5 kB / 494.5 MB, free: 4.801 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.1288, allocations: 23.78 kB / 494.6 MB, free: 4.777 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.1288, allocations: 0 / 494.6 MB, free: 4.777 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1289, allocations: 322.8 kB / 494.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.876e-05/0.129, allocations: 15.98 kB / 494.9 MB, free: 4.438 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.1292, allocations: 41.64 kB / 494.9 MB, free: 4.391 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.1293, allocations: 24 kB / 495 MB, free: 4.367 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1293, allocations: 0 / 495 MB, free: 4.367 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003007/0.1296, allocations: 93.58 kB / 495.1 MB, free: 4.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1296, allocations: 7.938 kB / 495.1 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1297, allocations: 4 kB / 495.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1297, allocations: 3.953 kB / 495.1 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.1298, allocations: 15.94 kB / 495.1 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1299, allocations: 0 / 495.1 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.905e-05/0.13, allocations: 12.02 kB / 495.1 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.13, allocations: 8 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.0001376/0.1301, allocations: 117.8 kB / 495.2 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.1302, allocations: 11.91 kB / 495.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.163e-05/0.1302, allocations: 17.39 kB / 495.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.1303, allocations: 3.953 kB / 495.2 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1303, allocations: 0 / 495.2 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1303, allocations: 0 / 495.2 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006582/0.131, allocations: 399.2 kB / 495.6 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.131, allocations: 0 / 495.6 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.532e-05/0.1311, allocations: 15.92 kB / 495.7 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.106e-06/0.1311, allocations: 3.953 kB / 495.7 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.1311, allocations: 8.375 kB / 495.7 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1311, allocations: 0 / 495.7 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.1311, allocations: 4.234 kB / 495.7 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.1315, allocations: 214 kB / 495.9 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.1316, allocations: 96.86 kB / 496 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.1316, allocations: 4 kB / 496 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1317, allocations: 0 / 496 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.1318, allocations: 11.98 kB / 496 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.1318, allocations: 4 kB / 496 MB, free: 3.211 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000202/0.132, allocations: 152.9 kB / 496.1 MB, free: 3.062 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.132, allocations: 0 / 496.1 MB, free: 3.062 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003653/0.1324, allocations: 20 kB / 496.2 MB, free: 3.043 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.001367/0.1338, allocations: 484 kB / 496.6 MB, free: 2.621 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.1341, allocations: 55.97 kB / 496.7 MB, free: 2.566 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1341, allocations: 0 / 496.7 MB, free: 2.566 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.1342, allocations: 31.92 kB / 496.7 MB, free: 2.535 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.1346, allocations: 19.98 kB / 496.7 MB, free: 2.516 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006316/0.1352, allocations: 280.2 kB / 497 MB, free: 2.207 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.1356, allocations: 0.7082 MB / 497.7 MB, free: 1.473 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.766e-05/0.1357, allocations: 15.44 kB / 497.7 MB, free: 1.457 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1357, allocations: 7.938 kB / 497.7 MB, free: 1.449 MB / 330.7 MB Notification: Performance of Templates: time 0.005309/0.141, allocations: 1.903 MB / 499.6 MB, free: 15.54 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches