Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001625/0.00163, allocations: 186.3 kB / 16.4 MB, free: 5.621 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.073/2.073, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001181/0.001181, allocations: 94.78 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.2833/0.2833, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004723/0.0004723, allocations: 16 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1226, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002537/0.1252, allocations: 1.245 MB / 491.5 MB, free: 8.078 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007855/0.126, allocations: 283.9 kB / 491.7 MB, free: 7.797 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.543e-05/0.1261, allocations: 7.938 kB / 491.8 MB, free: 7.789 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.1263, allocations: 11.94 kB / 491.8 MB, free: 7.777 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.1265, allocations: 27.91 kB / 491.8 MB, free: 7.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.1268, allocations: 63.8 kB / 491.9 MB, free: 7.688 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.127, allocations: 43.81 kB / 491.9 MB, free: 7.645 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.819e-05/0.1271, allocations: 8 kB / 491.9 MB, free: 7.637 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.953e-05/0.1272, allocations: 15.92 kB / 491.9 MB, free: 7.621 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.333e-05/0.1273, allocations: 19.92 kB / 491.9 MB, free: 7.602 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.1273, allocations: 0 / 491.9 MB, free: 7.602 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.929e-05/0.1274, allocations: 23.98 kB / 492 MB, free: 7.578 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.812e-05/0.1274, allocations: 7.938 kB / 492 MB, free: 7.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.1275, allocations: 29.7 kB / 492 MB, free: 7.535 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.1277, allocations: 59.8 kB / 492.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.1277, allocations: 0 / 492.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1277, allocations: 0 / 492.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1277, allocations: 0 / 492.1 MB, free: 7.477 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.000566/0.1283, allocations: 371.4 kB / 492.4 MB, free: 7.066 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.1283, allocations: 16.02 kB / 492.4 MB, free: 7.051 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.1284, allocations: 3.953 kB / 492.4 MB, free: 7.047 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.1286, allocations: 193 kB / 492.6 MB, free: 6.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1286, allocations: 0 / 492.6 MB, free: 6.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.1287, allocations: 4 kB / 492.6 MB, free: 6.816 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.1289, allocations: 45.69 kB / 492.7 MB, free: 6.766 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1289, allocations: 0 / 492.7 MB, free: 6.766 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1289, allocations: 0 / 492.7 MB, free: 6.766 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1289, allocations: 7.938 kB / 492.7 MB, free: 6.758 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.1291, allocations: 23.98 kB / 492.7 MB, free: 6.734 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.1295, allocations: 276.8 kB / 493 MB, free: 6.414 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.1298, allocations: 42.56 kB / 493 MB, free: 6.363 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.1299, allocations: 7.938 kB / 493 MB, free: 6.355 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1299, allocations: 34.56 kB / 493.1 MB, free: 6.312 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.844e-06/0.1299, allocations: 0 / 493.1 MB, free: 6.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008214/0.1307, allocations: 157.4 kB / 493.2 MB, free: 6.152 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.1308, allocations: 51.41 kB / 493.3 MB, free: 6.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.131, allocations: 146.1 kB / 493.4 MB, free: 5.934 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.131, allocations: 25.7 kB / 493.4 MB, free: 5.902 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1312, allocations: 158.5 kB / 493.6 MB, free: 5.746 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.1312, allocations: 19.72 kB / 493.6 MB, free: 5.727 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.1312, allocations: 4 kB / 493.6 MB, free: 5.723 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1314, allocations: 310.8 kB / 493.9 MB, free: 5.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.1315, allocations: 19.98 kB / 493.9 MB, free: 5.391 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.1316, allocations: 23.98 kB / 494 MB, free: 5.367 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.1318, allocations: 27.98 kB / 494 MB, free: 5.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1318, allocations: 0 / 494 MB, free: 5.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003213/0.1321, allocations: 81.67 kB / 494.1 MB, free: 5.254 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1321, allocations: 7.438 kB / 494.1 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.1322, allocations: 7.922 kB / 494.1 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1322, allocations: 8.141 kB / 494.1 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.1323, allocations: 16 kB / 494.1 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1323, allocations: 4 kB / 494.1 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-05/0.1324, allocations: 7.984 kB / 494.1 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.1325, allocations: 4 kB / 494.1 MB, free: 5.203 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.0001116/0.1326, allocations: 113.8 kB / 494.2 MB, free: 5.082 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.1326, allocations: 7.906 kB / 494.2 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003814/0.133, allocations: 97.91 kB / 494.3 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.133, allocations: 0 / 494.3 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.1331, allocations: 4.234 kB / 494.3 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1331, allocations: 7.938 kB / 494.3 MB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006282/0.1337, allocations: 350.6 kB / 494.7 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1337, allocations: 0 / 494.7 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.1338, allocations: 15.98 kB / 494.7 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1339, allocations: 0 / 494.7 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.1339, allocations: 3.953 kB / 494.7 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.1339, allocations: 0 / 494.7 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.1339, allocations: 4 kB / 494.7 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.1343, allocations: 187.4 kB / 494.9 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.1344, allocations: 85.02 kB / 495 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.1344, allocations: 0 / 495 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.1345, allocations: 15.94 kB / 495 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.1346, allocations: 8.188 kB / 495 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.1346, allocations: 4 kB / 495 MB, free: 4.215 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1347, allocations: 119 kB / 495.1 MB, free: 4.102 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1348, allocations: 0 / 495.1 MB, free: 4.102 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003283/0.1351, allocations: 8 kB / 495.1 MB, free: 4.094 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.001247/0.1364, allocations: 403 kB / 495.5 MB, free: 3.738 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000336/0.1367, allocations: 59.91 kB / 495.6 MB, free: 3.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1367, allocations: 0 / 495.6 MB, free: 3.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.1369, allocations: 27.98 kB / 495.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.1372, allocations: 7.984 kB / 495.6 MB, free: 3.645 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005124/0.1377, allocations: 210.6 kB / 495.8 MB, free: 3.406 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.1381, allocations: 0.6926 MB / 496.5 MB, free: 2.688 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.759e-05/0.1381, allocations: 11.44 kB / 496.5 MB, free: 2.676 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1382, allocations: 0 / 496.5 MB, free: 2.676 MB / 330.7 MB Notification: Performance of Templates: time 0.004372/0.1425, allocations: 1.368 MB / 497.9 MB, free: 1.309 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches