Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001294/0.001293, allocations: 109 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.001531/0.001531, allocations: 206.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 80.09 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.343, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003018/0.346, allocations: 1.654 MB / 0.5333 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3471, allocations: 0.5529 MB / 0.5338 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.07e-05/0.3473, allocations: 1.375 kB / 0.5338 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.3476, allocations: 102.3 kB / 0.5339 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.348, allocations: 106.2 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.3484, allocations: 119.8 kB / 0.5342 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.3487, allocations: 99.8 kB / 0.5342 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3488, allocations: 29.73 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.489e-05/0.3489, allocations: 45.64 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.349, allocations: 62.06 kB / 0.5344 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.3491, allocations: 5.5 kB / 0.5344 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.3492, allocations: 42.23 kB / 0.5344 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.344e-05/0.3493, allocations: 26.92 kB / 0.5345 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.591e-05/0.3494, allocations: 55.84 kB / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.3496, allocations: 132.1 kB / 0.5346 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3496, allocations: 3.938 kB / 0.5346 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3496, allocations: 3.938 kB / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.3496, allocations: 1.562 kB / 0.5346 GB, free: 11.39 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005981/0.3502, allocations: 431.7 kB / 0.5351 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.3503, allocations: 9.469 kB / 0.5351 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.3503, allocations: 15.12 kB / 0.5351 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.3505, allocations: 207.3 kB / 0.5353 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.3506, allocations: 6.781 kB / 0.5353 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.3506, allocations: 11.77 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.3508, allocations: 79.98 kB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3508, allocations: 0 / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3508, allocations: 1.344 kB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3508, allocations: 1.062 kB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.351, allocations: 44.92 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.3515, allocations: 339.8 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.3517, allocations: 71.98 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.408e-05/0.3518, allocations: 24.31 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.3518, allocations: 1.125 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.3518, allocations: 31.62 kB / 0.5359 GB, free: 10.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.855e-06/0.3518, allocations: 5.109 kB / 0.5359 GB, free: 10.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001222/0.3531, allocations: 337.2 kB / 0.5362 GB, free: 10.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.3531, allocations: 52.72 kB / 0.5362 GB, free: 9.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.3534, allocations: 238.2 kB / 0.5365 GB, free: 9.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.3534, allocations: 34.86 kB / 0.5365 GB, free: 9.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.3535, allocations: 114.5 kB / 0.5366 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.3535, allocations: 40.77 kB / 0.5366 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.3536, allocations: 30.86 kB / 0.5367 GB, free: 9.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3537, allocations: 328.1 kB / 0.537 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.3538, allocations: 47.56 kB / 0.537 GB, free: 9.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.354, allocations: 48.44 kB / 0.5371 GB, free: 9.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.3542, allocations: 116.1 kB / 0.5372 GB, free: 9.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3542, allocations: 0 / 0.5372 GB, free: 9.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003352/0.3545, allocations: 159 kB / 0.5373 GB, free: 9.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3546, allocations: 5.469 kB / 0.5373 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3546, allocations: 0 / 0.5373 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3546, allocations: 5 kB / 0.5374 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.3547, allocations: 25.36 kB / 0.5374 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3547, allocations: 0.7031 kB / 0.5374 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.3548, allocations: 12.39 kB / 0.5374 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.3548, allocations: 7.062 kB / 0.5374 GB, free: 9.027 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.0001183/0.355, allocations: 132.1 kB / 0.5375 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.355, allocations: 18.44 kB / 0.5375 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004326/0.3555, allocations: 197.8 kB / 0.5377 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3555, allocations: 1.094 kB / 0.5377 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3555, allocations: 0 / 0.5377 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3555, allocations: 5.062 kB / 0.5377 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006856/0.3562, allocations: 0.4922 MB / 0.5382 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3562, allocations: 1.188 kB / 0.5382 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.3563, allocations: 32.11 kB / 0.5382 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3563, allocations: 2.031 kB / 0.5382 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3564, allocations: 5.219 kB / 0.5383 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.3564, allocations: 4.906 kB / 0.5383 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3564, allocations: 1.031 kB / 0.5383 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.3567, allocations: 249.9 kB / 0.5385 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.3568, allocations: 92.28 kB / 0.5386 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.3568, allocations: 2.969 kB / 0.5386 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.91e-05/0.3569, allocations: 14.94 kB / 0.5386 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.357, allocations: 12.42 kB / 0.5386 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.357, allocations: 3.5 kB / 0.5386 GB, free: 7.984 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002134/0.3572, allocations: 183.2 kB / 0.5388 GB, free: 7.867 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3572, allocations: 0 / 0.5388 GB, free: 7.867 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.3575, allocations: 27.84 kB / 0.5388 GB, free: 7.859 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.001079/0.3586, allocations: 448.9 kB / 0.5392 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.3589, allocations: 116.4 kB / 0.5394 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3589, allocations: 0 / 0.5394 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.3591, allocations: 64.08 kB / 0.5394 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.3595, allocations: 30.92 kB / 0.5394 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006536/0.3601, allocations: 360.3 kB / 0.5398 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.3604, allocations: 0.7236 MB / 0.5405 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.3605, allocations: 17.62 kB / 0.5405 GB, free: 6.539 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3605, allocations: 4 kB / 0.5405 GB, free: 6.535 MB / 398.1 MB Notification: Performance of Templates: time 0.00444/0.3649, allocations: 2.175 MB / 0.5426 GB, free: 5.414 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches