Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.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.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009632/0.0009632, allocations: 170.7 kB / 16.72 MB, free: 5.055 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.224/1.224, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007275/0.0007276, allocations: 86.39 kB / 271.2 MB, free: 8.254 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.2961/0.2961, allocations: 43.56 MB / 363.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003224, allocations: 12 kB / 432 MB, free: 5.602 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09198/0.09232, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.00167/0.09402, allocations: 1.313 MB / 492.1 MB, free: 9.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005111/0.09456, allocations: 323.7 kB / 492.5 MB, free: 9.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.09461, allocations: 4 kB / 492.5 MB, free: 9.016 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.09482, allocations: 43.88 kB / 492.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.09496, allocations: 47.83 kB / 492.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.09529, allocations: 139.8 kB / 492.7 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.09542, allocations: 59.83 kB / 492.7 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.615e-05/0.09551, allocations: 23.78 kB / 492.8 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.541e-05/0.09557, allocations: 27.91 kB / 492.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.292e-05/0.09565, allocations: 31.84 kB / 492.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.09567, allocations: 4 kB / 492.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.272e-05/0.09574, allocations: 27.98 kB / 492.9 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.008e-05/0.09579, allocations: 23.91 kB / 492.9 MB, free: 8.594 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.09584, allocations: 45.52 kB / 492.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.09596, allocations: 68.12 kB / 493 MB, free: 8.477 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.09597, allocations: 0 / 493 MB, free: 8.477 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.09598, allocations: 0 / 493 MB, free: 8.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.09598, allocations: 0 / 493 MB, free: 8.477 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004005/0.09639, allocations: 395.2 kB / 493.4 MB, free: 8.043 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.09643, allocations: 8.031 kB / 493.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.09647, allocations: 8.844 kB / 493.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.09663, allocations: 196.1 kB / 493.6 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-06/0.09665, allocations: 384 / 493.6 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.09667, allocations: 4.359 kB / 493.6 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.09683, allocations: 77.73 kB / 493.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.09685, allocations: 0 / 493.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.09687, allocations: 0 / 493.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.09687, allocations: 0 / 493.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.09701, allocations: 47.97 kB / 493.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.09743, allocations: 304.8 kB / 494 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.09756, allocations: 58.47 kB / 494.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.231e-05/0.09764, allocations: 32.94 kB / 494.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.09767, allocations: 0 / 494.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.09769, allocations: 34.56 kB / 494.1 MB, free: 7.172 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.0977, allocations: 0 / 494.1 MB, free: 7.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000729/0.09843, allocations: 269.1 kB / 494.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.09848, allocations: 51.41 kB / 494.4 MB, free: 6.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.09862, allocations: 173.6 kB / 494.6 MB, free: 6.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.09865, allocations: 29.7 kB / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.0987, allocations: 100.1 kB / 494.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.09873, allocations: 23.59 kB / 494.8 MB, free: 6.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.09874, allocations: 0 / 494.8 MB, free: 6.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.318e-05/0.09884, allocations: 326.8 kB / 495.1 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.09896, allocations: 43.97 kB / 495.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.09908, allocations: 51.97 kB / 495.2 MB, free: 6.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.09931, allocations: 100.8 kB / 495.3 MB, free: 5.977 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.09932, allocations: 7.938 kB / 495.3 MB, free: 5.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002727/0.09959, allocations: 145.7 kB / 495.4 MB, free: 5.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.09961, allocations: 4 kB / 495.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.09962, allocations: 4 kB / 495.4 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.09964, allocations: 0 / 495.4 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.09975, allocations: 23.98 kB / 495.5 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.09976, allocations: 3.938 kB / 495.5 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.592e-05/0.09983, allocations: 15.98 kB / 495.5 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.09984, allocations: 0 / 495.5 MB, free: 5.77 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 (7): * Single equations (assignments): 7 * 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.766e-05/0.09993, allocations: 133.8 kB / 495.6 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.09997, allocations: 7.906 kB / 495.6 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/0.1003, allocations: 158.3 kB / 495.8 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1003, allocations: 0 / 495.8 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1003, allocations: 7.938 kB / 495.8 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1003, allocations: 0 / 495.8 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005222/0.1009, allocations: 426.4 kB / 496.2 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1009, allocations: 0 / 496.2 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.919e-05/0.101, allocations: 23.98 kB / 496.2 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.101, allocations: 3.938 kB / 496.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.101, allocations: 0 / 496.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.101, allocations: 4 kB / 496.2 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.101, allocations: 0 / 496.2 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.1013, allocations: 235.4 kB / 496.5 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.1014, allocations: 92.94 kB / 496.5 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.1014, allocations: 4 kB / 496.5 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.072e-05/0.1015, allocations: 15.92 kB / 496.6 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.1015, allocations: 4 kB / 496.6 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.1015, allocations: 4 kB / 496.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.167e-05/0.1016, allocations: 131.2 kB / 496.7 MB, free: 4.441 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1016, allocations: 3.938 kB / 496.7 MB, free: 4.438 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002199/0.1019, allocations: 24 kB / 496.7 MB, free: 4.414 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 (7): * Single equations (assignments): 7 * 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.0007427/0.1026, allocations: 399.3 kB / 497.1 MB, free: 4.059 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000274/0.1029, allocations: 103.9 kB / 497.2 MB, free: 3.957 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1029, allocations: 0 / 497.2 MB, free: 3.957 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.103, allocations: 63.89 kB / 497.3 MB, free: 3.895 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.1033, allocations: 19.88 kB / 497.3 MB, free: 3.875 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.1037, allocations: 266.8 kB / 497.6 MB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.104, allocations: 0.7082 MB / 498.3 MB, free: 2.848 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.104, allocations: 15.42 kB / 498.3 MB, free: 2.832 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.104, allocations: 0 / 498.3 MB, free: 2.832 MB / 378.7 MB Notification: Performance of Templates: time 0.002825/0.1069, allocations: 1.634 MB / 499.9 MB, free: 1.199 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches