Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001274/0.001274, allocations: 116.2 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001882/0.001882, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3065/0.3065, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002344, allocations: 75.88 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4528/0.4551, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003195/0.4584, allocations: 1.62 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.4595, allocations: 0.5675 MB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.113e-05/0.4596, allocations: 0 / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005948/0.4602, allocations: 449.9 kB / 0.5336 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004751/0.4607, allocations: 291.6 kB / 0.5338 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.4611, allocations: 175.3 kB / 0.534 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.4614, allocations: 172.9 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.4615, allocations: 11.78 kB / 0.5342 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.4616, allocations: 114.8 kB / 0.5343 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.4619, allocations: 207.8 kB / 0.5345 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.4619, allocations: 7.281 kB / 0.5345 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.783e-05/0.462, allocations: 27.45 kB / 0.5345 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.4621, allocations: 86.36 kB / 0.5346 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.189e-05/0.4622, allocations: 103.2 kB / 0.5347 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.4625, allocations: 259.8 kB / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4625, allocations: 4 kB / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4626, allocations: 4 kB / 0.535 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.4626, allocations: 1.812 kB / 0.535 GB, free: 10.94 MB / 398.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.0007565/0.4633, allocations: 0.6508 MB / 0.5356 GB, free: 10.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.4634, allocations: 9.156 kB / 0.5356 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.627e-05/0.4635, allocations: 51.19 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.4637, allocations: 295.2 kB / 0.5359 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.4638, allocations: 1.812 kB / 0.5359 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.4638, allocations: 9.984 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.4639, allocations: 60.48 kB / 0.536 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.464, allocations: 0 / 0.536 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.464, allocations: 0 / 0.536 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.464, allocations: 1.25 kB / 0.536 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.4641, allocations: 37.19 kB / 0.536 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.4646, allocations: 400.4 kB / 0.5364 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.4648, allocations: 42.94 kB / 0.5365 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.704e-05/0.4649, allocations: 28.7 kB / 0.5365 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.4649, allocations: 0 / 0.5365 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.4649, allocations: 35.53 kB / 0.5365 GB, free: 9.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.4649, allocations: 1.094 kB / 0.5365 GB, free: 9.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003485/0.4653, allocations: 134.2 kB / 0.5367 GB, free: 9.387 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.4653, allocations: 51.41 kB / 0.5367 GB, free: 9.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009172/0.4663, allocations: 0.8634 MB / 0.5376 GB, free: 8.906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.4663, allocations: 27.05 kB / 0.5376 GB, free: 8.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.4665, allocations: 215.5 kB / 0.5378 GB, free: 8.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.4665, allocations: 9.438 kB / 0.5378 GB, free: 8.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.4665, allocations: 20.64 kB / 0.5378 GB, free: 8.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4667, allocations: 363.8 kB / 0.5382 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.115e-05/0.4668, allocations: 18.61 kB / 0.5382 GB, free: 8.301 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.808e-05/0.4668, allocations: 18.45 kB / 0.5382 GB, free: 8.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.467, allocations: 47.22 kB / 0.5382 GB, free: 8.266 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.467, allocations: 0 / 0.5382 GB, free: 8.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002143/0.4672, allocations: 108.8 kB / 0.5383 GB, free: 8.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4672, allocations: 9.469 kB / 0.5384 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4673, allocations: 3.984 kB / 0.5384 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.4673, allocations: 1.469 kB / 0.5384 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.553e-05/0.4674, allocations: 6.781 kB / 0.5384 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.4674, allocations: 0 / 0.5384 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.933e-05/0.4674, allocations: 11.3 kB / 0.5384 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.4675, allocations: 1.438 kB / 0.5384 GB, free: 8.18 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 (3): * Single equations (assignments): 3 * 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.0001989/0.4677, allocations: 210.5 kB / 0.5386 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.4677, allocations: 45.34 kB / 0.5386 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.468, allocations: 131.1 kB / 0.5387 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4681, allocations: 4.359 kB / 0.5388 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.4681, allocations: 5.125 kB / 0.5388 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4681, allocations: 3.938 kB / 0.5388 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003825/0.4685, allocations: 290.5 kB / 0.539 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4685, allocations: 0 / 0.539 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.845e-05/0.4685, allocations: 14.66 kB / 0.5391 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4686, allocations: 5.156 kB / 0.5391 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.4686, allocations: 0 / 0.5391 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4686, allocations: 1.188 kB / 0.5391 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4686, allocations: 0 / 0.5391 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.4688, allocations: 215.2 kB / 0.5393 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-05/0.4689, allocations: 115.1 kB / 0.5394 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.469, allocations: 0 / 0.5394 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.713e-05/0.4691, allocations: 14.7 kB / 0.5394 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.4691, allocations: 1.219 kB / 0.5394 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.4691, allocations: 1.875 kB / 0.5394 GB, free: 7.316 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007298/0.4698, allocations: 0.6529 MB / 0.54 GB, free: 7 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4698, allocations: 3.938 kB / 0.54 GB, free: 6.996 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.4701, allocations: 20.19 kB / 0.5401 GB, free: 6.992 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0008903/0.471, allocations: 339.2 kB / 0.5404 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002489/0.4713, allocations: 41.88 kB / 0.5404 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.4713, allocations: 0 / 0.5404 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.539e-05/0.4714, allocations: 24.86 kB / 0.5404 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.4718, allocations: 35.69 kB / 0.5405 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.4731, allocations: 0.795 MB / 0.5412 GB, free: 6.344 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009833/0.4741, allocations: 0.8209 MB / 0.542 GB, free: 5.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.343e-05/0.4742, allocations: 19.62 kB / 0.5421 GB, free: 5.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.4742, allocations: 15.77 kB / 0.5421 GB, free: 5.559 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4742, allocations: 0 / 0.5421 GB, free: 5.559 MB / 398.1 MB Notification: Performance of Templates: time 0.005853/0.4801, allocations: 1.285 MB / 0.5433 GB, free: 4.883 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches