Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001529/0.001529, allocations: 118.8 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.001535/0.001535, allocations: 198 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.23/0.23, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 75.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4725/0.4741, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003779/0.4779, allocations: 1.601 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.4793, allocations: 0.5461 MB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.167e-05/0.4794, allocations: 1.438 kB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.4797, allocations: 26.59 kB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004147/0.4802, allocations: 82.34 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.4806, allocations: 114 kB / 0.5333 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.4809, allocations: 62.33 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.481, allocations: 13.61 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.643e-05/0.4811, allocations: 21.16 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.67e-05/0.4812, allocations: 26.58 kB / 0.5334 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.4812, allocations: 2.5 kB / 0.5334 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.4813, allocations: 40.41 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.906e-05/0.4814, allocations: 17.83 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.11e-05/0.4814, allocations: 24.94 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.4817, allocations: 81.78 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.4817, allocations: 5.297 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4817, allocations: 3.938 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.4817, allocations: 0 / 0.5336 GB, free: 11.61 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.0006117/0.4823, allocations: 394.3 kB / 0.534 GB, free: 11.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4824, allocations: 9.625 kB / 0.534 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.378e-05/0.4824, allocations: 12.97 kB / 0.534 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.4826, allocations: 194.3 kB / 0.5342 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.4827, allocations: 5.75 kB / 0.5342 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.4827, allocations: 9.297 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.4828, allocations: 44.69 kB / 0.5342 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.4829, allocations: 1.375 kB / 0.5342 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.4829, allocations: 0 / 0.5342 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.4829, allocations: 0 / 0.5342 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.382e-05/0.483, allocations: 31.09 kB / 0.5343 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.4834, allocations: 284.2 kB / 0.5345 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.4836, allocations: 45.8 kB / 0.5346 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.671e-05/0.4837, allocations: 15.73 kB / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.4837, allocations: 9.297 kB / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.4838, allocations: 34.56 kB / 0.5346 GB, free: 10.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4838, allocations: 0 / 0.5346 GB, free: 10.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006437/0.4844, allocations: 159.4 kB / 0.5348 GB, free: 10.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.4845, allocations: 52.78 kB / 0.5349 GB, free: 10.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.4847, allocations: 183 kB / 0.535 GB, free: 10.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.4848, allocations: 29.7 kB / 0.5351 GB, free: 10.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.346e-05/0.4849, allocations: 96.27 kB / 0.5351 GB, free: 10.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.4849, allocations: 18.58 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.485, allocations: 21.78 kB / 0.5352 GB, free: 10.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.4851, allocations: 321.6 kB / 0.5355 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.62e-05/0.4852, allocations: 20.36 kB / 0.5355 GB, free: 9.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.032e-05/0.4853, allocations: 24.3 kB / 0.5355 GB, free: 9.691 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.4855, allocations: 58.94 kB / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4855, allocations: 192 / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002125/0.4857, allocations: 91.95 kB / 0.5357 GB, free: 9.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.4857, allocations: 5.5 kB / 0.5357 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.4857, allocations: 0 / 0.5357 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.4858, allocations: 1.375 kB / 0.5357 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.082e-05/0.4859, allocations: 12.83 kB / 0.5357 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.4859, allocations: 5.125 kB / 0.5357 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.832e-05/0.4859, allocations: 15.23 kB / 0.5357 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-06/0.486, allocations: 1.094 kB / 0.5357 GB, free: 9.574 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 (5): * Single equations (assignments): 5 * 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.0001158/0.4861, allocations: 116.6 kB / 0.5358 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.4861, allocations: 8.203 kB / 0.5358 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00032/0.4864, allocations: 97.55 kB / 0.5359 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4865, allocations: 0.9375 kB / 0.5359 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4865, allocations: 5.062 kB / 0.5359 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4865, allocations: 3.938 kB / 0.5359 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.4869, allocations: 357.7 kB / 0.5363 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.487, allocations: 0 / 0.5363 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/0.487, allocations: 13.48 kB / 0.5363 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.487, allocations: 1.406 kB / 0.5363 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.487, allocations: 3.938 kB / 0.5363 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4871, allocations: 1.281 kB / 0.5363 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4871, allocations: 4 kB / 0.5363 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.4873, allocations: 183 kB / 0.5365 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/0.4874, allocations: 87.27 kB / 0.5366 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.4874, allocations: 16.95 kB / 0.5366 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.4875, allocations: 3.75 kB / 0.5366 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.4875, allocations: 1.281 kB / 0.5366 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.4875, allocations: 6.531 kB / 0.5366 GB, free: 8.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.4877, allocations: 143.8 kB / 0.5367 GB, free: 8.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4877, allocations: 0 / 0.5367 GB, free: 8.625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.4879, allocations: 14.91 kB / 0.5367 GB, free: 8.621 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 (5): * Single equations (assignments): 5 * 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.001027/0.4889, allocations: 400.3 kB / 0.5371 GB, free: 8.406 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.4892, allocations: 50.98 kB / 0.5372 GB, free: 8.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4892, allocations: 4 kB / 0.5372 GB, free: 8.383 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.552e-05/0.4893, allocations: 28.8 kB / 0.5372 GB, free: 8.371 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.4897, allocations: 15.92 kB / 0.5372 GB, free: 8.363 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/0.4902, allocations: 200.4 kB / 0.5374 GB, free: 8.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.4905, allocations: 0.7019 MB / 0.5381 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.174e-05/0.4906, allocations: 28.94 kB / 0.5381 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.4906, allocations: 11.97 kB / 0.5381 GB, free: 7.465 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4907, allocations: 0 / 0.5381 GB, free: 7.465 MB / 398.1 MB Notification: Performance of Templates: time 0.00391/0.4946, allocations: 1.141 MB / 0.5392 GB, free: 6.875 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches