Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002414/0.002414, allocations: 188.3 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.231/2.231, 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.001773/0.001773, allocations: 98.8 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.2899/0.2899, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004699, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1214, allocations: 58.86 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002471/0.124, allocations: 1.252 MB / 491.5 MB, free: 8.082 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007835/0.1248, allocations: 279.9 kB / 491.7 MB, free: 7.805 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.997e-05/0.1249, allocations: 0 / 491.7 MB, free: 7.805 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.1252, allocations: 79.77 kB / 491.8 MB, free: 7.727 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.1254, allocations: 47.88 kB / 491.9 MB, free: 7.68 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.1257, allocations: 67.78 kB / 491.9 MB, free: 7.613 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.1259, allocations: 43.94 kB / 492 MB, free: 7.57 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.126, allocations: 8 kB / 492 MB, free: 7.562 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.994e-05/0.1261, allocations: 35.78 kB / 492 MB, free: 7.527 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.1262, allocations: 43.89 kB / 492.1 MB, free: 7.484 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.1263, allocations: 0 / 492.1 MB, free: 7.484 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.808e-05/0.1263, allocations: 12 kB / 492.1 MB, free: 7.473 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.1264, allocations: 23.91 kB / 492.1 MB, free: 7.449 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.1265, allocations: 37.64 kB / 492.1 MB, free: 7.406 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.1266, allocations: 67.84 kB / 492.2 MB, free: 7.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.1266, allocations: 0 / 492.2 MB, free: 7.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1266, allocations: 0 / 492.2 MB, free: 7.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1267, allocations: 0 / 492.2 MB, free: 7.34 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000558/0.1272, allocations: 387.3 kB / 492.6 MB, free: 6.914 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.1273, allocations: 12.02 kB / 492.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.1273, allocations: 11.86 kB / 492.6 MB, free: 6.891 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.1276, allocations: 190.9 kB / 492.8 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1276, allocations: 7.938 kB / 492.8 MB, free: 6.656 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.1276, allocations: 4 kB / 492.8 MB, free: 6.652 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.1278, allocations: 45.69 kB / 492.8 MB, free: 6.602 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1279, allocations: 4 kB / 492.8 MB, free: 6.598 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1279, allocations: 4 kB / 492.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1279, allocations: 4 kB / 492.9 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.1281, allocations: 27.97 kB / 492.9 MB, free: 6.562 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.1285, allocations: 280.8 kB / 493.2 MB, free: 6.238 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.1288, allocations: 50.5 kB / 493.2 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.1288, allocations: 0 / 493.2 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.1289, allocations: 30.56 kB / 493.2 MB, free: 6.141 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.1289, allocations: 0 / 493.2 MB, free: 6.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008117/0.1297, allocations: 165.3 kB / 493.4 MB, free: 5.973 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.1297, allocations: 51.41 kB / 493.4 MB, free: 5.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.1301, allocations: 206.2 kB / 493.6 MB, free: 5.699 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1301, allocations: 25.7 kB / 493.7 MB, free: 5.668 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.239e-05/0.1302, allocations: 170.4 kB / 493.8 MB, free: 5.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.1303, allocations: 19.8 kB / 493.9 MB, free: 5.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/0.1303, allocations: 0 / 493.9 MB, free: 5.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1304, allocations: 310.8 kB / 494.2 MB, free: 5.168 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.1305, allocations: 23.98 kB / 494.2 MB, free: 5.145 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.1307, allocations: 23.98 kB / 494.2 MB, free: 5.121 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.1308, allocations: 23.98 kB / 494.2 MB, free: 5.098 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1308, allocations: 0 / 494.2 MB, free: 5.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003055/0.1311, allocations: 85.89 kB / 494.3 MB, free: 5.008 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.1312, allocations: 7.438 kB / 494.3 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.1312, allocations: 0 / 494.3 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1312, allocations: 8 kB / 494.3 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.1313, allocations: 23.88 kB / 494.4 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1314, allocations: 0 / 494.4 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.379e-05/0.1315, allocations: 4 kB / 494.4 MB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.1315, allocations: 7.969 kB / 494.4 MB, free: 4.961 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001265/0.1316, allocations: 121.8 kB / 494.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.1317, allocations: 7.906 kB / 494.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.132, allocations: 105.9 kB / 494.6 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1321, allocations: 3.984 kB / 494.6 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1321, allocations: 3.953 kB / 494.6 MB, free: 4.711 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1321, allocations: 0 / 494.6 MB, free: 4.711 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006496/0.1328, allocations: 366.8 kB / 495 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.1328, allocations: 0 / 495 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.1329, allocations: 19.92 kB / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1329, allocations: 0 / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1329, allocations: 3.953 kB / 495 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1329, allocations: 0 / 495 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.133, allocations: 4 kB / 495 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.1333, allocations: 187.4 kB / 495.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.1334, allocations: 81.02 kB / 495.3 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.1334, allocations: 0 / 495.3 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.1336, allocations: 23.94 kB / 495.3 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.1336, allocations: 0 / 495.3 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1336, allocations: 4 kB / 495.3 MB, free: 3.945 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001906/0.1338, allocations: 155.2 kB / 495.4 MB, free: 3.793 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1338, allocations: 0 / 495.4 MB, free: 3.793 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000336/0.1342, allocations: 16 kB / 495.4 MB, free: 3.777 MB / 330.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001165/0.1354, allocations: 404.3 kB / 495.8 MB, free: 3.426 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000322/0.1357, allocations: 55.97 kB / 495.9 MB, free: 3.371 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1357, allocations: 0 / 495.9 MB, free: 3.371 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1359, allocations: 23.98 kB / 495.9 MB, free: 3.348 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.1362, allocations: 11.98 kB / 495.9 MB, free: 3.336 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/0.1368, allocations: 262.8 kB / 496.2 MB, free: 3.043 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.1372, allocations: 0.7043 MB / 496.9 MB, free: 2.312 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.139e-05/0.1373, allocations: 15.44 kB / 496.9 MB, free: 2.297 MB / 330.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1373, allocations: 4 kB / 496.9 MB, free: 2.293 MB / 330.7 MB Notification: Performance of Templates: time 0.004535/0.1418, allocations: 1.479 MB / 498.4 MB, free: 0.8164 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches