Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 107.7 kB / 18.44 MB, free: 4.645 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.001238/0.001238, allocations: 184.1 kB / 19.38 MB, free: 3.723 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.334/1.334, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2043/0.2043, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 55.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3714, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002895/0.3744, allocations: 1.648 MB / 0.5212 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007303/0.3751, allocations: 423.6 kB / 0.5216 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.075e-05/0.3752, allocations: 0 / 0.5216 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007012/0.3759, allocations: 455.1 kB / 0.522 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004445/0.3764, allocations: 252.1 kB / 0.5223 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.3767, allocations: 128.2 kB / 0.5224 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.377, allocations: 169.6 kB / 0.5226 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3771, allocations: 19.05 kB / 0.5226 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.3773, allocations: 107.7 kB / 0.5227 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.3776, allocations: 207.1 kB / 0.5229 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.3776, allocations: 7.688 kB / 0.5229 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.3777, allocations: 51.45 kB / 0.5229 GB, free: 2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.3779, allocations: 85 kB / 0.523 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.482e-05/0.3779, allocations: 104.2 kB / 0.5231 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.3783, allocations: 263.7 kB / 0.5234 GB, free: 1.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3783, allocations: 0 / 0.5234 GB, free: 1.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3783, allocations: 5.094 kB / 0.5234 GB, free: 1.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.3783, allocations: 0 / 0.5234 GB, free: 1.766 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006032/0.3789, allocations: 0.6376 MB / 0.524 GB, free: 1.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3789, allocations: 13.19 kB / 0.524 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.379, allocations: 42.94 kB / 0.524 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.3792, allocations: 293.3 kB / 0.5243 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.3793, allocations: 2.625 kB / 0.5243 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.3793, allocations: 6.844 kB / 0.5243 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.3794, allocations: 59.86 kB / 0.5244 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3795, allocations: 3.906 kB / 0.5244 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3795, allocations: 1.438 kB / 0.5244 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.3795, allocations: 0 / 0.5244 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.673e-05/0.3796, allocations: 34.95 kB / 0.5244 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.38, allocations: 396.1 kB / 0.5248 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.832e-05/0.3801, allocations: 50.69 kB / 0.5249 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.3802, allocations: 17.55 kB / 0.5249 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.3802, allocations: 0.75 kB / 0.5249 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.3802, allocations: 42.56 kB / 0.5249 GB, free: 424 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.3802, allocations: 0 / 0.5249 GB, free: 424 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008861/0.3811, allocations: 296.9 kB / 0.5252 GB, free: 284 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.3812, allocations: 57.47 kB / 0.5253 GB, free: 216 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008798/0.382, allocations: 0.8573 MB / 0.5261 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3821, allocations: 27.42 kB / 0.5261 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.3823, allocations: 220.8 kB / 0.5263 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.3823, allocations: 27.03 kB / 0.5264 GB, free: 15.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.3823, allocations: 23.55 kB / 0.5264 GB, free: 15.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3825, allocations: 359.4 kB / 0.5267 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.72e-05/0.3826, allocations: 27.36 kB / 0.5267 GB, free: 15.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.944e-05/0.3827, allocations: 37.91 kB / 0.5268 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.3828, allocations: 55.94 kB / 0.5268 GB, free: 15.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.3828, allocations: 0 / 0.5268 GB, free: 15.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002275/0.383, allocations: 130.9 kB / 0.527 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3831, allocations: 5.094 kB / 0.527 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3831, allocations: 0 / 0.527 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3831, allocations: 0 / 0.527 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.909e-05/0.3832, allocations: 26.33 kB / 0.527 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3832, allocations: 13.03 kB / 0.527 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.351e-05/0.3833, allocations: 6.781 kB / 0.527 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.3833, allocations: 2.844 kB / 0.527 GB, free: 15.12 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.0001832/0.3835, allocations: 213.8 kB / 0.5272 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.3835, allocations: 37.41 kB / 0.5273 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/0.3839, allocations: 159.9 kB / 0.5274 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3839, allocations: 1.375 kB / 0.5274 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3839, allocations: 3.938 kB / 0.5274 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3839, allocations: 1.375 kB / 0.5274 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/0.3845, allocations: 0.4932 MB / 0.5279 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3845, allocations: 3.938 kB / 0.5279 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.857e-05/0.3846, allocations: 26.58 kB / 0.5279 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3846, allocations: 0 / 0.5279 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.3846, allocations: 6.312 kB / 0.5279 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3846, allocations: 0 / 0.5279 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3846, allocations: 1.094 kB / 0.5279 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.3849, allocations: 234.4 kB / 0.5282 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.126e-05/0.385, allocations: 113.3 kB / 0.5283 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.385, allocations: 9.266 kB / 0.5283 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.239e-05/0.3851, allocations: 8.438 kB / 0.5283 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.3851, allocations: 7.047 kB / 0.5283 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.3851, allocations: 3.062 kB / 0.5283 GB, free: 14.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006219/0.3858, allocations: 0.6455 MB / 0.5289 GB, free: 13.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3858, allocations: 0 / 0.5289 GB, free: 13.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.3861, allocations: 26.41 kB / 0.5289 GB, free: 13.75 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.001045/0.3871, allocations: 456.4 kB / 0.5294 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.3873, allocations: 67.45 kB / 0.5294 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3874, allocations: 4 kB / 0.5294 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.543e-05/0.3875, allocations: 38.7 kB / 0.5295 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.3879, allocations: 37.34 kB / 0.5295 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.389, allocations: 0.8444 MB / 0.5303 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.3894, allocations: 0.8241 MB / 0.5311 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.3895, allocations: 18.33 kB / 0.5312 GB, free: 12.21 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3895, allocations: 4 kB / 0.5312 GB, free: 12.21 MB / 398.1 MB Notification: Performance of Templates: time 0.007326/0.3968, allocations: 3.893 MB / 0.535 GB, free: 10.14 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches