Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002706/0.002706, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.658/1.658, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2353/0.2353, allocations: 44.91 MB / 359.6 MB, free: 6.301 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 71.88 kB / 0.4943 GB, free: 10.72 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3197, allocations: 65.46 MB / 0.5583 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.00239/0.3221, allocations: 1.69 MB / 0.5599 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007299/0.3228, allocations: 0.5716 MB / 0.5605 GB, free: 33.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.756e-05/0.3229, allocations: 3.719 kB / 0.5605 GB, free: 33.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.3231, allocations: 68.48 kB / 0.5605 GB, free: 33.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.3234, allocations: 104.6 kB / 0.5606 GB, free: 33.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.3236, allocations: 135.7 kB / 0.5608 GB, free: 33.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.3238, allocations: 92.36 kB / 0.5609 GB, free: 33.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.849e-05/0.3238, allocations: 13.91 kB / 0.5609 GB, free: 33.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.288e-05/0.3239, allocations: 39.12 kB / 0.5609 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.248e-05/0.324, allocations: 67.75 kB / 0.561 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.324, allocations: 3.188 kB / 0.561 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.288e-05/0.3241, allocations: 59.41 kB / 0.561 GB, free: 33.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.785e-05/0.3241, allocations: 24.86 kB / 0.5611 GB, free: 33.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.3242, allocations: 37.02 kB / 0.5611 GB, free: 33.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.3243, allocations: 115.5 kB / 0.5612 GB, free: 33.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3243, allocations: 0.625 kB / 0.5612 GB, free: 33.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3243, allocations: 2.906 kB / 0.5612 GB, free: 33.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.3243, allocations: 6.031 kB / 0.5612 GB, free: 33.6 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003843/0.3247, allocations: 353.1 kB / 0.5616 GB, free: 33.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.3248, allocations: 9.406 kB / 0.5616 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.3248, allocations: 8.578 kB / 0.5616 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.3249, allocations: 146.8 kB / 0.5617 GB, free: 33.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.994e-06/0.3249, allocations: 8.031 kB / 0.5617 GB, free: 33.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.325, allocations: 5.562 kB / 0.5617 GB, free: 33.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.3251, allocations: 67.81 kB / 0.5618 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3251, allocations: 0 / 0.5618 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.3251, allocations: 0 / 0.5618 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3251, allocations: 8.25 kB / 0.5618 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.3252, allocations: 39.86 kB / 0.5618 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002782/0.3255, allocations: 283 kB / 0.5621 GB, free: 32.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.3257, allocations: 54.12 kB / 0.5622 GB, free: 32.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.443e-05/0.3258, allocations: 24.02 kB / 0.5622 GB, free: 32.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.3258, allocations: 0 / 0.5622 GB, free: 32.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.054e-05/0.3258, allocations: 34.97 kB / 0.5622 GB, free: 32.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.3258, allocations: 0 / 0.5622 GB, free: 32.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001224/0.327, allocations: 412 kB / 0.5626 GB, free: 32.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.3271, allocations: 61.52 kB / 0.5627 GB, free: 32.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.3272, allocations: 206.6 kB / 0.5629 GB, free: 32.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.3272, allocations: 29.7 kB / 0.5629 GB, free: 32.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.3273, allocations: 109.8 kB / 0.563 GB, free: 32.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.3273, allocations: 37.56 kB / 0.563 GB, free: 32.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.3273, allocations: 20.06 kB / 0.5631 GB, free: 32.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.121e-05/0.3273, allocations: 329.1 kB / 0.5634 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.3275, allocations: 43.72 kB / 0.5634 GB, free: 31.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.646e-05/0.3276, allocations: 37.12 kB / 0.5634 GB, free: 31.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.3278, allocations: 102.7 kB / 0.5635 GB, free: 31.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3278, allocations: 0 / 0.5635 GB, free: 31.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002522/0.328, allocations: 161.7 kB / 0.5637 GB, free: 31.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.328, allocations: 9.625 kB / 0.5637 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.328, allocations: 0 / 0.5637 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.328, allocations: 0 / 0.5637 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3281, allocations: 30.12 kB / 0.5637 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3281, allocations: 3.156 kB / 0.5637 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.4e-05/0.3282, allocations: 3.844 kB / 0.5637 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.3282, allocations: 6.625 kB / 0.5637 GB, free: 31.75 MB / 446.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 (11): * Single equations (assignments): 11 * 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 6.093e-05/0.3283, allocations: 127.9 kB / 0.5639 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.3283, allocations: 17.56 kB / 0.5639 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.3286, allocations: 175 kB / 0.5641 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3286, allocations: 3.938 kB / 0.5641 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3286, allocations: 2.719 kB / 0.5641 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3286, allocations: 0 / 0.5641 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.3291, allocations: 447.1 kB / 0.5645 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3291, allocations: 0 / 0.5645 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.48e-05/0.3292, allocations: 28.23 kB / 0.5645 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3292, allocations: 2.75 kB / 0.5645 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.3292, allocations: 0 / 0.5645 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3292, allocations: 6.75 kB / 0.5645 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3292, allocations: 0 / 0.5645 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.3295, allocations: 261.4 kB / 0.5648 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.3295, allocations: 15.16 kB / 0.5648 GB, free: 30.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.3295, allocations: 2.844 kB / 0.5648 GB, free: 30.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.058e-05/0.3296, allocations: 9.219 kB / 0.5648 GB, free: 30.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.3296, allocations: 10.16 kB / 0.5648 GB, free: 30.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.3297, allocations: 6 kB / 0.5648 GB, free: 30.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.758e-05/0.3297, allocations: 163.6 kB / 0.565 GB, free: 30.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3297, allocations: 0 / 0.565 GB, free: 30.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.33, allocations: 25.91 kB / 0.565 GB, free: 30.86 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001591/0.3316, allocations: 474.5 kB / 0.5654 GB, free: 30.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002798/0.3319, allocations: 108.8 kB / 0.5655 GB, free: 30.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3319, allocations: 0 / 0.5655 GB, free: 30.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.332, allocations: 54.47 kB / 0.5656 GB, free: 30.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.3323, allocations: 28.48 kB / 0.5656 GB, free: 30.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.3328, allocations: 331 kB / 0.5659 GB, free: 30.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.3329, allocations: 0.7062 MB / 0.5666 GB, free: 29.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.3329, allocations: 24 kB / 0.5667 GB, free: 29.65 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3329, allocations: 0 / 0.5667 GB, free: 29.65 MB / 446.1 MB Notification: Performance of Templates: time 0.003222/0.3362, allocations: 1.99 MB / 0.5686 GB, free: 29.39 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.962522531859577]