Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.0009855/0.0009855, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001032/0.002018, 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.001568/0.001568, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001572/0.003141, 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.016/1.016, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08715/1.103, allocations: 53.65 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2775/0.2775, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02534/0.3028, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 292.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.407e-05, allocations: 2.312 kB / 292.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003018/0.003042, allocations: 1.808 MB / 294.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.005461, allocations: 1.754 MB / 296.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.851e-05/0.005539, allocations: 8 kB / 296.3 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.005762, allocations: 35.77 kB / 296.3 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.00607, allocations: 99.41 kB / 296.4 MB, free: 2.488 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.006279, allocations: 79.61 kB / 296.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.00647, allocations: 115.6 kB / 296.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.578e-05/0.006555, allocations: 4 kB / 296.6 MB, free: 2.293 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.006712, allocations: 87.73 kB / 296.7 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.006834, allocations: 31.91 kB / 296.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.006852, allocations: 4 kB / 296.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.007063, allocations: 107.8 kB / 296.8 MB, free: 2.066 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.54e-05/0.007118, allocations: 23.92 kB / 296.9 MB, free: 2.043 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.007156, allocations: 15.94 kB / 296.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.007428, allocations: 155.4 kB / 297 MB, free: 1.875 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.788e-05/0.007446, allocations: 0 / 297 MB, free: 1.875 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.007447, allocations: 0 / 297 MB, free: 1.875 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.007465, allocations: 0 / 297 MB, free: 1.875 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005554/0.00802, allocations: 341 kB / 297.4 MB, free: 1.52 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.008054, allocations: 8.031 kB / 297.4 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.008094, allocations: 12.92 kB / 297.4 MB, free: 1.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.008303, allocations: 142.1 kB / 297.5 MB, free: 1.336 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.008322, allocations: 12.38 kB / 297.5 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.008341, allocations: 384 / 297.5 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.008515, allocations: 108.5 kB / 297.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.008525, allocations: 4 kB / 297.6 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.008534, allocations: 0 / 297.6 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.00854, allocations: 0 / 297.6 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.723e-05/0.008577, allocations: 10.77 kB / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002634/0.00884, allocations: 173.9 kB / 297.8 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.008963, allocations: 89.34 kB / 297.9 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.897e-05/0.008992, allocations: 20.8 kB / 297.9 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.009003, allocations: 4 kB / 297.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.00912, allocations: 66.2 kB / 298 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.945e-06/0.009123, allocations: 3.984 kB / 298 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003579/0.009481, allocations: 105.5 kB / 298.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.009519, allocations: 59.34 kB / 298.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.009659, allocations: 162.6 kB / 298.3 MB, free: 444 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.00968, allocations: 29.7 kB / 298.4 MB, free: 408 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.00972, allocations: 92.12 kB / 298.4 MB, free: 312 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.009749, allocations: 23.77 kB / 298.5 MB, free: 288 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.00979, allocations: 25.72 kB / 298.5 MB, free: 256 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.009899, allocations: 322.8 kB / 298.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/0.009923, allocations: 14.81 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.385e-05/0.009967, allocations: 52.27 kB / 298.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.524e-05/0.01003, allocations: 56.38 kB / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01003, allocations: 0 / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001149/0.01015, allocations: 68.56 kB / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.01017, allocations: 4 kB / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01017, allocations: 0 / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.01018, allocations: 8.062 kB / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/0.01025, allocations: 15.94 kB / 299 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.01026, allocations: 7.984 kB / 299 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.081e-05/0.01029, allocations: 3.953 kB / 299 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.0103, allocations: 8 kB / 299 MB, free: 15.66 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.896e-05/0.01037, allocations: 117.9 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.01039, allocations: 11.98 kB / 299.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.01049, allocations: 70.39 kB / 299.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01049, allocations: 0 / 299.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.01049, allocations: 4 kB / 299.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.0105, allocations: 4 kB / 299.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.01071, allocations: 291.4 kB / 299.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01071, allocations: 384 / 299.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.882e-05/0.01074, allocations: 12 kB / 299.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.01075, allocations: 15.88 kB / 299.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.01076, allocations: 0 / 299.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.01076, allocations: 4 kB / 299.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01076, allocations: 4 kB / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01076, allocations: 0 / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.01087, allocations: 227 kB / 299.8 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.01088, allocations: 0 / 299.8 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.023e-05/0.01092, allocations: 11.98 kB / 299.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.01094, allocations: 4 kB / 299.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.01095, allocations: 3.984 kB / 299.8 MB, free: 14.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.662e-05/0.01099, allocations: 46.7 kB / 299.9 MB, free: 14.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01099, allocations: 0 / 299.9 MB, free: 14.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000182/0.01117, allocations: 51.8 kB / 299.9 MB, free: 14.73 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001624/0.0128, allocations: 0.7791 MB / 300.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.813e-05/0.01289, allocations: 44.75 kB / 300.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.0129, allocations: 4 kB / 300.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.925e-05/0.01293, allocations: 24.8 kB / 300.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.01311, allocations: 44.05 kB / 300.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004367/0.01355, allocations: 207.5 kB / 301 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.503e-05/0.01358, allocations: 67.34 kB / 301.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.51e-05/0.01363, allocations: 17.27 kB / 301.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.0137, allocations: 79.34 kB / 301.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01371, allocations: 0 / 301.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of Templates: time 0.004161/0.01787, allocations: 2.816 MB / 304 MB, free: 11.06 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.1568377278745174]