Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001195/0.001195, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00144/0.002635, 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.0009475/0.0009475, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001172/0.00212, 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.035/1.035, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1272/1.162, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.2786/0.2786, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0289/0.3075, 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.002e-06/1.002e-06, allocations: 0 / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.319e-05/1.42e-05, allocations: 2.969 kB / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.001984/0.001999, allocations: 1.68 MB / 292.3 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007539/0.002752, allocations: 0.5434 MB / 292.8 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.675e-05/0.002799, allocations: 1.625 kB / 292.8 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.002913, allocations: 28.41 kB / 292.9 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.003073, allocations: 76.66 kB / 292.9 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.003252, allocations: 91.59 kB / 293 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.003372, allocations: 59.58 kB / 293.1 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.825e-05/0.00345, allocations: 15.95 kB / 293.1 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.257e-05/0.003533, allocations: 52.03 kB / 293.2 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.084e-05/0.003583, allocations: 14 kB / 293.2 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.003594, allocations: 2.906 kB / 293.2 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.49e-05/0.003659, allocations: 38.88 kB / 293.2 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.204e-05/0.003691, allocations: 7.531 kB / 293.2 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.423e-05/0.003715, allocations: 10.88 kB / 293.2 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.003833, allocations: 69.03 kB / 293.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.447e-05/0.003847, allocations: 2.188 kB / 293.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.6e-07/0.003848, allocations: 0 / 293.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.003864, allocations: 0 / 293.3 MB, free: 5.594 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003902/0.004254, allocations: 292.3 kB / 293.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.004283, allocations: 8.031 kB / 293.6 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.004312, allocations: 12.94 kB / 293.6 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.004455, allocations: 135.3 kB / 293.7 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.004465, allocations: 4.375 kB / 293.7 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.004481, allocations: 4.312 kB / 293.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.187e-05/0.004573, allocations: 58.94 kB / 293.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.004581, allocations: 192 / 293.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.004588, allocations: 4.125 kB / 293.8 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.004593, allocations: 0 / 293.8 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.416e-05/0.004617, allocations: 4 kB / 293.8 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.004816, allocations: 163.2 kB / 294 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.00496, allocations: 34.5 kB / 294 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.658e-05/0.004977, allocations: 12.84 kB / 294 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.004993, allocations: 0 / 294 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.005017, allocations: 38.64 kB / 294.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.005018, allocations: 0 / 294.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002541/0.005272, allocations: 81.48 kB / 294.1 MB, free: 4.664 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.005305, allocations: 51.41 kB / 294.2 MB, free: 4.602 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.005409, allocations: 148.2 kB / 294.3 MB, free: 4.441 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.005422, allocations: 29.7 kB / 294.4 MB, free: 4.406 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/0.005454, allocations: 88.12 kB / 294.5 MB, free: 4.316 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.005477, allocations: 23.84 kB / 294.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.005503, allocations: 17.7 kB / 294.5 MB, free: 4.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.864e-05/0.005581, allocations: 322.8 kB / 294.8 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.005592, allocations: 4 kB / 294.8 MB, free: 3.941 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-06/0.005599, allocations: 192 / 294.8 MB, free: 3.941 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.719e-05/0.005627, allocations: 28.78 kB / 294.8 MB, free: 3.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.005627, allocations: 0 / 294.8 MB, free: 3.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.98e-05/0.005677, allocations: 53.62 kB / 294.9 MB, free: 3.852 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.005689, allocations: 4 kB / 294.9 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.005693, allocations: 3.938 kB / 294.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.103e-06/0.0057, allocations: 0 / 294.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.475e-05/0.005745, allocations: 15.98 kB / 294.9 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-06/0.005748, allocations: 4 kB / 294.9 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.429e-05/0.005762, allocations: 0 / 294.9 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.005766, allocations: 0 / 294.9 MB, free: 3.824 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 (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 5.389e-05/0.00582, allocations: 120.6 kB / 295 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.005835, allocations: 11.92 kB / 295 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.882e-05/0.005914, allocations: 54.14 kB / 295.1 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.005916, allocations: 0 / 295.1 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.005917, allocations: 0 / 295.1 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.00592, allocations: 4 kB / 295.1 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.006089, allocations: 218.8 kB / 295.3 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.006092, allocations: 3.938 kB / 295.3 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.786e-05/0.00612, allocations: 8 kB / 295.3 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-06/0.006128, allocations: 7.953 kB / 295.3 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.00613, allocations: 0 / 295.3 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.006135, allocations: 4.188 kB / 295.3 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.006138, allocations: 7.984 kB / 295.3 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.006139, allocations: 0 / 295.3 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.037e-05/0.006209, allocations: 139.5 kB / 295.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.00622, allocations: 4 kB / 295.5 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.904e-05/0.006259, allocations: 8 kB / 295.5 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.006282, allocations: 11.92 kB / 295.5 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.006284, allocations: 0 / 295.5 MB, free: 3.176 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.796e-05/0.006312, allocations: 34.06 kB / 295.5 MB, free: 3.141 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006312, allocations: 0 / 295.5 MB, free: 3.141 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001219/0.006434, allocations: 15.94 kB / 295.6 MB, free: 3.125 MB / 282.7 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.001194/0.007628, allocations: 0.5384 MB / 296.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.17e-05/0.0077, allocations: 36.83 kB / 296.1 MB, free: 2.859 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.007704, allocations: 3.938 kB / 296.1 MB, free: 2.855 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.753e-05/0.007721, allocations: 16.8 kB / 296.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.007884, allocations: 33.48 kB / 296.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003958/0.00828, allocations: 167.2 kB / 296.3 MB, free: 2.613 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.923e-05/0.008319, allocations: 67.34 kB / 296.4 MB, free: 2.527 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.677e-05/0.008346, allocations: 7.984 kB / 296.4 MB, free: 2.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.008406, allocations: 63.36 kB / 296.5 MB, free: 2.457 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008406, allocations: 0 / 296.5 MB, free: 2.457 MB / 282.7 MB Notification: Performance of Templates: time 0.002753/0.01116, allocations: 1.262 MB / 297.7 MB, free: 1.211 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.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.2213704688474536]