Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.001561/0.001561, allocations: 75.05 kB / 19.93 MB, free: 1.781 MB / 14.72 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.001689/0.001689, allocations: 166.5 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 158.6 MB / 185 MB, free: 6.391 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2276/0.2276, allocations: 32.38 MB / 269.6 MB, free: 4.672 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 407.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.567e-05/3.804e-05, allocations: 2.281 kB / 407.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.004048/0.004086, allocations: 1.806 MB / 409.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.005938, allocations: 0.8581 MB / 410.1 MB, free: 260 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.102e-05/0.006029, allocations: 8 kB / 410.1 MB, free: 252 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005893/0.006618, allocations: 259.2 kB / 410.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004085/0.007026, allocations: 191.2 kB / 410.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.007434, allocations: 150.9 kB / 410.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.007781, allocations: 251.2 kB / 410.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.007894, allocations: 25.78 kB / 411 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.008116, allocations: 147.6 kB / 411.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.008378, allocations: 183.6 kB / 411.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.008411, allocations: 8 kB / 411.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.008546, allocations: 47.92 kB / 411.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.008653, allocations: 59.77 kB / 411.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.892e-05/0.008752, allocations: 51.72 kB / 411.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003647/0.009117, allocations: 223.1 kB / 411.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.009122, allocations: 0 / 411.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.009123, allocations: 0 / 411.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.009129, allocations: 0 / 411.7 MB, free: 14.68 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009528/0.01008, allocations: 0.4886 MB / 412.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.01013, allocations: 8.031 kB / 412.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.787e-05/0.0102, allocations: 36.7 kB / 412.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.01065, allocations: 209.8 kB / 412.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.01066, allocations: 8.359 kB / 412.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.0107, allocations: 12.38 kB / 412.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.01097, allocations: 95.92 kB / 412.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.01099, allocations: 11.81 kB / 412.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/0.01101, allocations: 0 / 412.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-06/0.01102, allocations: 4 kB / 412.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.01116, allocations: 47.95 kB / 412.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/0.01176, allocations: 388.6 kB / 413 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.01209, allocations: 121.2 kB / 413.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.0122, allocations: 49.7 kB / 413.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.01221, allocations: 3.938 kB / 413.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002715/0.01248, allocations: 113.1 kB / 413.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.01248, allocations: 0 / 413.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001054/0.01354, allocations: 392.4 kB / 413.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.0136, allocations: 85.11 kB / 413.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005743/0.01418, allocations: 489.6 kB / 414.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.01421, allocations: 33.7 kB / 414.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.01435, allocations: 156.4 kB / 414.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.01441, allocations: 51.59 kB / 414.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.717e-05/0.01448, allocations: 37.7 kB / 414.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.01468, allocations: 346.8 kB / 414.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.0148, allocations: 47.97 kB / 414.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.01494, allocations: 71.41 kB / 414.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.0152, allocations: 127.5 kB / 415 MB, free: 11.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.0152, allocations: 4 kB / 415 MB, free: 11.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003807/0.01558, allocations: 189.3 kB / 415.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.0156, allocations: 8 kB / 415.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.01561, allocations: 0 / 415.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.01563, allocations: 0 / 415.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.01578, allocations: 35.98 kB / 415.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.01579, allocations: 0 / 415.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.84e-05/0.01588, allocations: 7.984 kB / 415.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.0159, allocations: 16 kB / 415.3 MB, free: 10.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0002005/0.0161, allocations: 181.6 kB / 415.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.01615, allocations: 31.81 kB / 415.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005173/0.01667, allocations: 228.3 kB / 415.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.01667, allocations: 4 kB / 415.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.01668, allocations: 0 / 415.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.01668, allocations: 0 / 415.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008755/0.01756, allocations: 0.5849 MB / 416.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.01756, allocations: 8.812 kB / 416.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.939e-05/0.01764, allocations: 19.98 kB / 416.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.01764, allocations: 3.984 kB / 416.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.01766, allocations: 8 kB / 416.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.01767, allocations: 4 kB / 416.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.01768, allocations: 7.938 kB / 416.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005298/0.01821, allocations: 388.1 kB / 416.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.01825, allocations: 27.77 kB / 416.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.01829, allocations: 8 kB / 416.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.01844, allocations: 11.98 kB / 416.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.0185, allocations: 15.92 kB / 416.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.01853, allocations: 8 kB / 416.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004287/0.01896, allocations: 367.1 kB / 417.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01896, allocations: 0 / 417.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003606/0.01932, allocations: 47.92 kB / 417.2 MB, free: 8.812 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002022/0.02134, allocations: 0.4911 MB / 417.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003414/0.02168, allocations: 115.9 kB / 417.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.02169, allocations: 0 / 417.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.02184, allocations: 59.86 kB / 417.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005735/0.02241, allocations: 60.95 kB / 417.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009972/0.02341, allocations: 0.5411 MB / 418.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.02362, allocations: 173.4 kB / 418.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.921e-05/0.0237, allocations: 29.61 kB / 418.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.638e-05/0.02378, allocations: 28.48 kB / 418.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.02378, allocations: 0 / 418.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of Templates: time 0.008054/0.03184, allocations: 2.913 MB / 421.6 MB, free: 4.465 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.376996900886297]