Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008469/0.0008509, allocations: 174.6 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.148/1.148, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007294/0.0007294, allocations: 88.98 kB / 271.2 MB, free: 8.25 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.2823/0.2823, allocations: 43.55 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005111/0.0005114, allocations: 15.98 kB / 432 MB, free: 5.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1196, allocations: 58.86 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.001692/0.1213, allocations: 1.259 MB / 492.1 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004764/0.1218, allocations: 291.9 kB / 492.4 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.69e-05/0.1218, allocations: 0 / 492.4 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.1221, allocations: 119.7 kB / 492.5 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.1223, allocations: 87.78 kB / 492.6 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.1225, allocations: 59.92 kB / 492.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.1226, allocations: 71.8 kB / 492.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.177e-05/0.1227, allocations: 11.98 kB / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.394e-05/0.1227, allocations: 35.89 kB / 492.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.712e-05/0.1228, allocations: 63.8 kB / 492.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.1229, allocations: 8 kB / 492.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.267e-05/0.1229, allocations: 27.97 kB / 492.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/0.123, allocations: 19.92 kB / 492.9 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.932e-05/0.123, allocations: 53.45 kB / 492.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.1232, allocations: 71.89 kB / 493 MB, free: 8.469 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1232, allocations: 3.938 kB / 493 MB, free: 8.465 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1232, allocations: 0 / 493 MB, free: 8.465 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1232, allocations: 0 / 493 MB, free: 8.465 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.0003986/0.1236, allocations: 419.1 kB / 493.4 MB, free: 8.008 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1236, allocations: 15.97 kB / 493.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.1237, allocations: 12.83 kB / 493.4 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.1238, allocations: 203.8 kB / 493.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.1239, allocations: 384 / 493.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.1239, allocations: 4.375 kB / 493.6 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.124, allocations: 57.8 kB / 493.7 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.124, allocations: 0 / 493.7 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.124, allocations: 0 / 493.7 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.1241, allocations: 0 / 493.7 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.596e-05/0.1241, allocations: 31.92 kB / 493.7 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003095/0.1245, allocations: 292.8 kB / 494 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.1247, allocations: 38.56 kB / 494 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.844e-05/0.1247, allocations: 20.86 kB / 494.1 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.1248, allocations: 7.984 kB / 494.1 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.1248, allocations: 38.58 kB / 494.1 MB, free: 7.184 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1248, allocations: 0 / 494.1 MB, free: 7.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005066/0.1253, allocations: 173 kB / 494.3 MB, free: 7.008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.1253, allocations: 55.41 kB / 494.3 MB, free: 6.941 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.1256, allocations: 259.3 kB / 494.6 MB, free: 6.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1256, allocations: 29.7 kB / 494.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.1257, allocations: 112.1 kB / 494.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.1257, allocations: 11.81 kB / 494.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.1257, allocations: 0 / 494.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.415e-05/0.1258, allocations: 330.8 kB / 495.1 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.421e-05/0.1259, allocations: 19.98 kB / 495.1 MB, free: 6.168 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.93e-05/0.1259, allocations: 28.05 kB / 495.1 MB, free: 6.141 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.1261, allocations: 52.83 kB / 495.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1261, allocations: 0 / 495.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001786/0.1263, allocations: 101.4 kB / 495.3 MB, free: 5.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1263, allocations: 8 kB / 495.3 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1263, allocations: 0 / 495.3 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.1263, allocations: 0 / 495.3 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.058e-05/0.1264, allocations: 15.98 kB / 495.3 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1264, allocations: 0 / 495.3 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.068e-05/0.1264, allocations: 11.92 kB / 495.3 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.1264, allocations: 0 / 495.3 MB, free: 5.945 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 8.825e-05/0.1265, allocations: 145.8 kB / 495.4 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.1266, allocations: 15.81 kB / 495.4 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.1268, allocations: 106.5 kB / 495.6 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1268, allocations: 0 / 495.6 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1268, allocations: 4 kB / 495.6 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1268, allocations: 4 kB / 495.6 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.1272, allocations: 366.4 kB / 495.9 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1272, allocations: 0 / 495.9 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.158e-05/0.1273, allocations: 11.98 kB / 495.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1273, allocations: 8.312 kB / 495.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1273, allocations: 0 / 495.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.1273, allocations: 7.938 kB / 495.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1273, allocations: 3.938 kB / 496 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.1275, allocations: 187.4 kB / 496.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.1276, allocations: 92.92 kB / 496.2 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.1276, allocations: 0 / 496.2 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.1277, allocations: 15.92 kB / 496.2 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.1277, allocations: 0 / 496.2 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.1277, allocations: 4 kB / 496.2 MB, free: 4.883 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.1279, allocations: 203.4 kB / 496.4 MB, free: 4.684 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1279, allocations: 4 kB / 496.4 MB, free: 4.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.1281, allocations: 12 kB / 496.5 MB, free: 4.668 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.0007761/0.1289, allocations: 407.1 kB / 496.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.1291, allocations: 55.91 kB / 496.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1291, allocations: 0 / 496.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.206e-05/0.1292, allocations: 31.98 kB / 496.9 MB, free: 4.227 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.1295, allocations: 11.98 kB / 497 MB, free: 4.215 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/0.1299, allocations: 311.8 kB / 497.3 MB, free: 3.875 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.1302, allocations: 0.7198 MB / 498 MB, free: 3.129 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.1302, allocations: 19.42 kB / 498 MB, free: 3.109 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1302, allocations: 3.938 kB / 498 MB, free: 3.105 MB / 378.7 MB Notification: Performance of Templates: time 0.002777/0.133, allocations: 1.575 MB / 499.6 MB, free: 1.531 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches