Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,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.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 113.2 kB / 17.78 MB, free: 5.277 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.001686/0.001686, allocations: 184.2 kB / 18.72 MB, free: 4.352 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.383/1.383, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2541/0.2541, allocations: 44.2 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 60.14 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3673, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002557/0.3698, allocations: 1.601 MB / 0.5205 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006708/0.3705, allocations: 403.5 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.747e-05/0.3706, allocations: 0.875 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.3709, allocations: 126 kB / 0.521 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.3711, allocations: 88.2 kB / 0.5211 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.3713, allocations: 77.41 kB / 0.5212 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.3715, allocations: 95.67 kB / 0.5212 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3716, allocations: 11.22 kB / 0.5213 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.935e-05/0.3717, allocations: 48.95 kB / 0.5213 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.3719, allocations: 79.11 kB / 0.5214 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.3719, allocations: 3.281 kB / 0.5214 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-05/0.372, allocations: 43.5 kB / 0.5214 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.76e-05/0.372, allocations: 27.06 kB / 0.5215 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.3721, allocations: 38.8 kB / 0.5215 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.3723, allocations: 119.9 kB / 0.5216 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3723, allocations: 5.609 kB / 0.5216 GB, free: 1.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3723, allocations: 3.938 kB / 0.5216 GB, free: 1.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.3723, allocations: 0 / 0.5216 GB, free: 1.98 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.000416/0.3727, allocations: 426.8 kB / 0.522 GB, free: 1.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3727, allocations: 10.31 kB / 0.522 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.3728, allocations: 15.53 kB / 0.522 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.3729, allocations: 203.7 kB / 0.5222 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.3729, allocations: 9.75 kB / 0.5222 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.3729, allocations: 3.438 kB / 0.5223 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.3731, allocations: 56.47 kB / 0.5223 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3731, allocations: 4.703 kB / 0.5223 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.3731, allocations: 0 / 0.5223 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3731, allocations: 1.375 kB / 0.5223 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.3732, allocations: 28.98 kB / 0.5223 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.3735, allocations: 303.5 kB / 0.5226 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.742e-05/0.3736, allocations: 41.66 kB / 0.5227 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.3737, allocations: 19.08 kB / 0.5227 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.3737, allocations: 1.922 kB / 0.5227 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.3737, allocations: 30.56 kB / 0.5227 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.3737, allocations: 0.9688 kB / 0.5227 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000895/0.3746, allocations: 236 kB / 0.5229 GB, free: 0.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.3746, allocations: 54.5 kB / 0.523 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.3749, allocations: 276.2 kB / 0.5233 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.3749, allocations: 25.7 kB / 0.5233 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.375, allocations: 111.9 kB / 0.5234 GB, free: 456 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.375, allocations: 29.55 kB / 0.5234 GB, free: 432 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.375, allocations: 28.91 kB / 0.5234 GB, free: 404 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.17e-05/0.3751, allocations: 328.2 kB / 0.5238 GB, free: 76 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.222e-05/0.3752, allocations: 22.28 kB / 0.5238 GB, free: 72 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.02e-05/0.3752, allocations: 23.28 kB / 0.5238 GB, free: 68 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.3754, allocations: 58.53 kB / 0.5239 GB, free: 44 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3754, allocations: 1.5 kB / 0.5239 GB, free: 44 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002326/0.3756, allocations: 109.7 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3756, allocations: 6.016 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3756, allocations: 0 / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3757, allocations: 5.578 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.3758, allocations: 16.7 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.3758, allocations: 9.812 kB / 0.524 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.3758, allocations: 4.875 kB / 0.524 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.3758, allocations: 6.125 kB / 0.524 GB, free: 15.96 MB / 398.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.000122/0.376, allocations: 133.1 kB / 0.5241 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.376, allocations: 18 kB / 0.5242 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.3763, allocations: 122 kB / 0.5243 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3763, allocations: 4.969 kB / 0.5243 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3763, allocations: 8.484 kB / 0.5243 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3763, allocations: 0.6562 kB / 0.5243 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005806/0.3769, allocations: 416 kB / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/0.3769, allocations: 0 / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.252e-05/0.377, allocations: 20.31 kB / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.377, allocations: 3.016 kB / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.377, allocations: 0 / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.377, allocations: 1.812 kB / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.377, allocations: 0 / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.3773, allocations: 213.2 kB / 0.5249 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.3773, allocations: 92.66 kB / 0.525 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.3774, allocations: 1.891 kB / 0.525 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.3774, allocations: 5.688 kB / 0.525 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.3775, allocations: 5.109 kB / 0.525 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.3775, allocations: 10.56 kB / 0.525 GB, free: 15.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000215/0.3777, allocations: 205.7 kB / 0.5252 GB, free: 14.99 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3777, allocations: 0 / 0.5252 GB, free: 14.99 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.378, allocations: 22.61 kB / 0.5252 GB, free: 14.98 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.001061/0.379, allocations: 458.1 kB / 0.5257 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002467/0.3793, allocations: 58.25 kB / 0.5257 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3793, allocations: 0 / 0.5257 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.207e-05/0.3794, allocations: 38.88 kB / 0.5258 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.3797, allocations: 28.19 kB / 0.5258 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005438/0.3803, allocations: 294.9 kB / 0.5261 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.3806, allocations: 0.7155 MB / 0.5268 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.351e-05/0.3806, allocations: 13.83 kB / 0.5268 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.3807, allocations: 13.59 kB / 0.5268 GB, free: 13.83 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3807, allocations: 4 kB / 0.5268 GB, free: 13.82 MB / 398.1 MB Notification: Performance of Templates: time 0.004323/0.385, allocations: 1.365 MB / 0.5281 GB, free: 13.36 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches