Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 117.2 kB / 17.78 MB, free: 5.262 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.001412/0.001412, allocations: 185 kB / 18.71 MB, free: 4.34 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.496/1.496, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.236/0.236, allocations: 44.18 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 71.89 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4525/0.4544, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003578/0.458, allocations: 1.583 MB / 0.5205 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008205/0.4589, allocations: 410.5 kB / 0.5209 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.028e-05/0.459, allocations: 1.188 kB / 0.5209 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.4593, allocations: 68.03 kB / 0.5209 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.4596, allocations: 68.45 kB / 0.521 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.46, allocations: 88.73 kB / 0.5211 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.4602, allocations: 77.88 kB / 0.5212 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.4603, allocations: 14.5 kB / 0.5212 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.26e-05/0.4604, allocations: 33.36 kB / 0.5212 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.4606, allocations: 54.47 kB / 0.5213 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.4606, allocations: 6.719 kB / 0.5213 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.4607, allocations: 47.5 kB / 0.5213 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.268e-05/0.4608, allocations: 18.39 kB / 0.5213 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.4608, allocations: 27.22 kB / 0.5213 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.4611, allocations: 102.6 kB / 0.5214 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4611, allocations: 1.672 kB / 0.5214 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4611, allocations: 0 / 0.5214 GB, free: 1.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.4611, allocations: 0 / 0.5214 GB, free: 1.992 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.0005249/0.4616, allocations: 405.2 kB / 0.5218 GB, free: 1.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4617, allocations: 13 kB / 0.5218 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/0.4618, allocations: 10.16 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.4619, allocations: 193.4 kB / 0.522 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.462, allocations: 5.562 kB / 0.522 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.462, allocations: 4.422 kB / 0.5221 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.4622, allocations: 59.69 kB / 0.5221 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.4622, allocations: 5 kB / 0.5221 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.4622, allocations: 4 kB / 0.5221 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.4622, allocations: 1.031 kB / 0.5221 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.4623, allocations: 28.91 kB / 0.5221 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.4627, allocations: 289.6 kB / 0.5224 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.4628, allocations: 50.72 kB / 0.5225 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.4629, allocations: 15.16 kB / 0.5225 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.4629, allocations: 1.953 kB / 0.5225 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.4629, allocations: 36.36 kB / 0.5225 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.4629, allocations: 0 / 0.5225 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009138/0.4639, allocations: 217.6 kB / 0.5227 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.4639, allocations: 53.48 kB / 0.5228 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.4641, allocations: 213.6 kB / 0.523 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.4641, allocations: 27.94 kB / 0.523 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.4642, allocations: 107.9 kB / 0.5231 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.4642, allocations: 28.81 kB / 0.5231 GB, free: 496 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.4643, allocations: 21.02 kB / 0.5232 GB, free: 476 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.042e-05/0.4643, allocations: 326.6 kB / 0.5235 GB, free: 148 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.059e-05/0.4644, allocations: 21.42 kB / 0.5235 GB, free: 144 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.127e-05/0.4645, allocations: 31.03 kB / 0.5235 GB, free: 132 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.4647, allocations: 59.66 kB / 0.5236 GB, free: 108 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4647, allocations: 0 / 0.5236 GB, free: 108 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002174/0.4649, allocations: 100.9 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.4649, allocations: 5.469 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.4649, allocations: 1.5 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.465, allocations: 0.75 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.4651, allocations: 24.2 kB / 0.5237 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.4651, allocations: 4.938 kB / 0.5237 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.413e-05/0.4651, allocations: 5.812 kB / 0.5237 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.4651, allocations: 6.188 kB / 0.5237 GB, free: 36 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 0.0001228/0.4653, allocations: 123 kB / 0.5238 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.4653, allocations: 8.875 kB / 0.5238 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.4656, allocations: 125.8 kB / 0.524 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4656, allocations: 1.094 kB / 0.524 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4656, allocations: 4.844 kB / 0.524 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.4656, allocations: 0.5625 kB / 0.524 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005575/0.4662, allocations: 404.7 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4662, allocations: 3.938 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-05/0.4663, allocations: 22 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4663, allocations: 4.031 kB / 0.5244 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.4663, allocations: 2 kB / 0.5244 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.4663, allocations: 2.484 kB / 0.5244 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4663, allocations: 3.938 kB / 0.5244 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.4666, allocations: 194.8 kB / 0.5246 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.4667, allocations: 97.81 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.4667, allocations: 4 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.5e-05/0.4668, allocations: 6.578 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.4668, allocations: 5.625 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.4669, allocations: 6.969 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001437/0.467, allocations: 159.5 kB / 0.5248 GB, free: 15.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.467, allocations: 0 / 0.5248 GB, free: 15.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.4673, allocations: 19.25 kB / 0.5249 GB, free: 15.09 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.001099/0.4684, allocations: 457.8 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.4686, allocations: 65.61 kB / 0.5254 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4686, allocations: 0 / 0.5254 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.195e-05/0.4687, allocations: 33.97 kB / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.4691, allocations: 22.53 kB / 0.5254 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005093/0.4696, allocations: 252 kB / 0.5257 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.4699, allocations: 0.7073 MB / 0.5264 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.153e-05/0.47, allocations: 17.88 kB / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.47, allocations: 13.55 kB / 0.5264 GB, free: 13.94 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.47, allocations: 0 / 0.5264 GB, free: 13.94 MB / 398.1 MB Notification: Performance of Templates: time 0.004626/0.4747, allocations: 1.329 MB / 0.5277 GB, free: 13.57 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches