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.001613/0.001613, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001126/0.001126, allocations: 170.4 kB / 24.91 MB, free: 9.199 MB / 18.57 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.9953/0.9953, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.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.2566/0.2566, allocations: 34.27 MB / 296.1 MB, free: 0.7383 MB / 266.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.593e-06/1.593e-06, allocations: 0 / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.441e-05, allocations: 3.516 kB / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002339/0.002363, allocations: 1.774 MB / 327.1 MB, free: 5.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.003618, allocations: 1.002 MB / 328.1 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.728e-05/0.003695, allocations: 0 / 328.1 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.003989, allocations: 47.66 kB / 328.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.004285, allocations: 99.53 kB / 328.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.004499, allocations: 79.59 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.004679, allocations: 107.6 kB / 328.4 MB, free: 4.504 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.771e-05/0.004767, allocations: 11.98 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.369e-05/0.00486, allocations: 55.77 kB / 328.5 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.439e-05/0.004935, allocations: 27.91 kB / 328.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.00495, allocations: 8 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.533e-05/0.005035, allocations: 43.92 kB / 328.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.005084, allocations: 19.92 kB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.005119, allocations: 19.92 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.005315, allocations: 111.5 kB / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.005318, allocations: 0 / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005319, allocations: 0 / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.005325, allocations: 0 / 328.7 MB, free: 4.211 MB / 298.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.0004572/0.005782, allocations: 329.5 kB / 329 MB, free: 3.867 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.005817, allocations: 8.031 kB / 329 MB, free: 3.859 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.005855, allocations: 8.938 kB / 329.1 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.006027, allocations: 150.6 kB / 329.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.006044, allocations: 4.375 kB / 329.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.006066, allocations: 384 / 329.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.006188, allocations: 69.7 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.006199, allocations: 3.938 kB / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-06/0.006206, allocations: 0 / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.006212, allocations: 0 / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.661e-05/0.006239, allocations: 15.97 kB / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.006439, allocations: 157.9 kB / 329.5 MB, free: 3.406 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.826e-05/0.006537, allocations: 93.34 kB / 329.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.006558, allocations: 24.72 kB / 329.6 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.00657, allocations: 0 / 329.6 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.496e-05/0.006655, allocations: 66.16 kB / 329.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.82e-07/0.006656, allocations: 0 / 329.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002873/0.006943, allocations: 109.5 kB / 329.7 MB, free: 3.086 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.006973, allocations: 51.41 kB / 329.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.007082, allocations: 180.2 kB / 330 MB, free: 2.832 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.007095, allocations: 29.7 kB / 330 MB, free: 2.797 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/0.007128, allocations: 100 kB / 330.1 MB, free: 2.695 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.007153, allocations: 31.78 kB / 330.1 MB, free: 2.664 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.007183, allocations: 25.7 kB / 330.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.79e-05/0.007261, allocations: 322.8 kB / 330.5 MB, free: 2.309 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/0.007279, allocations: 10.81 kB / 330.5 MB, free: 2.297 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/0.007304, allocations: 30.02 kB / 330.5 MB, free: 2.262 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.049e-05/0.007344, allocations: 40.52 kB / 330.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.007345, allocations: 0 / 330.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001038/0.007449, allocations: 84.36 kB / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.007463, allocations: 15 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.007468, allocations: 3.984 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.007481, allocations: 0 / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.953e-05/0.007541, allocations: 12 kB / 330.7 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.007543, allocations: 0 / 330.7 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.72e-05/0.00757, allocations: 7.984 kB / 330.7 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.007575, allocations: 0 / 330.7 MB, free: 2.09 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.433e-05/0.00764, allocations: 120.6 kB / 330.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.007654, allocations: 15.92 kB / 330.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.007756, allocations: 71.14 kB / 330.9 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.007758, allocations: 4 kB / 330.9 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.00776, allocations: 4 kB / 330.9 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.007764, allocations: 0 / 330.9 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.008015, allocations: 291.6 kB / 331.2 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.008018, allocations: 4 kB / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.708e-05/0.008045, allocations: 15.94 kB / 331.2 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.008047, allocations: 0 / 331.2 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.008053, allocations: 0 / 331.2 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.008054, allocations: 0 / 331.2 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.008056, allocations: 8.016 kB / 331.2 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.008165, allocations: 223 kB / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.008179, allocations: 11.91 kB / 331.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.008195, allocations: 4 kB / 331.4 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.121e-05/0.008236, allocations: 4 kB / 331.4 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.008261, allocations: 7.984 kB / 331.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.00827, allocations: 0 / 331.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.238e-05/0.008323, allocations: 60.69 kB / 331.5 MB, free: 1.191 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008323, allocations: 0 / 331.5 MB, free: 1.191 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001625/0.008485, allocations: 27.92 kB / 331.5 MB, free: 1.164 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.001355/0.009841, allocations: 0.579 MB / 332.1 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.009941, allocations: 36.78 kB / 332.1 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.009947, allocations: 4 kB / 332.1 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.187e-05/0.009979, allocations: 24.91 kB / 332.2 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.01016, allocations: 35.92 kB / 332.2 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.01056, allocations: 227.6 kB / 332.4 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.083e-05/0.0106, allocations: 67.33 kB / 332.5 MB, free: 444 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.855e-05/0.01064, allocations: 21.27 kB / 332.5 MB, free: 420 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.01071, allocations: 71.36 kB / 332.6 MB, free: 348 kB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01071, allocations: 0 / 332.6 MB, free: 348 kB / 298.7 MB Notification: Performance of Templates: time 0.003881/0.01459, allocations: 2.014 MB / 334.6 MB, free: 14.36 MB / 314.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 -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.9040634660050273]