Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 114.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 187 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1866/0.1866, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 59.89 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2833, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002233/0.2855, allocations: 1.566 MB / 0.5204 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000562/0.2861, allocations: 396.4 kB / 0.5208 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.32e-05/0.2862, allocations: 1.125 kB / 0.5208 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.2863, allocations: 25.3 kB / 0.5208 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.2865, allocations: 36.67 kB / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.2867, allocations: 95.8 kB / 0.521 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.2868, allocations: 50.67 kB / 0.521 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.379e-05/0.2869, allocations: 16.62 kB / 0.521 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.701e-05/0.287, allocations: 22.5 kB / 0.5211 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.287, allocations: 15.72 kB / 0.5211 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.287, allocations: 6.188 kB / 0.5211 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-05/0.2871, allocations: 33.75 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.999e-05/0.2871, allocations: 14.41 kB / 0.5211 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.2872, allocations: 21.62 kB / 0.5211 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.2873, allocations: 78.67 kB / 0.5212 GB, free: 2.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2873, allocations: 0 / 0.5212 GB, free: 2.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2873, allocations: 4 kB / 0.5212 GB, free: 2.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.2873, allocations: 1.031 kB / 0.5212 GB, free: 2.066 MB / 382.1 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.0003138/0.2877, allocations: 376.9 kB / 0.5216 GB, free: 1.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.2877, allocations: 9.031 kB / 0.5216 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.2877, allocations: 3.812 kB / 0.5216 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.2878, allocations: 197.5 kB / 0.5218 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.732e-06/0.2878, allocations: 1.625 kB / 0.5218 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.2879, allocations: 3.031 kB / 0.5218 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.288, allocations: 56.62 kB / 0.5218 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.288, allocations: 0 / 0.5218 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.288, allocations: 1.094 kB / 0.5218 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.288, allocations: 9 kB / 0.5219 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.938e-05/0.2881, allocations: 22.02 kB / 0.5219 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002319/0.2883, allocations: 277.5 kB / 0.5221 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.2885, allocations: 43.83 kB / 0.5222 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.25e-05/0.2886, allocations: 18 kB / 0.5222 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.2886, allocations: 1.812 kB / 0.5222 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.03e-05/0.2886, allocations: 32.27 kB / 0.5222 GB, free: 1.043 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.2886, allocations: 0 / 0.5222 GB, free: 1.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004345/0.289, allocations: 138.7 kB / 0.5224 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.727e-05/0.2891, allocations: 57.66 kB / 0.5224 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.2892, allocations: 152.3 kB / 0.5226 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.252e-06/0.2892, allocations: 25.7 kB / 0.5226 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.714e-05/0.2892, allocations: 101.9 kB / 0.5227 GB, free: 0.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.2892, allocations: 12.05 kB / 0.5227 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.2893, allocations: 18.19 kB / 0.5227 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.776e-05/0.2893, allocations: 323.9 kB / 0.523 GB, free: 328 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.109e-05/0.2894, allocations: 25.8 kB / 0.523 GB, free: 316 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.96e-05/0.2894, allocations: 19.48 kB / 0.5231 GB, free: 312 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.2896, allocations: 42.91 kB / 0.5231 GB, free: 296 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.2896, allocations: 0 / 0.5231 GB, free: 296 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001429/0.2897, allocations: 80.61 kB / 0.5232 GB, free: 248 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.2897, allocations: 6.156 kB / 0.5232 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2897, allocations: 4 kB / 0.5232 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2897, allocations: 1.672 kB / 0.5232 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.516e-05/0.2898, allocations: 15.52 kB / 0.5232 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.2898, allocations: 1.156 kB / 0.5232 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.444e-05/0.2899, allocations: 4.25 kB / 0.5232 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.2899, allocations: 6.188 kB / 0.5232 GB, free: 236 kB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.2899, allocations: 117.1 kB / 0.5233 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.29, allocations: 7.609 kB / 0.5233 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.2901, allocations: 93.17 kB / 0.5234 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2901, allocations: 1.719 kB / 0.5234 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2902, allocations: 0 / 0.5234 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.2902, allocations: 6.219 kB / 0.5234 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.2905, allocations: 342 kB / 0.5238 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2905, allocations: 3.984 kB / 0.5238 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.901e-05/0.2906, allocations: 12.8 kB / 0.5238 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2906, allocations: 4 kB / 0.5238 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.2906, allocations: 1.781 kB / 0.5238 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.2906, allocations: 7.922 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2906, allocations: 1.062 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.2908, allocations: 177.5 kB / 0.524 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.2909, allocations: 86.64 kB / 0.524 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.2909, allocations: 5.828 kB / 0.5241 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.496e-05/0.291, allocations: 17.02 kB / 0.5241 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.291, allocations: 3.547 kB / 0.5241 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.291, allocations: 1.656 kB / 0.5241 GB, free: 15.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.836e-05/0.2911, allocations: 123.2 kB / 0.5242 GB, free: 15.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2911, allocations: 0 / 0.5242 GB, free: 15.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.2913, allocations: 10.83 kB / 0.5242 GB, free: 15.35 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007941/0.2921, allocations: 397.5 kB / 0.5246 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.2923, allocations: 51.73 kB / 0.5246 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2923, allocations: 0 / 0.5246 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.381e-05/0.2924, allocations: 23.11 kB / 0.5247 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.2927, allocations: 22.89 kB / 0.5247 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.293, allocations: 175.7 kB / 0.5248 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.2932, allocations: 0.6989 MB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.58e-05/0.2932, allocations: 6.062 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.2933, allocations: 12.67 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of SimCode: time 1.764e-06/0.2933, allocations: 0 / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of Templates: time 0.003121/0.2964, allocations: 1.125 MB / 0.5266 GB, free: 14.12 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches