Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.0007547/0.0007547, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001135/0.00189, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007184/0.0007184, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009135/0.001632, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.007/1.007, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1034/1.111, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.254/0.254, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02579/0.2798, allocations: 13.1 MB / 291.5 MB, free: 7.328 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 292.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.004e-05, allocations: 5.281 kB / 292.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.001999/0.002019, allocations: 1.81 MB / 294.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.003198, allocations: 1.027 MB / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.045e-05/0.003268, allocations: 0 / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.003457, allocations: 59.58 kB / 295.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.003667, allocations: 103.5 kB / 295.9 MB, free: 3.102 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.003822, allocations: 79.55 kB / 296 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.003984, allocations: 107.6 kB / 296.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.317e-05/0.004067, allocations: 8 kB / 296.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.004197, allocations: 83.75 kB / 296.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.773e-05/0.004274, allocations: 23.91 kB / 296.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.004288, allocations: 4 kB / 296.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-05/0.004368, allocations: 47.86 kB / 296.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.025e-05/0.004418, allocations: 27.92 kB / 296.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.004448, allocations: 19.88 kB / 296.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.004607, allocations: 111.5 kB / 296.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/0.004619, allocations: 4 kB / 296.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00462, allocations: 0 / 296.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.004628, allocations: 4 kB / 296.4 MB, free: 2.59 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.0004417/0.00507, allocations: 356.9 kB / 296.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.005099, allocations: 12.03 kB / 296.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.005131, allocations: 8.922 kB / 296.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.005278, allocations: 162.4 kB / 297 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.005293, allocations: 4.375 kB / 297 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.005314, allocations: 8.359 kB / 297 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.524e-05/0.005409, allocations: 61.77 kB / 297 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.005419, allocations: 7.938 kB / 297 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-06/0.005426, allocations: 0 / 297 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.005434, allocations: 4 kB / 297 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.3e-05/0.005457, allocations: 4 kB / 297.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.005732, allocations: 173.9 kB / 297.2 MB, free: 1.727 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.005841, allocations: 85.28 kB / 297.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.317e-05/0.005864, allocations: 12.84 kB / 297.3 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.005878, allocations: 4 kB / 297.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.006095, allocations: 70.16 kB / 297.4 MB, free: 1.531 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.006096, allocations: 0 / 297.4 MB, free: 1.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003779/0.006474, allocations: 117.5 kB / 297.5 MB, free: 1.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.006508, allocations: 55.34 kB / 297.6 MB, free: 1.344 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.006659, allocations: 217.2 kB / 297.8 MB, free: 1.117 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.006678, allocations: 25.7 kB / 297.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.7e-05/0.006715, allocations: 100.1 kB / 297.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.006742, allocations: 23.84 kB / 297.9 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.006774, allocations: 21.7 kB / 297.9 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.00685, allocations: 330.7 kB / 298.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/0.006867, allocations: 14.83 kB / 298.3 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.198e-05/0.006889, allocations: 25.69 kB / 298.3 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.084e-05/0.00693, allocations: 36.53 kB / 298.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.006931, allocations: 0 / 298.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.721e-05/0.007018, allocations: 84.42 kB / 298.4 MB, free: 432 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.007031, allocations: 8 kB / 298.4 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.007036, allocations: 0 / 298.4 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.00705, allocations: 3.984 kB / 298.4 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-05/0.00712, allocations: 16 kB / 298.4 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.007125, allocations: 7.969 kB / 298.5 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.712e-05/0.007152, allocations: 4 kB / 298.5 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.007158, allocations: 3.984 kB / 298.5 MB, free: 388 kB / 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 6.401e-05/0.007222, allocations: 120.6 kB / 298.6 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/0.007236, allocations: 15.92 kB / 298.6 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.643e-05/0.007332, allocations: 75.08 kB / 298.7 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.007334, allocations: 0 / 298.7 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.007336, allocations: 4 kB / 298.7 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.00734, allocations: 0 / 298.7 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.007553, allocations: 311.4 kB / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.007554, allocations: 0 / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.604e-05/0.00758, allocations: 12 kB / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.419e-05/0.007594, allocations: 19.88 kB / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-06/0.007596, allocations: 0 / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.007603, allocations: 4 kB / 299 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.007604, allocations: 0 / 299 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007605, allocations: 0 / 299 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.00784, allocations: 219 kB / 299.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.007857, allocations: 3.984 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.494e-05/0.007902, allocations: 4 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.007928, allocations: 11.95 kB / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.007941, allocations: 8.375 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.487e-05/0.007996, allocations: 75.75 kB / 299.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007996, allocations: 0 / 299.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001443/0.00814, allocations: 23.98 kB / 299.4 MB, free: 15.42 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.001444/0.009584, allocations: 0.6476 MB / 300 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.6e-05/0.00968, allocations: 44.81 kB / 300 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/0.00969, allocations: 4 kB / 300 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.665e-05/0.009726, allocations: 28.78 kB / 300.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.009967, allocations: 184.4 kB / 300.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.01044, allocations: 268.3 kB / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.3e-05/0.0105, allocations: 71.33 kB / 300.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.098e-05/0.01054, allocations: 16.97 kB / 300.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.736e-05/0.0106, allocations: 71.36 kB / 300.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.0106, allocations: 0 / 300.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of Templates: time 0.003497/0.0141, allocations: 2.075 MB / 302.7 MB, free: 12.33 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.924318882636726]