Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001518/0.001518, allocations: 187.1 kB / 18.71 MB, free: 4.371 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.516/1.516, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2257/0.2257, allocations: 44.19 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 63.89 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5163/0.5178, allocations: 60.82 MB / 0.5189 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003313/0.5212, allocations: 1.584 MB / 0.5205 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008865/0.5221, allocations: 410.1 kB / 0.5209 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.271e-05/0.5222, allocations: 8.906 kB / 0.5209 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.5225, allocations: 72.72 kB / 0.5209 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.5228, allocations: 67.98 kB / 0.521 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.5231, allocations: 108 kB / 0.5211 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.5233, allocations: 74.03 kB / 0.5212 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.5234, allocations: 22.45 kB / 0.5212 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.459e-05/0.5235, allocations: 34.86 kB / 0.5212 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.5236, allocations: 49 kB / 0.5213 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.5236, allocations: 7.188 kB / 0.5213 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.5237, allocations: 39.78 kB / 0.5213 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.79e-05/0.5238, allocations: 19.73 kB / 0.5213 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.5238, allocations: 31.14 kB / 0.5214 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.524, allocations: 102.5 kB / 0.5215 GB, free: 2.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5241, allocations: 1.188 kB / 0.5215 GB, free: 2.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5241, allocations: 8.688 kB / 0.5215 GB, free: 2.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.5241, allocations: 0 / 0.5215 GB, free: 2.238 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004175/0.5245, allocations: 405 kB / 0.5219 GB, free: 1.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.5245, allocations: 10.23 kB / 0.5219 GB, free: 1.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.5246, allocations: 9.656 kB / 0.5219 GB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.5247, allocations: 193.6 kB / 0.5221 GB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.5248, allocations: 6.375 kB / 0.5221 GB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.5248, allocations: 6.266 kB / 0.5221 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.525, allocations: 62.59 kB / 0.5221 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.525, allocations: 3.938 kB / 0.5221 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.525, allocations: 0 / 0.5221 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.525, allocations: 1.281 kB / 0.5221 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.5251, allocations: 26.41 kB / 0.5222 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.5255, allocations: 300.2 kB / 0.5225 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.5256, allocations: 53.64 kB / 0.5225 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.5257, allocations: 20.12 kB / 0.5225 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.5257, allocations: 0 / 0.5225 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.5257, allocations: 33.02 kB / 0.5226 GB, free: 1.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.5257, allocations: 0 / 0.5226 GB, free: 1.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009014/0.5266, allocations: 242.2 kB / 0.5228 GB, free: 1.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.5267, allocations: 53.14 kB / 0.5228 GB, free: 1.016 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.5269, allocations: 206.4 kB / 0.523 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.5269, allocations: 29.7 kB / 0.5231 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.527, allocations: 109 kB / 0.5232 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.527, allocations: 29 kB / 0.5232 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.527, allocations: 26.12 kB / 0.5232 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.897e-05/0.5271, allocations: 321.6 kB / 0.5235 GB, free: 392 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/0.5272, allocations: 30.48 kB / 0.5236 GB, free: 384 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.5273, allocations: 30.34 kB / 0.5236 GB, free: 376 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.5274, allocations: 76.08 kB / 0.5237 GB, free: 344 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.5274, allocations: 0 / 0.5237 GB, free: 344 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002161/0.5277, allocations: 117.2 kB / 0.5238 GB, free: 280 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5277, allocations: 5.312 kB / 0.5238 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5277, allocations: 1.125 kB / 0.5238 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.5277, allocations: 0 / 0.5238 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.5278, allocations: 17.86 kB / 0.5238 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.5278, allocations: 3.938 kB / 0.5238 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.5279, allocations: 5.297 kB / 0.5238 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.5279, allocations: 6.156 kB / 0.5238 GB, free: 272 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 (8): * Single equations (assignments): 8 * 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 8.327e-05/0.528, allocations: 132.9 kB / 0.5239 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.528, allocations: 9.891 kB / 0.5239 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.5283, allocations: 125.1 kB / 0.5241 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.5283, allocations: 5.469 kB / 0.5241 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5284, allocations: 3.938 kB / 0.5241 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5284, allocations: 2.141 kB / 0.5241 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006838/0.5291, allocations: 420.3 kB / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5291, allocations: 0 / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.827e-05/0.5291, allocations: 24.97 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5292, allocations: 2.125 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.5292, allocations: 1.375 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.5292, allocations: 2 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5292, allocations: 80 / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.5296, allocations: 218 kB / 0.5247 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.5297, allocations: 92 kB / 0.5248 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.5297, allocations: 1.797 kB / 0.5248 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.5298, allocations: 13.91 kB / 0.5248 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.5298, allocations: 9.547 kB / 0.5248 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.5298, allocations: 3.359 kB / 0.5248 GB, free: 15.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002079/0.5301, allocations: 159.7 kB / 0.525 GB, free: 15.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5301, allocations: 3.938 kB / 0.525 GB, free: 15.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.5303, allocations: 24.78 kB / 0.525 GB, free: 15.3 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001122/0.5314, allocations: 446.4 kB / 0.5254 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002725/0.5317, allocations: 79.36 kB / 0.5255 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5317, allocations: 1.062 kB / 0.5255 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.5319, allocations: 39.06 kB / 0.5255 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.5322, allocations: 25.61 kB / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005645/0.5328, allocations: 264.2 kB / 0.5258 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.5332, allocations: 0.7134 MB / 0.5265 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.82e-05/0.5333, allocations: 23.05 kB / 0.5265 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.5333, allocations: 14.27 kB / 0.5266 GB, free: 14.14 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5333, allocations: 0 / 0.5266 GB, free: 14.14 MB / 398.1 MB Notification: Performance of Templates: time 0.005211/0.5386, allocations: 1.374 MB / 0.5279 GB, free: 13.68 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches