Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001401/0.001401, allocations: 113 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.001308/0.001308, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2117/0.2117, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 75.88 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3182, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003291/0.3216, allocations: 1.616 MB / 0.5332 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.3226, allocations: 0.5578 MB / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.598e-05/0.3227, allocations: 5.25 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005713/0.3233, allocations: 456.3 kB / 0.5342 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004431/0.3238, allocations: 285.1 kB / 0.5345 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005125/0.3243, allocations: 176 kB / 0.5347 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000236/0.3246, allocations: 170.2 kB / 0.5348 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.992e-05/0.3247, allocations: 15.64 kB / 0.5348 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.3248, allocations: 105.7 kB / 0.5349 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.3251, allocations: 210.7 kB / 0.5351 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.082e-05/0.3252, allocations: 3.312 kB / 0.5351 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.129e-05/0.3253, allocations: 31.45 kB / 0.5352 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.855e-05/0.3254, allocations: 82.47 kB / 0.5353 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.097e-05/0.3255, allocations: 98.12 kB / 0.5354 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.3258, allocations: 251.6 kB / 0.5356 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3258, allocations: 0 / 0.5356 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3258, allocations: 4 kB / 0.5356 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.3258, allocations: 0 / 0.5356 GB, free: 10.96 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.0008419/0.3267, allocations: 0.6272 MB / 0.5362 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.3267, allocations: 9.344 kB / 0.5362 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.901e-05/0.3268, allocations: 41.84 kB / 0.5363 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.3271, allocations: 303.5 kB / 0.5365 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.3271, allocations: 5.781 kB / 0.5366 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.3271, allocations: 5.75 kB / 0.5366 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.3273, allocations: 53.56 kB / 0.5366 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3273, allocations: 0 / 0.5366 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3273, allocations: 0 / 0.5366 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3273, allocations: 1.344 kB / 0.5366 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.228e-05/0.3274, allocations: 25.56 kB / 0.5366 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.3279, allocations: 393 kB / 0.537 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.3281, allocations: 36.41 kB / 0.537 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.207e-05/0.3282, allocations: 19.56 kB / 0.5371 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.3282, allocations: 1.125 kB / 0.5371 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.3282, allocations: 31.97 kB / 0.5371 GB, free: 9.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3282, allocations: 0 / 0.5371 GB, free: 9.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002936/0.3285, allocations: 103.7 kB / 0.5372 GB, free: 9.473 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.3286, allocations: 51.53 kB / 0.5372 GB, free: 9.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009309/0.3295, allocations: 0.8746 MB / 0.5381 GB, free: 8.984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.3295, allocations: 27.2 kB / 0.5381 GB, free: 8.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.3297, allocations: 216.8 kB / 0.5383 GB, free: 8.766 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.3297, allocations: 9.281 kB / 0.5383 GB, free: 8.758 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.3298, allocations: 16.39 kB / 0.5384 GB, free: 8.738 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3299, allocations: 363.5 kB / 0.5387 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.482e-05/0.33, allocations: 9.672 kB / 0.5387 GB, free: 8.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.3301, allocations: 11.16 kB / 0.5387 GB, free: 8.383 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.065e-05/0.3302, allocations: 29.75 kB / 0.5387 GB, free: 8.363 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3302, allocations: 5.453 kB / 0.5388 GB, free: 8.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001459/0.3303, allocations: 90.66 kB / 0.5388 GB, free: 8.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.3304, allocations: 7.75 kB / 0.5388 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/0.3304, allocations: 4 kB / 0.5389 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3304, allocations: 0 / 0.5389 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.691e-05/0.3305, allocations: 12.58 kB / 0.5389 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3305, allocations: 1.375 kB / 0.5389 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.3306, allocations: 5.5 kB / 0.5389 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3306, allocations: 1.562 kB / 0.5389 GB, free: 8.281 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 (2): * Single equations (assignments): 2 * 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.0001817/0.3308, allocations: 209.7 kB / 0.5391 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.3308, allocations: 45.11 kB / 0.5391 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.3311, allocations: 109.5 kB / 0.5392 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3311, allocations: 32 / 0.5392 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3311, allocations: 4.844 kB / 0.5392 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3311, allocations: 0 / 0.5392 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.3314, allocations: 288.9 kB / 0.5395 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3314, allocations: 3.984 kB / 0.5395 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.3315, allocations: 8.922 kB / 0.5395 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.3315, allocations: 3.938 kB / 0.5395 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.3315, allocations: 1.125 kB / 0.5395 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3315, allocations: 0 / 0.5395 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3315, allocations: 0 / 0.5395 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.3318, allocations: 194.5 kB / 0.5397 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.3319, allocations: 109.2 kB / 0.5398 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.3319, allocations: 5.281 kB / 0.5398 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.332, allocations: 1.062 kB / 0.5398 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.332, allocations: 1.094 kB / 0.5398 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.332, allocations: 9.328 kB / 0.5398 GB, free: 7.457 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006587/0.3327, allocations: 0.65 MB / 0.5405 GB, free: 7.145 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3327, allocations: 4.031 kB / 0.5405 GB, free: 7.141 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.333, allocations: 19.16 kB / 0.5405 GB, free: 7.137 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 (2): * Single equations (assignments): 2 * 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.0008159/0.3338, allocations: 349.5 kB / 0.5408 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.3341, allocations: 27.3 kB / 0.5408 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3341, allocations: 0 / 0.5408 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.608e-05/0.3342, allocations: 12.48 kB / 0.5408 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.3346, allocations: 31.66 kB / 0.5409 GB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.3359, allocations: 0.808 MB / 0.5417 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.3363, allocations: 0.8221 MB / 0.5425 GB, free: 5.699 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.3363, allocations: 14.91 kB / 0.5425 GB, free: 5.688 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3363, allocations: 4.969 kB / 0.5425 GB, free: 5.684 MB / 398.1 MB Notification: Performance of Templates: time 0.007699/0.344, allocations: 3.521 MB / 0.5459 GB, free: 2.863 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches