Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009219/0.0009221, allocations: 175.5 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.223/1.223, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0006689/0.000669, allocations: 81.42 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.2765/0.2765, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003565, allocations: 8 kB / 432 MB, free: 5.586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09334/0.09372, allocations: 58.85 MB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.001518/0.09528, allocations: 1.263 MB / 492.1 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.0963, allocations: 0.8871 MB / 493 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.15e-05/0.09635, allocations: 4 kB / 493 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.09651, allocations: 19.91 kB / 493 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.09665, allocations: 35.84 kB / 493 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.09684, allocations: 63.86 kB / 493.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.09696, allocations: 47.84 kB / 493.1 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.473e-05/0.09704, allocations: 11.98 kB / 493.2 MB, free: 8.297 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.98e-05/0.09709, allocations: 23.91 kB / 493.2 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.677e-05/0.09719, allocations: 23.86 kB / 493.2 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.09721, allocations: 4 kB / 493.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.767e-05/0.0973, allocations: 35.98 kB / 493.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.227e-05/0.09734, allocations: 15.97 kB / 493.3 MB, free: 8.195 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.09738, allocations: 41.58 kB / 493.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.0975, allocations: 55.91 kB / 493.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.09751, allocations: 0 / 493.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.09752, allocations: 0 / 493.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.09753, allocations: 4 kB / 493.4 MB, free: 8.09 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.0003646/0.0979, allocations: 379.5 kB / 493.7 MB, free: 7.672 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.09793, allocations: 8.031 kB / 493.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.09797, allocations: 8.844 kB / 493.7 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.09813, allocations: 188.2 kB / 493.9 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.821e-06/0.09815, allocations: 384 / 493.9 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.09817, allocations: 4.375 kB / 493.9 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.09831, allocations: 71.52 kB / 494 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.09833, allocations: 0 / 494 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.09834, allocations: 0 / 494 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.09835, allocations: 0 / 494 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.49e-05/0.09844, allocations: 27.92 kB / 494 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.09873, allocations: 276.9 kB / 494.3 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.09891, allocations: 42.56 kB / 494.3 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.796e-05/0.09896, allocations: 16.94 kB / 494.4 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.09899, allocations: 4 kB / 494.4 MB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.09902, allocations: 38.5 kB / 494.4 MB, free: 6.879 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.09902, allocations: 0 / 494.4 MB, free: 6.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004695/0.0995, allocations: 153.6 kB / 494.5 MB, free: 6.723 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.09956, allocations: 81.05 kB / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.09967, allocations: 133.8 kB / 494.8 MB, free: 6.484 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.09969, allocations: 25.7 kB / 494.8 MB, free: 6.453 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.382e-05/0.09974, allocations: 88.14 kB / 494.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.09976, allocations: 23.67 kB / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/0.09977, allocations: 3.938 kB / 494.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.966e-05/0.09987, allocations: 322.8 kB / 495.2 MB, free: 6.012 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.429e-05/0.09994, allocations: 23.98 kB / 495.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.408e-05/0.1, allocations: 37.69 kB / 495.3 MB, free: 5.945 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.1001, allocations: 57.06 kB / 495.3 MB, free: 5.887 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1002, allocations: 0 / 495.3 MB, free: 5.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001659/0.1003, allocations: 85.52 kB / 495.4 MB, free: 5.797 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1003, allocations: 11.98 kB / 495.4 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1004, allocations: 0 / 495.4 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.1004, allocations: 0 / 495.4 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.789e-05/0.1004, allocations: 16 kB / 495.4 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1004, allocations: 0 / 495.4 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.1005, allocations: 15.97 kB / 495.4 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1005, allocations: 4 kB / 495.5 MB, free: 5.75 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.273e-05/0.1006, allocations: 121.8 kB / 495.6 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.1006, allocations: 3.906 kB / 495.6 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.1008, allocations: 101.6 kB / 495.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1008, allocations: 0 / 495.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1008, allocations: 0 / 495.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1009, allocations: 0 / 495.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.1012, allocations: 358.5 kB / 496 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1013, allocations: 4 kB / 496 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.273e-05/0.1013, allocations: 11.98 kB / 496 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1013, allocations: 4 kB / 496 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.1013, allocations: 0 / 496 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1013, allocations: 3.938 kB / 496 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1014, allocations: 3.938 kB / 496.1 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.1016, allocations: 187.6 kB / 496.2 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.1016, allocations: 85 kB / 496.3 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.1016, allocations: 4 kB / 496.3 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.1017, allocations: 15.94 kB / 496.3 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.1017, allocations: 3.984 kB / 496.3 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.1018, allocations: 4 kB / 496.3 MB, free: 4.754 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.43e-05/0.1018, allocations: 103.8 kB / 496.4 MB, free: 4.652 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1018, allocations: 0 / 496.4 MB, free: 4.652 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002252/0.1021, allocations: 31.92 kB / 496.5 MB, free: 4.621 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.0007777/0.1028, allocations: 433.8 kB / 496.9 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.103, allocations: 55.91 kB / 497 MB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.103, allocations: 0 / 497 MB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.127e-05/0.1031, allocations: 31.98 kB / 497 MB, free: 4.156 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.1034, allocations: 23.91 kB / 497 MB, free: 4.133 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.1037, allocations: 186.3 kB / 497.2 MB, free: 3.914 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.1039, allocations: 0.6887 MB / 497.9 MB, free: 3.199 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.104, allocations: 27.36 kB / 497.9 MB, free: 3.172 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.104, allocations: 0 / 497.9 MB, free: 3.172 MB / 378.7 MB Notification: Performance of Templates: time 0.002575/0.1065, allocations: 1.536 MB / 499.4 MB, free: 1.641 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches