Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001535/0.001535, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001931/0.001931, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.512/1.512, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.2182/0.2182, allocations: 44.91 MB / 359.6 MB, free: 6.281 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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") [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.002214/0.002214, allocations: 67.91 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3332, allocations: 65.46 MB / 0.5583 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003144/0.3363, allocations: 1.618 MB / 0.5598 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.3374, allocations: 0.5426 MB / 0.5604 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.627e-05/0.3375, allocations: 0 / 0.5604 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.3377, allocations: 31.78 kB / 0.5604 GB, free: 5.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002716/0.3379, allocations: 75.62 kB / 0.5605 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.3382, allocations: 87.77 kB / 0.5606 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.3384, allocations: 71.77 kB / 0.5606 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3385, allocations: 8 kB / 0.5606 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.356e-05/0.3385, allocations: 23.86 kB / 0.5607 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.189e-05/0.3386, allocations: 27.84 kB / 0.5607 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.3386, allocations: 0 / 0.5607 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-05/0.3387, allocations: 35.98 kB / 0.5607 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.976e-05/0.3388, allocations: 11.94 kB / 0.5607 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.972e-05/0.3388, allocations: 27.8 kB / 0.5608 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.339, allocations: 82.05 kB / 0.5608 GB, free: 5.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.339, allocations: 4 kB / 0.5608 GB, free: 5.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.339, allocations: 0 / 0.5608 GB, free: 5.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.339, allocations: 3.938 kB / 0.5608 GB, free: 5.082 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.0004666/0.3394, allocations: 305.9 kB / 0.5611 GB, free: 4.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.3395, allocations: 8.031 kB / 0.5611 GB, free: 4.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.3395, allocations: 12.89 kB / 0.5612 GB, free: 4.734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.3397, allocations: 134.4 kB / 0.5613 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.3397, allocations: 4.359 kB / 0.5613 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.3397, allocations: 4.375 kB / 0.5613 GB, free: 4.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.3399, allocations: 49.81 kB / 0.5613 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3399, allocations: 3.984 kB / 0.5613 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.3399, allocations: 3.938 kB / 0.5613 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3399, allocations: 0 / 0.5613 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.715e-05/0.34, allocations: 27.92 kB / 0.5614 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.3404, allocations: 247.9 kB / 0.5616 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.3406, allocations: 42.56 kB / 0.5616 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/0.3406, allocations: 12.86 kB / 0.5617 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.3407, allocations: 8.016 kB / 0.5617 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.3407, allocations: 30.56 kB / 0.5617 GB, free: 4.082 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3407, allocations: 0 / 0.5617 GB, free: 4.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005458/0.3412, allocations: 145.4 kB / 0.5618 GB, free: 3.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.3413, allocations: 55.41 kB / 0.5619 GB, free: 3.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.3414, allocations: 148.4 kB / 0.562 GB, free: 3.711 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3415, allocations: 29.7 kB / 0.5621 GB, free: 3.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.3415, allocations: 92.14 kB / 0.5621 GB, free: 3.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.3416, allocations: 23.78 kB / 0.5622 GB, free: 3.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.3416, allocations: 17.72 kB / 0.5622 GB, free: 3.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3417, allocations: 326.8 kB / 0.5625 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.988e-05/0.3418, allocations: 19.98 kB / 0.5625 GB, free: 3.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.829e-05/0.3419, allocations: 19.98 kB / 0.5625 GB, free: 3.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.342, allocations: 40.78 kB / 0.5626 GB, free: 3.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.342, allocations: 0 / 0.5626 GB, free: 3.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00021/0.3422, allocations: 89.8 kB / 0.5627 GB, free: 3.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3422, allocations: 4 kB / 0.5627 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3422, allocations: 7.984 kB / 0.5627 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3422, allocations: 0 / 0.5627 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.357e-05/0.3423, allocations: 15.98 kB / 0.5627 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3423, allocations: 0 / 0.5627 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.275e-05/0.3424, allocations: 8 kB / 0.5627 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.3424, allocations: 0 / 0.5627 GB, free: 2.996 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 9.316e-05/0.3425, allocations: 125.8 kB / 0.5628 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.3425, allocations: 7.953 kB / 0.5628 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.3427, allocations: 90 kB / 0.5629 GB, free: 2.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.3427, allocations: 4 kB / 0.5629 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3427, allocations: 0 / 0.5629 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3427, allocations: 0 / 0.5629 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/0.3432, allocations: 321.5 kB / 0.5632 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3432, allocations: 0 / 0.5632 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.692e-05/0.3432, allocations: 15.98 kB / 0.5632 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3432, allocations: 0 / 0.5632 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.3432, allocations: 4 kB / 0.5632 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.3432, allocations: 7.875 kB / 0.5632 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3432, allocations: 0 / 0.5632 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.3435, allocations: 175.5 kB / 0.5634 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.3435, allocations: 11.95 kB / 0.5634 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.3435, allocations: 4 kB / 0.5634 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.3436, allocations: 12.2 kB / 0.5634 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.3436, allocations: 0 / 0.5634 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.3436, allocations: 192 / 0.5634 GB, free: 2.141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.3437, allocations: 120.6 kB / 0.5636 GB, free: 2.023 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3437, allocations: 0 / 0.5636 GB, free: 2.023 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.344, allocations: 15.94 kB / 0.5636 GB, free: 2.008 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.001513/0.3455, allocations: 414.2 kB / 0.564 GB, free: 1.758 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.3457, allocations: 47.91 kB / 0.564 GB, free: 1.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3457, allocations: 3.938 kB / 0.564 GB, free: 1.707 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.842e-05/0.3457, allocations: 19.97 kB / 0.564 GB, free: 1.688 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.3461, allocations: 17.62 kB / 0.564 GB, free: 1.672 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.3466, allocations: 211.8 kB / 0.5642 GB, free: 1.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.3469, allocations: 0.7018 MB / 0.5649 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.3469, allocations: 11.44 kB / 0.5649 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.3469, allocations: 0 / 0.5649 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of Templates: time 0.003179/0.3501, allocations: 1.427 MB / 0.5663 GB, free: 15.26 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.977085171965882]