Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.002432/0.002432, allocations: 107.1 kB / 20.44 MB, free: 1.328 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.00311/0.00311, allocations: 205.3 kB / 23.72 MB, free: 4.5 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2469/0.2469, allocations: 44.95 MB / 358.9 MB, free: 6.031 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable1Dv.Test19,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.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,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.CombiTable1Dv.Test19") [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.003261/0.003261, allocations: 71.91 kB / 0.4935 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3203, allocations: 65.47 MB / 0.5575 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.003131/0.3234, allocations: 1.59 MB / 0.559 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.3254, allocations: 1.236 MB / 0.5602 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.092e-05/0.3255, allocations: 0 / 0.5602 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.3257, allocations: 23.84 kB / 0.5603 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.326, allocations: 87.61 kB / 0.5603 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.3263, allocations: 122.9 kB / 0.5605 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.3265, allocations: 63.84 kB / 0.5605 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3266, allocations: 11.98 kB / 0.5605 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.887e-05/0.3266, allocations: 23.86 kB / 0.5606 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.3267, allocations: 31.84 kB / 0.5606 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.3268, allocations: 7.938 kB / 0.5606 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.3269, allocations: 91.88 kB / 0.5607 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.327, allocations: 11.94 kB / 0.5607 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.327, allocations: 23.86 kB / 0.5607 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.3273, allocations: 145.9 kB / 0.5609 GB, free: 4.027 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3273, allocations: 4 kB / 0.5609 GB, free: 4.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3273, allocations: 0 / 0.5609 GB, free: 4.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3273, allocations: 0 / 0.5609 GB, free: 4.023 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.0005301/0.3278, allocations: 327.7 kB / 0.5612 GB, free: 3.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3279, allocations: 12.03 kB / 0.5612 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.3279, allocations: 12.89 kB / 0.5612 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.3281, allocations: 133.2 kB / 0.5613 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.3281, allocations: 384 / 0.5613 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.3282, allocations: 4.375 kB / 0.5613 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.3283, allocations: 97.16 kB / 0.5614 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.3284, allocations: 4 kB / 0.5614 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3284, allocations: 4 kB / 0.5614 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3284, allocations: 0 / 0.5614 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.477e-05/0.3285, allocations: 23.97 kB / 0.5614 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.3288, allocations: 232.5 kB / 0.5617 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.3291, allocations: 46.48 kB / 0.5617 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/0.3291, allocations: 16.86 kB / 0.5617 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.3291, allocations: 0 / 0.5617 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.3292, allocations: 38.66 kB / 0.5618 GB, free: 2.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3292, allocations: 0 / 0.5618 GB, free: 2.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005982/0.3298, allocations: 153.4 kB / 0.5619 GB, free: 2.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.3298, allocations: 81.09 kB / 0.562 GB, free: 2.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.33, allocations: 141.8 kB / 0.5621 GB, free: 2.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.33, allocations: 29.7 kB / 0.5622 GB, free: 2.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.3301, allocations: 88.14 kB / 0.5622 GB, free: 2.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.3301, allocations: 27.78 kB / 0.5623 GB, free: 2.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.3301, allocations: 17.72 kB / 0.5623 GB, free: 2.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3303, allocations: 326.8 kB / 0.5626 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.3304, allocations: 19.98 kB / 0.5626 GB, free: 2.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.561e-05/0.3304, allocations: 59.41 kB / 0.5627 GB, free: 1.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.3306, allocations: 56.75 kB / 0.5627 GB, free: 1.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3306, allocations: 0 / 0.5627 GB, free: 1.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000206/0.3308, allocations: 89.66 kB / 0.5628 GB, free: 1.824 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3308, allocations: 7.938 kB / 0.5628 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.3308, allocations: 0 / 0.5628 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3308, allocations: 256 / 0.5628 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.898e-05/0.3309, allocations: 15.98 kB / 0.5628 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.3309, allocations: 4 kB / 0.5628 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.09e-05/0.331, allocations: 15.92 kB / 0.5628 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.331, allocations: 0 / 0.5628 GB, free: 1.781 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.56e-05/0.3311, allocations: 117.8 kB / 0.563 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.3311, allocations: 7.953 kB / 0.563 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.3314, allocations: 106 kB / 0.5631 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3314, allocations: 0 / 0.5631 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3314, allocations: 0 / 0.5631 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3314, allocations: 0 / 0.5631 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.3318, allocations: 298.1 kB / 0.5634 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3318, allocations: 0 / 0.5634 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.333e-05/0.3319, allocations: 19.98 kB / 0.5634 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.3319, allocations: 4 kB / 0.5634 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.3319, allocations: 0 / 0.5634 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3319, allocations: 0 / 0.5634 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3319, allocations: 0 / 0.5634 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.3322, allocations: 183.4 kB / 0.5636 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.3322, allocations: 7.953 kB / 0.5636 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.3322, allocations: 0 / 0.5636 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.17e-05/0.3323, allocations: 11.98 kB / 0.5636 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.3323, allocations: 7.938 kB / 0.5636 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.3323, allocations: 0 / 0.5636 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.3324, allocations: 125.7 kB / 0.5637 GB, free: 0.832 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3324, allocations: 0 / 0.5637 GB, free: 0.832 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000294/0.3327, allocations: 35.88 kB / 0.5637 GB, free: 0.7969 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.001906/0.3346, allocations: 0.534 MB / 0.5643 GB, free: 488 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.3348, allocations: 51.95 kB / 0.5643 GB, free: 436 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3349, allocations: 0 / 0.5643 GB, free: 436 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.314e-05/0.3349, allocations: 27.92 kB / 0.5643 GB, free: 408 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.3353, allocations: 22.98 kB / 0.5644 GB, free: 388 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004959/0.3358, allocations: 165.6 kB / 0.5645 GB, free: 196 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.659e-05/0.3359, allocations: 83.02 kB / 0.5646 GB, free: 92 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.292e-05/0.336, allocations: 15.77 kB / 0.5646 GB, free: 76 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.336, allocations: 23.42 kB / 0.5646 GB, free: 56 kB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.336, allocations: 4 kB / 0.5646 GB, free: 52 kB / 398.1 MB Notification: Performance of Templates: time 0.005062/0.3411, allocations: 1.822 MB / 0.5664 GB, free: 14.25 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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: 5.187424609437585]