Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.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.CombiTable1D.Test30") translateModel(ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009763/0.0009764, allocations: 175.2 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.215/1.215, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0006914/0.0006914, allocations: 84.8 kB / 271.2 MB, free: 8.238 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.2805/0.2805, allocations: 43.56 MB / 363.1 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004095/0.0004096, allocations: 12 kB / 432 MB, free: 5.578 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09442/0.09485, allocations: 58.86 MB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test30): time 0.001659/0.09656, allocations: 1.267 MB / 492.1 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004904/0.09707, allocations: 299.8 kB / 492.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.708e-05/0.09711, allocations: 0 / 492.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.09735, allocations: 71.83 kB / 492.5 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.0975, allocations: 55.81 kB / 492.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.09773, allocations: 83.89 kB / 492.6 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.09787, allocations: 55.83 kB / 492.6 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.598e-05/0.09796, allocations: 15.98 kB / 492.7 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.688e-05/0.09802, allocations: 31.83 kB / 492.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.624e-05/0.09811, allocations: 35.91 kB / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.09813, allocations: 4 kB / 492.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.997e-05/0.0982, allocations: 31.97 kB / 492.8 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.756e-05/0.09824, allocations: 15.92 kB / 492.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.03e-05/0.09829, allocations: 45.52 kB / 492.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.0984, allocations: 63.91 kB / 492.9 MB, free: 8.559 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.09841, allocations: 0 / 492.9 MB, free: 8.559 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.09842, allocations: 0 / 492.9 MB, free: 8.559 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.09843, allocations: 0 / 492.9 MB, free: 8.559 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.0003912/0.09883, allocations: 399.2 kB / 493.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.09886, allocations: 8.031 kB / 493.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.0989, allocations: 12.84 kB / 493.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.09906, allocations: 200.1 kB / 493.5 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.09908, allocations: 384 / 493.5 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.0991, allocations: 4.312 kB / 493.5 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.09922, allocations: 53.81 kB / 493.5 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.09924, allocations: 4 kB / 493.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.09926, allocations: 0 / 493.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.09926, allocations: 0 / 493.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.375e-05/0.09936, allocations: 35.91 kB / 493.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.0997, allocations: 280.9 kB / 493.9 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.09988, allocations: 50.55 kB / 493.9 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.633e-05/0.09994, allocations: 16.86 kB / 493.9 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.09996, allocations: 4 kB / 493.9 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1, allocations: 42.58 kB / 494 MB, free: 7.309 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.1, allocations: 0 / 494 MB, free: 7.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004938/0.1005, allocations: 165.2 kB / 494.1 MB, free: 7.141 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.1005, allocations: 55.34 kB / 494.2 MB, free: 7.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.1007, allocations: 206.2 kB / 494.4 MB, free: 6.863 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1007, allocations: 25.7 kB / 494.4 MB, free: 6.832 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.1008, allocations: 100.1 kB / 494.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.1008, allocations: 27.69 kB / 494.5 MB, free: 6.703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.1008, allocations: 0 / 494.5 MB, free: 6.703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.1009, allocations: 322.8 kB / 494.9 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.296e-05/0.101, allocations: 27.97 kB / 494.9 MB, free: 6.352 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.713e-05/0.1011, allocations: 23.98 kB / 494.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1012, allocations: 60.83 kB / 495 MB, free: 6.266 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1012, allocations: 0 / 495 MB, free: 6.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000172/0.1014, allocations: 101.6 kB / 495.1 MB, free: 6.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1014, allocations: 4 kB / 495.1 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1014, allocations: 3.938 kB / 495.1 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.1014, allocations: 0 / 495.1 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.217e-05/0.1015, allocations: 12.25 kB / 495.1 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1015, allocations: 3.938 kB / 495.1 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.015e-05/0.1016, allocations: 12.27 kB / 495.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1016, allocations: 4 kB / 495.1 MB, free: 6.121 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 7.792e-05/0.1017, allocations: 137.8 kB / 495.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.1017, allocations: 7.906 kB / 495.2 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/0.1019, allocations: 106 kB / 495.3 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1019, allocations: 0 / 495.3 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1019, allocations: 7.938 kB / 495.4 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.102, allocations: 7.984 kB / 495.4 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.1023, allocations: 362.5 kB / 495.7 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1023, allocations: 0 / 495.7 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.186e-05/0.1024, allocations: 12 kB / 495.7 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1024, allocations: 4 kB / 495.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1024, allocations: 7.938 kB / 495.7 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.1024, allocations: 7.922 kB / 495.7 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1024, allocations: 0 / 495.7 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.1026, allocations: 195.3 kB / 495.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.1027, allocations: 89 kB / 496 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.1027, allocations: 0 / 496 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.556e-05/0.1028, allocations: 11.94 kB / 496 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.1028, allocations: 7.984 kB / 496 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1028, allocations: 192 / 496 MB, free: 5.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.1029, allocations: 164 kB / 496.2 MB, free: 4.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.103, allocations: 0 / 496.2 MB, free: 4.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000213/0.1032, allocations: 12 kB / 496.2 MB, free: 4.898 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.0007702/0.1039, allocations: 414.4 kB / 496.6 MB, free: 4.535 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.1041, allocations: 63.89 kB / 496.7 MB, free: 4.473 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1041, allocations: 0 / 496.7 MB, free: 4.473 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.393e-05/0.1042, allocations: 31.98 kB / 496.7 MB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.1045, allocations: 19.92 kB / 496.7 MB, free: 4.422 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.1049, allocations: 262.9 kB / 497 MB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.1052, allocations: 0.7004 MB / 497.7 MB, free: 3.398 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.1052, allocations: 15.42 kB / 497.7 MB, free: 3.383 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1052, allocations: 0 / 497.7 MB, free: 3.383 MB / 378.7 MB Notification: Performance of Templates: time 0.002625/0.1078, allocations: 1.489 MB / 499.2 MB, free: 1.895 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches