Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.CombiTable1Dv.Test12,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.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,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.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 110.5 kB / 18.46 MB, free: 4.598 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.001072/0.001072, allocations: 187.2 kB / 19.38 MB, free: 3.68 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.314/1.314, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.1994/0.1994, allocations: 44.19 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 59.89 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2803, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002433/0.2828, allocations: 1.563 MB / 0.5211 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006237/0.2834, allocations: 405.6 kB / 0.5215 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.912e-05/0.2835, allocations: 1.156 kB / 0.5215 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.2837, allocations: 32.52 kB / 0.5215 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.2839, allocations: 37.22 kB / 0.5216 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.2842, allocations: 112.6 kB / 0.5217 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.2843, allocations: 54.67 kB / 0.5217 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.397e-05/0.2844, allocations: 16.77 kB / 0.5217 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.023e-05/0.2844, allocations: 18.39 kB / 0.5218 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.139e-05/0.2845, allocations: 24.39 kB / 0.5218 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.2845, allocations: 2.469 kB / 0.5218 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.845e-05/0.2846, allocations: 30.39 kB / 0.5218 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.565e-05/0.2846, allocations: 19.44 kB / 0.5218 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.2847, allocations: 25.2 kB / 0.5219 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.2848, allocations: 81.94 kB / 0.5219 GB, free: 2.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2848, allocations: 0 / 0.5219 GB, free: 2.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2848, allocations: 0 / 0.5219 GB, free: 2.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.2848, allocations: 0 / 0.5219 GB, free: 2.039 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.0003313/0.2852, allocations: 382.6 kB / 0.5223 GB, free: 1.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2852, allocations: 8.375 kB / 0.5223 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.2853, allocations: 8.25 kB / 0.5223 GB, free: 1.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.2854, allocations: 195.3 kB / 0.5225 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.2854, allocations: 3.109 kB / 0.5225 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.2854, allocations: 1.531 kB / 0.5225 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.2855, allocations: 58.03 kB / 0.5226 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2856, allocations: 3.906 kB / 0.5226 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.2856, allocations: 5.031 kB / 0.5226 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2856, allocations: 1.578 kB / 0.5226 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.114e-05/0.2857, allocations: 23.19 kB / 0.5226 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/0.286, allocations: 281.7 kB / 0.5229 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.2862, allocations: 42.05 kB / 0.5229 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.2862, allocations: 21.7 kB / 0.5229 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.2863, allocations: 1.828 kB / 0.5229 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.089e-05/0.2863, allocations: 31.75 kB / 0.523 GB, free: 1.012 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.2863, allocations: 4 kB / 0.523 GB, free: 1.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004974/0.2868, allocations: 151.5 kB / 0.5231 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.503e-05/0.2868, allocations: 56.41 kB / 0.5232 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.287, allocations: 164.8 kB / 0.5233 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.158e-06/0.287, allocations: 31.11 kB / 0.5233 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.287, allocations: 98.22 kB / 0.5234 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.287, allocations: 15.2 kB / 0.5235 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.2871, allocations: 19.45 kB / 0.5235 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.2871, allocations: 323.7 kB / 0.5238 GB, free: 284 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.359e-05/0.2872, allocations: 20.62 kB / 0.5238 GB, free: 280 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.219e-05/0.2873, allocations: 21.42 kB / 0.5238 GB, free: 276 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.2874, allocations: 50.58 kB / 0.5239 GB, free: 256 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.2874, allocations: 5.062 kB / 0.5239 GB, free: 252 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001707/0.2876, allocations: 89.92 kB / 0.524 GB, free: 200 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2876, allocations: 5.406 kB / 0.524 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2876, allocations: 0 / 0.524 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2876, allocations: 0.7969 kB / 0.524 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.073e-05/0.2877, allocations: 12.14 kB / 0.524 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.2877, allocations: 1.188 kB / 0.524 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.994e-05/0.2878, allocations: 4.469 kB / 0.524 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.2878, allocations: 1.922 kB / 0.524 GB, free: 200 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 5.506e-05/0.2878, allocations: 131 kB / 0.5241 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.2879, allocations: 11.34 kB / 0.5241 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.2881, allocations: 103.2 kB / 0.5242 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2881, allocations: 1.828 kB / 0.5242 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2882, allocations: 0 / 0.5242 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.2882, allocations: 80.05 kB / 0.5243 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.2882, allocations: 5.734 kB / 0.5243 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.246e-05/0.2883, allocations: 12.58 kB / 0.5243 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.2883, allocations: 3.75 kB / 0.5243 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002146/0.2886, allocations: 161.6 kB / 0.5245 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002406/0.2888, allocations: 262.5 kB / 0.5247 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.765e-05/0.2889, allocations: 28.38 kB / 0.5247 GB, free: 15.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.011e-05/0.289, allocations: 130.7 kB / 0.5249 GB, free: 15.44 MB / 398.1 MB Notification: Performance of Backend: time 2.2e-07/0.289, allocations: 0 / 0.5249 GB, free: 15.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.2902, allocations: 424.3 kB / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005514/0.2907, allocations: 0.6289 MB / 0.5259 GB, free: 14.65 MB / 398.1 MB Notification: Performance of Templates: time 0.003506/0.2942, allocations: 1.273 MB / 0.5271 GB, free: 14.43 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches