Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001582/0.001582, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002689/0.004271, 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.001132/0.001132, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001171/0.002303, 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.077/1.077, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1283/1.205, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.2995/0.2995, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02524/0.3248, allocations: 12.53 MB / 289.3 MB, free: 8.672 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.CombiTable1Ds.Test5,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.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 290.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.553e-05, allocations: 5.125 kB / 290.6 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.001885/0.001901, allocations: 1.693 MB / 292.3 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000698/0.002599, allocations: 0.554 MB / 292.9 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.002643, allocations: 4 kB / 292.9 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.002812, allocations: 91.3 kB / 293 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.00297, allocations: 105.7 kB / 293.1 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.00314, allocations: 96.62 kB / 293.2 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.003265, allocations: 90.41 kB / 293.3 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.082e-05/0.003336, allocations: 15.11 kB / 293.3 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.656e-05/0.003422, allocations: 67.25 kB / 293.3 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.397e-05/0.003496, allocations: 47.88 kB / 293.4 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.003508, allocations: 4 kB / 293.4 MB, free: 5.496 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.948e-05/0.003578, allocations: 43.92 kB / 293.4 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.162e-05/0.00361, allocations: 19.92 kB / 293.5 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.003633, allocations: 11.94 kB / 293.5 MB, free: 5.422 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.003769, allocations: 95.56 kB / 293.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.347e-05/0.003782, allocations: 0 / 293.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.003783, allocations: 0 / 293.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.003796, allocations: 4 kB / 293.6 MB, free: 5.324 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.000323/0.004119, allocations: 332.5 kB / 293.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.004148, allocations: 8.031 kB / 293.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.004175, allocations: 16.92 kB / 293.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.004297, allocations: 142.1 kB / 294.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-06/0.004303, allocations: 384 / 294.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.004321, allocations: 8.375 kB / 294.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.33e-05/0.004404, allocations: 58.88 kB / 294.1 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.004412, allocations: 192 / 294.1 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.004421, allocations: 8.125 kB / 294.1 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.004426, allocations: 8 kB / 294.1 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.208e-05/0.004448, allocations: 7.984 kB / 294.1 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.004614, allocations: 178.9 kB / 294.3 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.468e-05/0.004669, allocations: 30.56 kB / 294.3 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.366e-05/0.004682, allocations: 8.859 kB / 294.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.004703, allocations: 4 kB / 294.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.004723, allocations: 38.58 kB / 294.4 MB, free: 4.398 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.004724, allocations: 0 / 294.4 MB, free: 4.398 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003839/0.005108, allocations: 141.6 kB / 294.5 MB, free: 4.254 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.005138, allocations: 55.34 kB / 294.6 MB, free: 4.188 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.005242, allocations: 184.3 kB / 294.8 MB, free: 3.992 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.005253, allocations: 29.7 kB / 294.8 MB, free: 3.957 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.005286, allocations: 108 kB / 294.9 MB, free: 3.848 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.005307, allocations: 23.84 kB / 294.9 MB, free: 3.824 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.005332, allocations: 17.7 kB / 294.9 MB, free: 3.801 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.675e-05/0.005399, allocations: 322.8 kB / 295.3 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.121e-05/0.00541, allocations: 7.984 kB / 295.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.187e-05/0.005422, allocations: 8 kB / 295.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.944e-05/0.005451, allocations: 37.05 kB / 295.3 MB, free: 3.422 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.005452, allocations: 0 / 295.3 MB, free: 3.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.529e-05/0.005508, allocations: 65.55 kB / 295.4 MB, free: 3.352 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.005518, allocations: 4 kB / 295.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.005521, allocations: 4 kB / 295.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.00553, allocations: 0 / 295.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-05/0.005592, allocations: 15.98 kB / 295.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.005597, allocations: 4 kB / 295.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.709e-05/0.005614, allocations: 7.938 kB / 295.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.005618, allocations: 0 / 295.4 MB, free: 3.316 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 5.454e-05/0.005673, allocations: 120.7 kB / 295.5 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.005689, allocations: 15.86 kB / 295.5 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.424e-05/0.005783, allocations: 87 kB / 295.6 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.005786, allocations: 0 / 295.6 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.005787, allocations: 0 / 295.6 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.00579, allocations: 0 / 295.6 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.005991, allocations: 247.5 kB / 295.9 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.005992, allocations: 0 / 295.9 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.681e-05/0.006029, allocations: 15.98 kB / 295.9 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.00604, allocations: 11.91 kB / 295.9 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.006042, allocations: 4.031 kB / 295.9 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.006047, allocations: 4 kB / 295.9 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.006048, allocations: 0 / 295.9 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.00605, allocations: 0 / 295.9 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.895e-05/0.006139, allocations: 168.2 kB / 296.1 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.006149, allocations: 4 kB / 296.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.164e-05/0.006181, allocations: 3.984 kB / 296.1 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.006205, allocations: 8 kB / 296.1 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.00621, allocations: 3.984 kB / 296.1 MB, free: 2.574 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.175e-05/0.006252, allocations: 56.72 kB / 296.1 MB, free: 2.516 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006252, allocations: 4 kB / 296.1 MB, free: 2.512 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001248/0.006377, allocations: 19.98 kB / 296.2 MB, free: 2.492 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.001433/0.007809, allocations: 0.6347 MB / 296.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.387e-05/0.007883, allocations: 44.7 kB / 296.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.007889, allocations: 4 kB / 296.9 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.323e-05/0.007912, allocations: 24.78 kB / 296.9 MB, free: 2.137 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.008072, allocations: 18.44 kB / 296.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.008489, allocations: 243.6 kB / 297.1 MB, free: 1.852 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.856e-05/0.008538, allocations: 71.27 kB / 297.2 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.686e-05/0.008575, allocations: 17.09 kB / 297.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.252e-05/0.008627, allocations: 63.36 kB / 297.3 MB, free: 1.68 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008628, allocations: 0 / 297.3 MB, free: 1.68 MB / 282.7 MB Notification: Performance of Templates: time 0.003049/0.01168, allocations: 1.513 MB / 298.8 MB, free: 188 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.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.176465805619955]