Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001253/0.001253, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001931/0.003183, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001226/0.001226, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001546/0.002771, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.002/1.002, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1238/1.126, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.3275/0.3275, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0363/0.3638, allocations: 12.53 MB / 289.3 MB, free: 8.668 MB / 282.7 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 290.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.646e-05/3.818e-05, allocations: 7.078 kB / 290.6 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002933/0.002971, allocations: 1.689 MB / 292.3 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.004042, allocations: 0.5645 MB / 292.9 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.004147, allocations: 0 / 292.9 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003496/0.004497, allocations: 73.25 kB / 293 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003516/0.004848, allocations: 97.52 kB / 293.1 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.005221, allocations: 120.7 kB / 293.2 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.005439, allocations: 83.11 kB / 293.3 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.005558, allocations: 15.12 kB / 293.3 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.005688, allocations: 69.5 kB / 293.3 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.005796, allocations: 35.91 kB / 293.4 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.005814, allocations: 4 kB / 293.4 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.005933, allocations: 51.91 kB / 293.4 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.269e-05/0.005986, allocations: 15.92 kB / 293.4 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.006017, allocations: 15.94 kB / 293.5 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.006203, allocations: 83.62 kB / 293.5 MB, free: 5.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.241e-05/0.006225, allocations: 4 kB / 293.5 MB, free: 5.355 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.006228, allocations: 0 / 293.5 MB, free: 5.355 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.043e-05/0.006248, allocations: 0 / 293.5 MB, free: 5.355 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005042/0.006753, allocations: 324.6 kB / 293.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.006797, allocations: 12.03 kB / 293.9 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.006836, allocations: 4.938 kB / 293.9 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.007008, allocations: 146.2 kB / 294 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.007021, allocations: 384 / 294 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.007044, allocations: 4.375 kB / 294 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.007169, allocations: 66.92 kB / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.007181, allocations: 192 / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.007191, allocations: 4.125 kB / 294.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.007197, allocations: 0 / 294.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.779e-05/0.007224, allocations: 8 kB / 294.1 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.007526, allocations: 183 kB / 294.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.77e-05/0.007594, allocations: 33.41 kB / 294.3 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.12e-05/0.007615, allocations: 4.859 kB / 294.3 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.007646, allocations: 4 kB / 294.3 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.007677, allocations: 42.58 kB / 294.4 MB, free: 4.441 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.007678, allocations: 4 kB / 294.4 MB, free: 4.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005527/0.008231, allocations: 149.4 kB / 294.5 MB, free: 4.285 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.008277, allocations: 51.41 kB / 294.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.008407, allocations: 173 kB / 294.7 MB, free: 4.035 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.008419, allocations: 25.7 kB / 294.8 MB, free: 4.004 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.008458, allocations: 92.11 kB / 294.9 MB, free: 3.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.008488, allocations: 31.73 kB / 294.9 MB, free: 3.879 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.008523, allocations: 21.7 kB / 294.9 MB, free: 3.852 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.24e-05/0.008616, allocations: 330.8 kB / 295.2 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.008634, allocations: 8 kB / 295.2 MB, free: 3.512 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.376e-05/0.008648, allocations: 4.078 kB / 295.2 MB, free: 3.508 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.348e-05/0.008691, allocations: 31.81 kB / 295.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.008693, allocations: 0 / 295.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.878e-05/0.008771, allocations: 61.55 kB / 295.3 MB, free: 3.406 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.008787, allocations: 8 kB / 295.3 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.008794, allocations: 0 / 295.3 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.008805, allocations: 0 / 295.3 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.547e-05/0.00889, allocations: 23.98 kB / 295.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.008893, allocations: 4 kB / 295.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.008912, allocations: 0 / 295.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.008919, allocations: 4 kB / 295.4 MB, free: 3.367 MB / 282.7 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 (8): * Single equations (assignments): 8 * 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.966e-05/0.008989, allocations: 120.6 kB / 295.5 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.00901, allocations: 11.94 kB / 295.5 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.009139, allocations: 75.06 kB / 295.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.009142, allocations: 0 / 295.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.214e-05/0.009174, allocations: 0 / 295.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.009178, allocations: 0 / 295.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.009449, allocations: 251.5 kB / 295.8 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.009452, allocations: 8.031 kB / 295.8 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.924e-05/0.009501, allocations: 15.98 kB / 295.8 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.009514, allocations: 12.36 kB / 295.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.009516, allocations: 0 / 295.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.009521, allocations: 0 / 295.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.009524, allocations: 4 kB / 295.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.009525, allocations: 0 / 295.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.009626, allocations: 168.2 kB / 296 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.009638, allocations: 3.984 kB / 296 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.452e-05/0.009673, allocations: 7.984 kB / 296 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.0097, allocations: 11.98 kB / 296 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-06/0.009704, allocations: 0 / 296 MB, free: 2.629 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.376e-05/0.009748, allocations: 48.36 kB / 296.1 MB, free: 2.578 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009748, allocations: 0 / 296.1 MB, free: 2.578 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001456/0.009893, allocations: 23.92 kB / 296.1 MB, free: 2.555 MB / 282.7 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 (8): * Single equations (assignments): 8 * 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.001495/0.01139, allocations: 0.6293 MB / 296.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.0115, allocations: 40.7 kB / 296.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.01151, allocations: 0 / 296.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.249e-05/0.01153, allocations: 24.8 kB / 296.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.01172, allocations: 31.67 kB / 296.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/0.01224, allocations: 224.1 kB / 297.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.568e-05/0.01229, allocations: 71.33 kB / 297.1 MB, free: 1.836 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.241e-05/0.01233, allocations: 13.03 kB / 297.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.873e-05/0.01239, allocations: 63.36 kB / 297.2 MB, free: 1.762 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01239, allocations: 0 / 297.2 MB, free: 1.762 MB / 282.7 MB Notification: Performance of Templates: time 0.003374/0.01576, allocations: 1.534 MB / 298.7 MB, free: 248 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.052174295298755]