Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001587/0.001592, allocations: 183.9 kB / 16.4 MB, free: 5.75 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.241/2.241, 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.001187/0.001186, allocations: 94.84 kB / 270.9 MB, free: 8.359 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.552/0.552, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004892/0.0004894, allocations: 15.98 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1341, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.00247/0.1366, allocations: 1.259 MB / 491.5 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007849/0.1375, allocations: 279.8 kB / 491.7 MB, free: 9.684 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.936e-05/0.1375, allocations: 0 / 491.7 MB, free: 9.684 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.1379, allocations: 71.77 kB / 491.8 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.1381, allocations: 51.88 kB / 491.9 MB, free: 9.562 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.1384, allocations: 67.8 kB / 491.9 MB, free: 9.496 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.1386, allocations: 39.94 kB / 492 MB, free: 9.457 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.708e-05/0.1387, allocations: 11.98 kB / 492 MB, free: 9.445 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.438e-05/0.1388, allocations: 27.84 kB / 492 MB, free: 9.418 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.1389, allocations: 31.91 kB / 492 MB, free: 9.387 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1389, allocations: 4 kB / 492 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.535e-05/0.139, allocations: 19.98 kB / 492.1 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.834e-05/0.1391, allocations: 15.92 kB / 492.1 MB, free: 9.348 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.1392, allocations: 37.64 kB / 492.1 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.1393, allocations: 63.86 kB / 492.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1393, allocations: 0 / 492.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1393, allocations: 0 / 492.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1394, allocations: 0 / 492.2 MB, free: 9.242 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005382/0.1399, allocations: 386.9 kB / 492.6 MB, free: 8.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.14, allocations: 20.02 kB / 492.6 MB, free: 8.801 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.14, allocations: 11.86 kB / 492.6 MB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.1402, allocations: 190.8 kB / 492.8 MB, free: 8.562 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1403, allocations: 0 / 492.8 MB, free: 8.562 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.1403, allocations: 4 kB / 492.8 MB, free: 8.559 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.1405, allocations: 53.62 kB / 492.8 MB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1405, allocations: 3.906 kB / 492.8 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1405, allocations: 3.984 kB / 492.8 MB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.1406, allocations: 0 / 492.8 MB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.1407, allocations: 31.94 kB / 492.9 MB, free: 8.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.1412, allocations: 269 kB / 493.1 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.1414, allocations: 46.5 kB / 493.2 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1415, allocations: 4 kB / 493.2 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.1415, allocations: 38.56 kB / 493.2 MB, free: 8.043 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.1415, allocations: 0 / 493.2 MB, free: 8.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008268/0.1424, allocations: 161.3 kB / 493.4 MB, free: 7.879 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.1424, allocations: 55.41 kB / 493.4 MB, free: 7.812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.1427, allocations: 186.2 kB / 493.6 MB, free: 7.617 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.1427, allocations: 25.7 kB / 493.6 MB, free: 7.586 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.517e-05/0.1428, allocations: 174.3 kB / 493.8 MB, free: 7.414 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.1429, allocations: 19.78 kB / 493.8 MB, free: 7.395 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.1429, allocations: 4 kB / 493.8 MB, free: 7.391 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.143, allocations: 314.8 kB / 494.1 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.1432, allocations: 19.98 kB / 494.2 MB, free: 7.055 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.1433, allocations: 27.92 kB / 494.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.1434, allocations: 27.98 kB / 494.2 MB, free: 7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1434, allocations: 0 / 494.2 MB, free: 7 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000302/0.1437, allocations: 77.8 kB / 494.3 MB, free: 6.918 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1438, allocations: 8 kB / 494.3 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.1438, allocations: 12 kB / 494.3 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1438, allocations: 0 / 494.3 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.144, allocations: 19.98 kB / 494.3 MB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.144, allocations: 0 / 494.3 MB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.999e-05/0.1441, allocations: 4 kB / 494.3 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1441, allocations: 4 kB / 494.3 MB, free: 6.871 MB / 378.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.000126/0.1442, allocations: 125.8 kB / 494.5 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.1443, allocations: 7.906 kB / 494.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.1446, allocations: 105.8 kB / 494.6 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/0.1447, allocations: 3.953 kB / 494.6 MB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1447, allocations: 0 / 494.6 MB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1447, allocations: 0 / 494.6 MB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000662/0.1454, allocations: 358.6 kB / 494.9 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1454, allocations: 0 / 494.9 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.1455, allocations: 15.98 kB / 494.9 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.1455, allocations: 7.891 kB / 494.9 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1455, allocations: 0 / 494.9 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.1455, allocations: 0 / 494.9 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1455, allocations: 0 / 494.9 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.1459, allocations: 183.4 kB / 495.1 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.146, allocations: 93 kB / 495.2 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.146, allocations: 4.141 kB / 495.2 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.1462, allocations: 8 kB / 495.2 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.1462, allocations: 11.98 kB / 495.2 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.1462, allocations: 0 / 495.2 MB, free: 5.859 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001935/0.1464, allocations: 151.9 kB / 495.4 MB, free: 5.711 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1464, allocations: 3.938 kB / 495.4 MB, free: 5.707 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003228/0.1468, allocations: 12 kB / 495.4 MB, free: 5.695 MB / 378.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.001194/0.148, allocations: 400.5 kB / 495.8 MB, free: 5.348 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003246/0.1483, allocations: 59.91 kB / 495.8 MB, free: 5.289 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1483, allocations: 0 / 495.8 MB, free: 5.289 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.1485, allocations: 23.98 kB / 495.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.1488, allocations: 19.92 kB / 495.9 MB, free: 5.246 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006129/0.1495, allocations: 251 kB / 496.1 MB, free: 4.965 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.1499, allocations: 0.7043 MB / 496.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/0.1499, allocations: 11.44 kB / 496.9 MB, free: 4.223 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1499, allocations: 0 / 496.9 MB, free: 4.223 MB / 378.7 MB Notification: Performance of Templates: time 0.004474/0.1544, allocations: 1.454 MB / 498.3 MB, free: 2.77 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches