Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009271/0.0009271, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009453/0.0009453, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9818/0.9818, allocations: 177.1 MB / 205 MB, free: 5.625 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.2586/0.2586, allocations: 32.81 MB / 294.3 MB, free: 1.266 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.Test30,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.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 376.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.578e-05, allocations: 2.312 kB / 376.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.001965/0.001981, allocations: 1.769 MB / 377.9 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.003151, allocations: 1.005 MB / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.002e-05/0.003221, allocations: 4 kB / 378.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.003483, allocations: 39.7 kB / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.003755, allocations: 99.47 kB / 379 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.003914, allocations: 83.66 kB / 379.1 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.004063, allocations: 111.6 kB / 379.2 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.069e-05/0.004144, allocations: 4 kB / 379.2 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.787e-05/0.004222, allocations: 55.83 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.675e-05/0.004288, allocations: 27.91 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.004304, allocations: 4 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.779e-05/0.004382, allocations: 51.84 kB / 379.4 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.00443, allocations: 23.92 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.004466, allocations: 15.94 kB / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.004629, allocations: 99.59 kB / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.004631, allocations: 0 / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004632, allocations: 4 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.004636, allocations: 0 / 379.5 MB, free: 1.164 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.0004509/0.005087, allocations: 447.9 kB / 379.9 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.005122, allocations: 8.031 kB / 379.9 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.005165, allocations: 16.84 kB / 380 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.005326, allocations: 157 kB / 380.1 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.005344, allocations: 4.359 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.005369, allocations: 8.375 kB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.00548, allocations: 62.94 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.00549, allocations: 3.938 kB / 380.2 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.005499, allocations: 4 kB / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.005506, allocations: 0 / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.423e-05/0.00554, allocations: 11.98 kB / 380.2 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.005819, allocations: 287.7 kB / 380.5 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.523e-05/0.005915, allocations: 51.16 kB / 380.5 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/0.005954, allocations: 23.62 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.005986, allocations: 0 / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.006105, allocations: 65.05 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.006106, allocations: 4 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003705/0.006477, allocations: 157.4 kB / 380.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.006502, allocations: 59.28 kB / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.006631, allocations: 238.3 kB / 381.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.006642, allocations: 25.7 kB / 381.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.006694, allocations: 150.9 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.006719, allocations: 27.78 kB / 381.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.006751, allocations: 27.38 kB / 381.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.006851, allocations: 0.4962 MB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.33e-05/0.006874, allocations: 11.98 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.815e-05/0.006912, allocations: 39.36 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.236e-05/0.006965, allocations: 51.25 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.006966, allocations: 0 / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.938e-05/0.007065, allocations: 93.58 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.007077, allocations: 8 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.007082, allocations: 384 / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.007096, allocations: 3.984 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.602e-05/0.007162, allocations: 15.94 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.007169, allocations: 8 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/0.007194, allocations: 4.031 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.007201, allocations: 4 kB / 382 MB, free: 14.41 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 6.541e-05/0.007266, allocations: 168.5 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.007279, allocations: 7.953 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.007417, allocations: 111.2 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.007419, allocations: 0 / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.007423, allocations: 4 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.007426, allocations: 0 / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.007692, allocations: 393 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.007694, allocations: 4.031 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.429e-05/0.007718, allocations: 8 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.00772, allocations: 0 / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/0.007729, allocations: 7.984 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.00773, allocations: 0 / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.007731, allocations: 0 / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.007866, allocations: 255.4 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.372e-05/0.00788, allocations: 19.89 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.007896, allocations: 4 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.743e-05/0.007934, allocations: 0 / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.007965, allocations: 15.86 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.007977, allocations: 12 kB / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.193e-05/0.008049, allocations: 172.1 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008049, allocations: 0 / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001672/0.008216, allocations: 27.94 kB / 383.2 MB, free: 13.14 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.0009477/0.009164, allocations: 439.1 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.009312, allocations: 51.59 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.009314, allocations: 0 / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.265e-05/0.009357, allocations: 31.73 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.009607, allocations: 31.98 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.009967, allocations: 222 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.218e-05/0.01001, allocations: 63.34 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.518e-05/0.01004, allocations: 21.27 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.01008, allocations: 16.5 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01008, allocations: 0 / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of Templates: time 0.003506/0.01359, allocations: 1.869 MB / 385.9 MB, free: 10.53 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.2389443749561906]