Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.0007388/0.0007388, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.00181, 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.0007115/0.0007115, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000864/0.001576, 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.9618/0.9618, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.109/1.071, 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.2684/0.2684, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02575/0.2941, allocations: 13.1 MB / 291.3 MB, free: 7.371 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.305e-05, allocations: 4.141 kB / 292.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002478/0.002502, allocations: 1.807 MB / 294.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.003885, allocations: 1.021 MB / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.003959, allocations: 4 kB / 295.6 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.004148, allocations: 35.72 kB / 295.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.004378, allocations: 99.47 kB / 295.7 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.004561, allocations: 83.59 kB / 295.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.004721, allocations: 103.7 kB / 295.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.256e-05/0.004794, allocations: 7.984 kB / 295.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.004925, allocations: 83.75 kB / 296 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.433e-05/0.005, allocations: 27.91 kB / 296 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.005016, allocations: 11.94 kB / 296 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.972e-05/0.005105, allocations: 43.92 kB / 296 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.00515, allocations: 19.92 kB / 296.1 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.005184, allocations: 15.94 kB / 296.1 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.005359, allocations: 95.61 kB / 296.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.538e-05/0.005374, allocations: 4 kB / 296.2 MB, free: 2.742 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005375, allocations: 0 / 296.2 MB, free: 2.742 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.005388, allocations: 0 / 296.2 MB, free: 2.742 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.0004336/0.005822, allocations: 341 kB / 296.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.005853, allocations: 12.03 kB / 296.5 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.005886, allocations: 8.938 kB / 296.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.006052, allocations: 150.5 kB / 296.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.006068, allocations: 4.375 kB / 296.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.006085, allocations: 4.375 kB / 296.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.006196, allocations: 65.7 kB / 296.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.006207, allocations: 3.938 kB / 296.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.006214, allocations: 0 / 296.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.006218, allocations: 4 kB / 296.8 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.899e-05/0.006247, allocations: 7.984 kB / 296.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.006476, allocations: 165.9 kB / 296.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.938e-05/0.006576, allocations: 93.36 kB / 297 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.499e-05/0.006601, allocations: 20.77 kB / 297 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.006612, allocations: 4 kB / 297 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.715e-05/0.006709, allocations: 62.11 kB / 297.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.00671, allocations: 0 / 297.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000297/0.007007, allocations: 105.6 kB / 297.2 MB, free: 1.605 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.007038, allocations: 55.41 kB / 297.3 MB, free: 1.539 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.007158, allocations: 184.8 kB / 297.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.007174, allocations: 33.69 kB / 297.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.007206, allocations: 92.12 kB / 297.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.007237, allocations: 35.72 kB / 297.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.007278, allocations: 17.72 kB / 297.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.644e-05/0.007364, allocations: 326.8 kB / 297.9 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.007385, allocations: 18.75 kB / 297.9 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.813e-05/0.007413, allocations: 25.64 kB / 298 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.887e-05/0.007462, allocations: 40.52 kB / 298 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.007463, allocations: 0 / 298 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.465e-05/0.007558, allocations: 80.44 kB / 298.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.007571, allocations: 5.719 kB / 298.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.007575, allocations: 0 / 298.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.007586, allocations: 4 kB / 298.1 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.532e-05/0.007661, allocations: 16 kB / 298.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.007666, allocations: 7.984 kB / 298.1 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.184e-05/0.007698, allocations: 0 / 298.1 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.007705, allocations: 4 kB / 298.1 MB, free: 0.6055 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.236e-05/0.007777, allocations: 123.1 kB / 298.2 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.895e-05/0.007796, allocations: 15.92 kB / 298.3 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.007909, allocations: 75.17 kB / 298.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.007913, allocations: 7.984 kB / 298.3 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.007914, allocations: 0 / 298.3 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.007919, allocations: 3.984 kB / 298.3 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.008161, allocations: 287.4 kB / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.008163, allocations: 0 / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.008201, allocations: 11.94 kB / 298.6 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.008214, allocations: 11.91 kB / 298.7 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.008218, allocations: 7.984 kB / 298.7 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.008225, allocations: 4.375 kB / 298.7 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.008227, allocations: 4.031 kB / 298.7 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.008229, allocations: 4 kB / 298.7 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.008362, allocations: 223 kB / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.008379, allocations: 0 / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.109e-05/0.00844, allocations: 11.98 kB / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/0.008462, allocations: 0 / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.008476, allocations: 7.984 kB / 298.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.155e-05/0.008528, allocations: 51.64 kB / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008528, allocations: 0 / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000199/0.008727, allocations: 27.94 kB / 299 MB, free: 15.68 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.001567/0.01029, allocations: 0.6301 MB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.985e-05/0.01039, allocations: 48.7 kB / 299.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/0.0104, allocations: 4.062 kB / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.452e-05/0.01043, allocations: 32.92 kB / 299.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.01065, allocations: 42.56 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000496/0.01115, allocations: 235.7 kB / 300 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.686e-05/0.0112, allocations: 71.33 kB / 300 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.34e-05/0.01124, allocations: 12.97 kB / 300.1 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.191e-05/0.01131, allocations: 71.44 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01131, allocations: 0 / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of Templates: time 0.004055/0.01537, allocations: 2.042 MB / 302.2 MB, free: 12.82 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.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.974120064638555]