Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001351/0.001352, allocations: 118.8 kB / 17.79 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.001504/0.001504, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2163/0.2163, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 72.09 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4451/0.4467, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.005083/0.4519, allocations: 1.653 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.4531, allocations: 0.5462 MB / 0.5332 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.702e-05/0.4532, allocations: 1.75 kB / 0.5332 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.4535, allocations: 101.4 kB / 0.5333 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.4539, allocations: 115.3 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.4542, allocations: 96.56 kB / 0.5335 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.4544, allocations: 90.44 kB / 0.5336 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.4545, allocations: 30.97 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.717e-05/0.4546, allocations: 37.72 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.4548, allocations: 66 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.4548, allocations: 4.125 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.4549, allocations: 46.23 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.622e-05/0.455, allocations: 29.53 kB / 0.5338 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.455, allocations: 43.92 kB / 0.5338 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.4552, allocations: 123.6 kB / 0.5339 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4553, allocations: 0 / 0.5339 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4553, allocations: 0 / 0.5339 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.4553, allocations: 0 / 0.5339 GB, free: 11.45 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000589/0.4559, allocations: 440.3 kB / 0.5343 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.4559, allocations: 8.25 kB / 0.5343 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.456, allocations: 15.62 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.4562, allocations: 209.7 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.4562, allocations: 7.125 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.4563, allocations: 8.5 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.4564, allocations: 76.97 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4565, allocations: 0 / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.4565, allocations: 5.359 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.4565, allocations: 5.219 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.4566, allocations: 38.72 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.4572, allocations: 327.4 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.4573, allocations: 66.58 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.22e-05/0.4574, allocations: 19.89 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.762e-05/0.4574, allocations: 9.125 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.4575, allocations: 31.66 kB / 0.5351 GB, free: 10.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.4575, allocations: 0 / 0.5351 GB, free: 10.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001103/0.4586, allocations: 305.5 kB / 0.5354 GB, free: 10.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.4586, allocations: 52.62 kB / 0.5355 GB, free: 10.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.4589, allocations: 241.9 kB / 0.5357 GB, free: 9.852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.4589, allocations: 34.78 kB / 0.5357 GB, free: 9.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.009e-05/0.459, allocations: 122.8 kB / 0.5359 GB, free: 9.695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.4591, allocations: 44 kB / 0.5359 GB, free: 9.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.4591, allocations: 22.56 kB / 0.5359 GB, free: 9.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.4592, allocations: 328 kB / 0.5362 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.539e-05/0.4593, allocations: 34.81 kB / 0.5363 GB, free: 9.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-05/0.4594, allocations: 37.33 kB / 0.5363 GB, free: 9.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.4596, allocations: 93.67 kB / 0.5364 GB, free: 9.234 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.4596, allocations: 3.984 kB / 0.5364 GB, free: 9.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000267/0.4599, allocations: 134.4 kB / 0.5365 GB, free: 9.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4599, allocations: 5.938 kB / 0.5365 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.4599, allocations: 0 / 0.5365 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.46, allocations: 5.094 kB / 0.5365 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.4601, allocations: 28.7 kB / 0.5366 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4601, allocations: 1.375 kB / 0.5366 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.605e-05/0.4602, allocations: 10.59 kB / 0.5366 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.4602, allocations: 7.953 kB / 0.5366 GB, free: 9.129 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 (13): * Single equations (assignments): 13 * 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.0001076/0.4603, allocations: 127.1 kB / 0.5367 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.4603, allocations: 18.25 kB / 0.5367 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003613/0.4607, allocations: 167.2 kB / 0.5369 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.4607, allocations: 5.156 kB / 0.5369 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4607, allocations: 1.438 kB / 0.5369 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4608, allocations: 4 kB / 0.5369 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006622/0.4614, allocations: 482.3 kB / 0.5373 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.4614, allocations: 0 / 0.5373 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.4616, allocations: 37.19 kB / 0.5374 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4616, allocations: 1.062 kB / 0.5374 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.4616, allocations: 1.281 kB / 0.5374 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4616, allocations: 5.219 kB / 0.5374 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4616, allocations: 0.9375 kB / 0.5374 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.4619, allocations: 238.5 kB / 0.5376 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.982e-05/0.462, allocations: 92.28 kB / 0.5377 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.462, allocations: 2.344 kB / 0.5377 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-05/0.4621, allocations: 7.438 kB / 0.5377 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.4621, allocations: 12.45 kB / 0.5377 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.4622, allocations: 4.531 kB / 0.5377 GB, free: 8.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001722/0.4623, allocations: 182 kB / 0.5379 GB, free: 8.008 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.347e-06/0.4623, allocations: 0 / 0.5379 GB, free: 8.008 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003199/0.4627, allocations: 30.53 kB / 0.5379 GB, free: 7.996 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 (13): * Single equations (assignments): 13 * 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.001071/0.4638, allocations: 452.5 kB / 0.5384 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.464, allocations: 97.59 kB / 0.5385 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.464, allocations: 0 / 0.5385 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.4642, allocations: 53.36 kB / 0.5385 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.4646, allocations: 31.08 kB / 0.5385 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007233/0.4653, allocations: 306.9 kB / 0.5388 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.4656, allocations: 0.7167 MB / 0.5395 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.612e-05/0.4657, allocations: 27.75 kB / 0.5396 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.4657, allocations: 24.19 kB / 0.5396 GB, free: 6.719 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4658, allocations: 0 / 0.5396 GB, free: 6.719 MB / 398.1 MB Notification: Performance of Templates: time 0.004521/0.4703, allocations: 1.566 MB / 0.5411 GB, free: 5.926 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches