Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.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.CombiTable1Ds.Test15,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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001465, allocations: 205.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, 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.2307/0.2307, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 79.86 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4491, allocations: 62.43 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003124/0.4523, allocations: 1.623 MB / 0.5326 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.4534, allocations: 0.532 MB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.764e-05/0.4535, allocations: 1.375 kB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.4538, allocations: 80.7 kB / 0.5332 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.4541, allocations: 102.1 kB / 0.5333 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.4544, allocations: 95.7 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.4546, allocations: 83.5 kB / 0.5335 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.4547, allocations: 20.23 kB / 0.5335 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.557e-05/0.4548, allocations: 32.41 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.4549, allocations: 59.31 kB / 0.5336 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.455, allocations: 4.125 kB / 0.5336 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.4551, allocations: 44.86 kB / 0.5336 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.4551, allocations: 18.8 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.851e-05/0.4552, allocations: 42.55 kB / 0.5337 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.4554, allocations: 108.4 kB / 0.5338 GB, free: 11.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4554, allocations: 1.312 kB / 0.5338 GB, free: 11.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4554, allocations: 0 / 0.5338 GB, free: 11.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.4554, allocations: 0 / 0.5338 GB, free: 11.55 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005148/0.456, allocations: 409.3 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.456, allocations: 13.8 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.4561, allocations: 9.75 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.4563, allocations: 200.2 kB / 0.5344 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.4563, allocations: 6.406 kB / 0.5344 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.4563, allocations: 6.938 kB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.4565, allocations: 58.73 kB / 0.5345 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.4565, allocations: 3.906 kB / 0.5345 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.4565, allocations: 0 / 0.5345 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.4565, allocations: 1.062 kB / 0.5345 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.687e-05/0.4566, allocations: 30.78 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.457, allocations: 291.2 kB / 0.5348 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.4571, allocations: 46.75 kB / 0.5348 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.4572, allocations: 20.41 kB / 0.5348 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.4572, allocations: 1.844 kB / 0.5348 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.4572, allocations: 30.56 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4572, allocations: 1.25 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009335/0.4582, allocations: 230.1 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.4582, allocations: 52.5 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.4585, allocations: 214 kB / 0.5353 GB, free: 10.08 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.4585, allocations: 30.77 kB / 0.5354 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.4586, allocations: 109.8 kB / 0.5355 GB, free: 9.941 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.4586, allocations: 35 kB / 0.5355 GB, free: 9.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.4587, allocations: 23.42 kB / 0.5355 GB, free: 9.887 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4588, allocations: 322.4 kB / 0.5358 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.91e-05/0.4589, allocations: 25.86 kB / 0.5359 GB, free: 9.555 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.83e-05/0.459, allocations: 22.7 kB / 0.5359 GB, free: 9.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.4591, allocations: 67.7 kB / 0.5359 GB, free: 9.508 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4591, allocations: 0 / 0.5359 GB, free: 9.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000204/0.4593, allocations: 96.98 kB / 0.536 GB, free: 9.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.4594, allocations: 4.125 kB / 0.536 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4594, allocations: 1.375 kB / 0.536 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.4594, allocations: 3.984 kB / 0.536 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.4595, allocations: 17.69 kB / 0.5361 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4595, allocations: 1.375 kB / 0.5361 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.274e-05/0.4596, allocations: 14.67 kB / 0.5361 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.4596, allocations: 6.578 kB / 0.5361 GB, free: 9.426 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.0001018/0.4597, allocations: 128.1 kB / 0.5362 GB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.4598, allocations: 12.66 kB / 0.5362 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/0.4601, allocations: 121 kB / 0.5363 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4601, allocations: 1.094 kB / 0.5363 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4601, allocations: 3.938 kB / 0.5363 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4601, allocations: 7.938 kB / 0.5363 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005313/0.4606, allocations: 403.5 kB / 0.5367 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.4607, allocations: 0 / 0.5367 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/0.4607, allocations: 17.77 kB / 0.5367 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.4607, allocations: 5.156 kB / 0.5367 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.4608, allocations: 2.125 kB / 0.5368 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4608, allocations: 1.094 kB / 0.5368 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4608, allocations: 4.031 kB / 0.5368 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.461, allocations: 204.4 kB / 0.537 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.4611, allocations: 92.36 kB / 0.537 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.4611, allocations: 1.031 kB / 0.537 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-05/0.4612, allocations: 7.391 kB / 0.537 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.4612, allocations: 7.281 kB / 0.5371 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.4613, allocations: 6.312 kB / 0.5371 GB, free: 8.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.4614, allocations: 176.1 kB / 0.5372 GB, free: 8.383 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4614, allocations: 0 / 0.5372 GB, free: 8.383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000266/0.4617, allocations: 22.28 kB / 0.5372 GB, free: 8.375 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.4628, allocations: 457.3 kB / 0.5377 GB, free: 8.133 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.4631, allocations: 66.27 kB / 0.5377 GB, free: 8.105 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4631, allocations: 0 / 0.5377 GB, free: 8.105 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.291e-05/0.4632, allocations: 37.64 kB / 0.5378 GB, free: 8.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.4636, allocations: 22.02 kB / 0.5378 GB, free: 8.082 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005843/0.4642, allocations: 257.7 kB / 0.5381 GB, free: 7.887 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.4645, allocations: 0.7111 MB / 0.5387 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.309e-05/0.4645, allocations: 12.52 kB / 0.5388 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.4646, allocations: 13.19 kB / 0.5388 GB, free: 7.16 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4646, allocations: 0 / 0.5388 GB, free: 7.16 MB / 398.1 MB Notification: Performance of Templates: time 0.005627/0.4702, allocations: 1.368 MB / 0.5401 GB, free: 6.461 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches