Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.001069/0.001069, allocations: 71.77 kB / 21.69 MB, free: 2.848 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.00114/0.00114, allocations: 160.5 kB / 24.99 MB, free: 9.277 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 1.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2478/0.2478, allocations: 32.79 MB / 294.6 MB, free: 1.289 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 376.1 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.221e-05, allocations: 5.688 kB / 376.1 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002302/0.002324, allocations: 1.762 MB / 377.9 MB, free: 3.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.003798, allocations: 1.005 MB / 378.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.011e-05/0.003878, allocations: 0 / 378.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.004184, allocations: 43.7 kB / 378.9 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.004484, allocations: 95.48 kB / 379 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.004687, allocations: 79.59 kB / 379.1 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.004842, allocations: 115.7 kB / 379.2 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.682e-05/0.004939, allocations: 4 kB / 379.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.367e-05/0.005023, allocations: 51.78 kB / 379.2 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.399e-05/0.005097, allocations: 31.89 kB / 379.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.005115, allocations: 4 kB / 379.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.395e-05/0.005198, allocations: 43.92 kB / 379.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.79e-05/0.005256, allocations: 23.92 kB / 379.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.005297, allocations: 23.86 kB / 379.4 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.005474, allocations: 99.66 kB / 379.5 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.005477, allocations: 0 / 379.5 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.005478, allocations: 0 / 379.5 MB, free: 1.508 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.005482, allocations: 4 kB / 379.5 MB, free: 1.504 MB / 346.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.000448/0.00593, allocations: 447.8 kB / 379.9 MB, free: 1.031 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.005966, allocations: 12.03 kB / 379.9 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.006013, allocations: 16.83 kB / 379.9 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.006173, allocations: 153.1 kB / 380.1 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.00619, allocations: 4.375 kB / 380.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.006208, allocations: 4.375 kB / 380.1 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.006326, allocations: 62.94 kB / 380.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.006337, allocations: 7.875 kB / 380.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.006345, allocations: 0 / 380.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.006354, allocations: 8 kB / 380.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.287e-05/0.006387, allocations: 11.92 kB / 380.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.00667, allocations: 283.8 kB / 380.5 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.978e-05/0.00677, allocations: 51.16 kB / 380.5 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.006798, allocations: 23.62 kB / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.006809, allocations: 0 / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.625e-05/0.006905, allocations: 68.98 kB / 380.6 MB, free: 244 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 9.71e-07/0.006906, allocations: 4 kB / 380.6 MB, free: 240 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000359/0.007265, allocations: 157.4 kB / 380.8 MB, free: 76 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.0073, allocations: 55.41 kB / 380.8 MB, free: 8 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.007441, allocations: 234.3 kB / 381 MB, free: 15.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.007454, allocations: 25.7 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.007506, allocations: 154.9 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.007533, allocations: 27.78 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.007564, allocations: 23.38 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.007669, allocations: 0.4962 MB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/0.007695, allocations: 15.98 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.133e-05/0.007726, allocations: 31.36 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.756e-05/0.007784, allocations: 63.23 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.007785, allocations: 0 / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000101/0.007886, allocations: 93.53 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.007897, allocations: 4 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.007903, allocations: 3.984 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.007916, allocations: 3.984 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.552e-05/0.007981, allocations: 16 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.007986, allocations: 0 / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.606e-05/0.008012, allocations: 0 / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.008018, allocations: 8.031 kB / 382 MB, free: 14.75 MB / 362.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.102e-05/0.008089, allocations: 168.5 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.008105, allocations: 15.95 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.008251, allocations: 103.2 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.008253, allocations: 4 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.008255, allocations: 0 / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.008259, allocations: 0 / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.008523, allocations: 400.9 kB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.008525, allocations: 0 / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-05/0.008552, allocations: 11.97 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.008555, allocations: 11.98 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.008562, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.008564, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.008565, allocations: 4 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.0087, allocations: 255.4 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.17e-05/0.008712, allocations: 15.91 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.008728, allocations: 0 / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.188e-05/0.00877, allocations: 4 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.008799, allocations: 7.984 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.008812, allocations: 4.375 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.305e-05/0.008885, allocations: 180.1 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008885, allocations: 0 / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001728/0.009058, allocations: 23.94 kB / 383.2 MB, free: 13.48 MB / 362.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.0009245/0.009983, allocations: 441.4 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001189/0.0101, allocations: 55.59 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.0101, allocations: 0 / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.581e-05/0.01015, allocations: 35.61 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.01038, allocations: 24.11 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.0107, allocations: 225.9 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.891e-05/0.01074, allocations: 67.34 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.565e-05/0.01078, allocations: 17.27 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.01081, allocations: 16.5 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01081, allocations: 0 / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of Templates: time 0.003766/0.01458, allocations: 1.872 MB / 385.9 MB, free: 10.86 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.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.202331563923508]