Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001179, allocations: 121.6 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.001226/0.001226, allocations: 199.9 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, 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.2353/0.2353, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 75.86 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4676/0.4689, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003194/0.4722, allocations: 1.602 MB / 0.5326 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.4742, allocations: 1.16 MB / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-05/0.4743, allocations: 1.375 kB / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.4746, allocations: 23.98 kB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.4749, allocations: 89.67 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.4752, allocations: 111.4 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.4754, allocations: 69.94 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.4755, allocations: 8.25 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.575e-05/0.4756, allocations: 29.42 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.4758, allocations: 34.92 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.4758, allocations: 4.75 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.476, allocations: 102.2 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.554e-05/0.4761, allocations: 15.61 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.4761, allocations: 21.12 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.4765, allocations: 142.7 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4765, allocations: 1.5 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4765, allocations: 0 / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.4765, allocations: 0 / 0.5343 GB, free: 11.06 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.0005554/0.4771, allocations: 396.3 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.4771, allocations: 8.5 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.513e-05/0.4772, allocations: 12.38 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.4775, allocations: 191.8 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.4775, allocations: 5.469 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.4775, allocations: 1.438 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.4777, allocations: 73.19 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.4777, allocations: 0 / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.4777, allocations: 1.031 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.4778, allocations: 1.094 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.973e-05/0.4779, allocations: 33.31 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.4783, allocations: 283.7 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.4786, allocations: 44.56 kB / 0.5353 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.58e-05/0.4786, allocations: 16.78 kB / 0.5354 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.4787, allocations: 5 kB / 0.5354 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.4787, allocations: 35.78 kB / 0.5354 GB, free: 9.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4787, allocations: 0 / 0.5354 GB, free: 9.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006454/0.4794, allocations: 158.2 kB / 0.5355 GB, free: 9.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.4794, allocations: 78.33 kB / 0.5356 GB, free: 9.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.4796, allocations: 143.5 kB / 0.5358 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.4796, allocations: 34.77 kB / 0.5358 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.625e-05/0.4797, allocations: 91.34 kB / 0.5359 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.4797, allocations: 21.69 kB / 0.5359 GB, free: 9.477 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.4798, allocations: 18.94 kB / 0.5359 GB, free: 9.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.4799, allocations: 324.4 kB / 0.5362 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-05/0.48, allocations: 19.92 kB / 0.5362 GB, free: 9.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.198e-05/0.48, allocations: 40.34 kB / 0.5363 GB, free: 9.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.4802, allocations: 50.95 kB / 0.5363 GB, free: 9.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4802, allocations: 5.312 kB / 0.5363 GB, free: 9.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001886/0.4804, allocations: 86.59 kB / 0.5364 GB, free: 9.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.4804, allocations: 5.5 kB / 0.5364 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.4804, allocations: 0 / 0.5364 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.4805, allocations: 1.375 kB / 0.5364 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/0.4805, allocations: 9.344 kB / 0.5364 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4805, allocations: 4.031 kB / 0.5364 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.4806, allocations: 11.64 kB / 0.5364 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.4806, allocations: 5.312 kB / 0.5364 GB, free: 8.988 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 8.827e-05/0.4807, allocations: 114 kB / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.4807, allocations: 3.844 kB / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.481, allocations: 108.4 kB / 0.5367 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.481, allocations: 5.125 kB / 0.5367 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.481, allocations: 0 / 0.5367 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.481, allocations: 1 kB / 0.5367 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.4815, allocations: 358.9 kB / 0.537 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4815, allocations: 5.531 kB / 0.537 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.79e-05/0.4816, allocations: 12.95 kB / 0.537 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.4816, allocations: 8.406 kB / 0.537 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.4816, allocations: 1.531 kB / 0.537 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.4816, allocations: 7.938 kB / 0.537 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4816, allocations: 0 / 0.537 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.4819, allocations: 179 kB / 0.5372 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.4819, allocations: 79.3 kB / 0.5373 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.4819, allocations: 5 kB / 0.5373 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.482, allocations: 11.27 kB / 0.5373 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.4821, allocations: 2.188 kB / 0.5373 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.4821, allocations: 5.031 kB / 0.5373 GB, free: 8.137 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.663e-05/0.4822, allocations: 117.1 kB / 0.5374 GB, free: 8.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4822, allocations: 0 / 0.5374 GB, free: 8.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002926/0.4825, allocations: 43.67 kB / 0.5375 GB, free: 8.023 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.00119/0.4837, allocations: 490.2 kB / 0.5379 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.4839, allocations: 59.58 kB / 0.538 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4839, allocations: 0 / 0.538 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.46e-05/0.484, allocations: 29.02 kB / 0.538 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.4844, allocations: 29.61 kB / 0.538 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.4849, allocations: 177.1 kB / 0.5382 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.4853, allocations: 0.6905 MB / 0.5389 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.375e-05/0.4854, allocations: 29.81 kB / 0.5389 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.4854, allocations: 17.95 kB / 0.5389 GB, free: 6.836 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4854, allocations: 0 / 0.5389 GB, free: 6.836 MB / 398.1 MB Notification: Performance of Templates: time 0.006286/0.4917, allocations: 1.751 MB / 0.5406 GB, free: 5.93 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches