Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.0009961/0.0009961, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.002401, 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.0009643/0.0009643, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008779/0.001842, 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 0.9723/0.9723, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09834/1.071, allocations: 53.65 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.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.2617/0.2617, allocations: 34.24 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02925/0.2909, allocations: 13.1 MB / 291.3 MB, free: 7.363 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 292.7 MB, free: 6.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.129e-05, allocations: 7.078 kB / 292.7 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002137/0.002159, allocations: 1.815 MB / 294.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.003449, allocations: 1.02 MB / 295.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.893e-05/0.003528, allocations: 4 kB / 295.6 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.003718, allocations: 27.78 kB / 295.6 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.003951, allocations: 99.41 kB / 295.7 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.004138, allocations: 83.66 kB / 295.8 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.00431, allocations: 107.6 kB / 295.9 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.05e-05/0.004401, allocations: 7.984 kB / 295.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.004526, allocations: 79.81 kB / 295.9 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.811e-05/0.004604, allocations: 27.91 kB / 296 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.004621, allocations: 4 kB / 296 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.73e-05/0.004708, allocations: 47.86 kB / 296 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.936e-05/0.004757, allocations: 19.86 kB / 296 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.004795, allocations: 15.94 kB / 296.1 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.004973, allocations: 99.66 kB / 296.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.777e-05/0.004991, allocations: 0 / 296.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.004992, allocations: 0 / 296.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.005009, allocations: 4 kB / 296.2 MB, free: 2.73 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.0004756/0.005485, allocations: 329 kB / 296.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.005522, allocations: 12.03 kB / 296.5 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.005559, allocations: 8.938 kB / 296.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.005728, allocations: 146.2 kB / 296.6 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.005749, allocations: 12.3 kB / 296.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.005766, allocations: 4.375 kB / 296.7 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.005882, allocations: 61.77 kB / 296.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.005894, allocations: 3.938 kB / 296.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.005902, allocations: 4 kB / 296.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.005907, allocations: 4 kB / 296.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.13e-05/0.005938, allocations: 8 kB / 296.7 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.00615, allocations: 165.9 kB / 296.9 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.724e-05/0.006247, allocations: 81.3 kB / 297 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/0.006273, allocations: 28.89 kB / 297 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.006285, allocations: 0 / 297 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001043/0.006389, allocations: 62.16 kB / 297.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.00639, allocations: 0 / 297.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003312/0.006722, allocations: 121.5 kB / 297.2 MB, free: 1.594 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.006762, allocations: 51.41 kB / 297.2 MB, free: 1.531 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.006902, allocations: 177.3 kB / 297.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.006925, allocations: 33.7 kB / 297.4 MB, free: 1.305 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.006966, allocations: 96.11 kB / 297.5 MB, free: 1.207 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.006999, allocations: 19.84 kB / 297.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.007041, allocations: 25.64 kB / 297.6 MB, free: 1.156 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.007156, allocations: 326.8 kB / 297.9 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.123e-05/0.007177, allocations: 10.83 kB / 297.9 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.844e-05/0.007206, allocations: 21.7 kB / 297.9 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.057e-05/0.007256, allocations: 48.52 kB / 298 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.007258, allocations: 0 / 298 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.94e-05/0.007347, allocations: 76.44 kB / 298.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.007362, allocations: 5.875 kB / 298.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.00737, allocations: 7.984 kB / 298.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.00738, allocations: 0 / 298.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.007456, allocations: 15.98 kB / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.007459, allocations: 7.938 kB / 298.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.223e-05/0.007492, allocations: 0 / 298.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.0075, allocations: 8.031 kB / 298.1 MB, free: 0.6094 MB / 282.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 7.657e-05/0.007576, allocations: 124.6 kB / 298.2 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.007589, allocations: 11.94 kB / 298.2 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.007702, allocations: 75.06 kB / 298.3 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.007706, allocations: 7.938 kB / 298.3 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.007707, allocations: 0 / 298.3 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.007712, allocations: 0 / 298.3 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.007984, allocations: 295.4 kB / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.007986, allocations: 4 kB / 298.6 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.008019, allocations: 11.98 kB / 298.6 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.008031, allocations: 11.98 kB / 298.6 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.008033, allocations: 0 / 298.6 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.00804, allocations: 4.375 kB / 298.6 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.008042, allocations: 0 / 298.6 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.008043, allocations: 0 / 298.6 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.008175, allocations: 223 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.00819, allocations: 4 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.734e-05/0.008227, allocations: 0 / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.008253, allocations: 11.98 kB / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.008264, allocations: 4 kB / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.441e-05/0.008309, allocations: 59.62 kB / 298.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008309, allocations: 0 / 298.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001418/0.008451, allocations: 16 kB / 299 MB, free: 15.7 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.001589/0.01004, allocations: 0.6369 MB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.01017, allocations: 44.78 kB / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/0.01018, allocations: 3.984 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.664e-05/0.01022, allocations: 32.92 kB / 299.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.01043, allocations: 42.34 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005404/0.01097, allocations: 215.8 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.042e-05/0.01102, allocations: 71.33 kB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.931e-05/0.01106, allocations: 17.09 kB / 300 MB, free: 14.94 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.081e-05/0.01113, allocations: 67.31 kB / 300.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of SimCode: time 1.433e-06/0.01113, allocations: 3.938 kB / 300.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of Templates: time 0.004112/0.01525, allocations: 2.045 MB / 302.1 MB, free: 12.85 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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: 2.9103567134588957]