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.001112/0.001112, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001121/0.001121, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2013/0.2013, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002597/0.002598, allocations: 79.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3493, allocations: 62.43 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003203/0.3525, allocations: 1.626 MB / 0.5333 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009849/0.3535, allocations: 0.5649 MB / 0.5338 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.3536, allocations: 1.688 kB / 0.5338 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005421/0.3542, allocations: 457.4 kB / 0.5342 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000439/0.3546, allocations: 288.4 kB / 0.5345 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.3551, allocations: 172.1 kB / 0.5347 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.3553, allocations: 176.9 kB / 0.5348 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3555, allocations: 15.53 kB / 0.5349 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.3556, allocations: 109.7 kB / 0.535 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.3558, allocations: 216 kB / 0.5352 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.3559, allocations: 2.969 kB / 0.5352 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.151e-05/0.356, allocations: 23.91 kB / 0.5352 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.591e-05/0.3561, allocations: 83.22 kB / 0.5353 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.479e-05/0.3562, allocations: 106.6 kB / 0.5354 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.3565, allocations: 251.5 kB / 0.5356 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3565, allocations: 4 kB / 0.5356 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3565, allocations: 1.406 kB / 0.5356 GB, free: 11.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.3565, allocations: 0 / 0.5356 GB, free: 11.17 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.0007182/0.3572, allocations: 0.6333 MB / 0.5362 GB, free: 10.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3573, allocations: 9.219 kB / 0.5363 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.3574, allocations: 43.03 kB / 0.5363 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.3577, allocations: 300 kB / 0.5366 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.3577, allocations: 4.375 kB / 0.5366 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.3577, allocations: 7.156 kB / 0.5366 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.3579, allocations: 55.08 kB / 0.5366 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.3579, allocations: 1.031 kB / 0.5366 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3579, allocations: 0 / 0.5366 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3579, allocations: 1.281 kB / 0.5366 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.3581, allocations: 40.55 kB / 0.5367 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.3586, allocations: 400.3 kB / 0.5371 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.3587, allocations: 43.75 kB / 0.5371 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.518e-05/0.3588, allocations: 23.41 kB / 0.5371 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.3588, allocations: 5.172 kB / 0.5371 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.3589, allocations: 35.69 kB / 0.5372 GB, free: 9.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.3589, allocations: 0 / 0.5372 GB, free: 9.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.000353/0.3592, allocations: 137.5 kB / 0.5373 GB, free: 9.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.3593, allocations: 52.5 kB / 0.5374 GB, free: 9.574 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008528/0.3601, allocations: 0.8634 MB / 0.5382 GB, free: 9.156 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.3601, allocations: 27.02 kB / 0.5382 GB, free: 9.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.3603, allocations: 214.5 kB / 0.5384 GB, free: 8.938 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.3603, allocations: 9.406 kB / 0.5384 GB, free: 8.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.3604, allocations: 17.97 kB / 0.5385 GB, free: 8.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3605, allocations: 367.1 kB / 0.5388 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.986e-05/0.3606, allocations: 18.45 kB / 0.5388 GB, free: 8.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.145e-05/0.3607, allocations: 18.86 kB / 0.5388 GB, free: 8.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.3608, allocations: 43.36 kB / 0.5389 GB, free: 8.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3608, allocations: 3.938 kB / 0.5389 GB, free: 8.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002055/0.361, allocations: 117.1 kB / 0.539 GB, free: 8.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.361, allocations: 5.75 kB / 0.539 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3611, allocations: 0 / 0.539 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.3611, allocations: 0 / 0.539 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.487e-05/0.3612, allocations: 10.89 kB / 0.539 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3612, allocations: 1.344 kB / 0.539 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.686e-05/0.3612, allocations: 2.375 kB / 0.539 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.3613, allocations: 1.312 kB / 0.539 GB, free: 8.434 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.0001909/0.3615, allocations: 218.1 kB / 0.5392 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.3615, allocations: 41.72 kB / 0.5393 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.3618, allocations: 130.9 kB / 0.5394 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3618, allocations: 1.062 kB / 0.5394 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3618, allocations: 0 / 0.5394 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3618, allocations: 0 / 0.5394 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003482/0.3622, allocations: 298 kB / 0.5397 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3622, allocations: 1.094 kB / 0.5397 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/0.3623, allocations: 7.25 kB / 0.5397 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3623, allocations: 4 kB / 0.5397 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.3623, allocations: 1.469 kB / 0.5397 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3623, allocations: 3.984 kB / 0.5397 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3623, allocations: 3.984 kB / 0.5397 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.3626, allocations: 211.2 kB / 0.5399 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.3627, allocations: 110.5 kB / 0.54 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.3627, allocations: 4 kB / 0.54 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/0.3628, allocations: 3.281 kB / 0.54 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.3628, allocations: 9.016 kB / 0.54 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.3628, allocations: 1.547 kB / 0.54 GB, free: 7.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006972/0.3635, allocations: 0.6483 MB / 0.5406 GB, free: 7.266 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.753e-06/0.3635, allocations: 1.125 kB / 0.5407 GB, free: 7.266 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.3638, allocations: 28.12 kB / 0.5407 GB, free: 7.254 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.000801/0.3646, allocations: 338.5 kB / 0.541 GB, free: 7.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.3648, allocations: 49.23 kB / 0.541 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3648, allocations: 0 / 0.541 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.972e-05/0.3649, allocations: 25.23 kB / 0.5411 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.3654, allocations: 31.05 kB / 0.5411 GB, free: 7.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.3667, allocations: 0.8213 MB / 0.5419 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.3671, allocations: 0.8222 MB / 0.5427 GB, free: 5.809 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.3671, allocations: 11 kB / 0.5427 GB, free: 5.801 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3671, allocations: 1.156 kB / 0.5427 GB, free: 5.801 MB / 398.1 MB Notification: Performance of Templates: time 0.007026/0.3742, allocations: 3.592 MB / 0.5462 GB, free: 2.727 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches