Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.00144/0.00144, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001206/0.001206, allocations: 165 kB / 24.56 MB, free: 20 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 1.023/1.023, allocations: 177.1 MB / 205 MB, free: 5.301 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.279/0.279, allocations: 34.26 MB / 295.7 MB, free: 0.7188 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.305e-05, allocations: 2.312 kB / 378.1 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004399/0.004432, allocations: 1.937 MB / 380.1 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.006613, allocations: 1.111 MB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.006773, allocations: 7.938 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006564/0.007429, allocations: 255.2 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006544/0.008083, allocations: 235 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003802/0.008464, allocations: 131.5 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004479/0.008912, allocations: 279.2 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.009061, allocations: 13.97 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.00933, allocations: 159.6 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.009618, allocations: 199.5 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.009654, allocations: 8 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.009825, allocations: 63.92 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.009944, allocations: 75.69 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.951e-05/0.01003, allocations: 43.8 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004339/0.01047, allocations: 203.2 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.01048, allocations: 0 / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.01048, allocations: 0 / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.01049, allocations: 0 / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001044/0.01153, allocations: 0.6195 MB / 383.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.425e-05/0.01159, allocations: 16.02 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.01171, allocations: 40.7 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.01208, allocations: 234.9 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.01211, allocations: 384 / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.01215, allocations: 12.38 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.01241, allocations: 118.2 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.01243, allocations: 3.938 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.01244, allocations: 0 / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.01245, allocations: 4 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.964e-05/0.01254, allocations: 31.91 kB / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006704/0.01321, allocations: 0.522 MB / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.0136, allocations: 118.1 kB / 384.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.414e-05/0.01368, allocations: 43.47 kB / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.0137, allocations: 0 / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.01391, allocations: 120.3 kB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.01391, allocations: 4 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.00126/0.01517, allocations: 484.4 kB / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.01523, allocations: 88.98 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004416/0.01567, allocations: 434.8 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.0157, allocations: 33.7 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.01585, allocations: 223.3 kB / 385.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.271e-05/0.01593, allocations: 71.38 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.64e-05/0.01601, allocations: 47.38 kB / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.01621, allocations: 0.5274 MB / 386.6 MB, free: 9.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.818e-05/0.0163, allocations: 35.97 kB / 386.6 MB, free: 9.805 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.01641, allocations: 84.03 kB / 386.7 MB, free: 9.707 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.01661, allocations: 126.8 kB / 386.8 MB, free: 9.566 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01661, allocations: 0 / 386.8 MB, free: 9.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000337/0.01695, allocations: 209.2 kB / 387 MB, free: 9.355 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.01697, allocations: 4 kB / 387 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.01698, allocations: 0 / 387 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.017, allocations: 4 kB / 387 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.01731, allocations: 44.03 kB / 387.1 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.01733, allocations: 13.05 kB / 387.1 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.651e-05/0.0174, allocations: 8 kB / 387.1 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.01742, allocations: 8 kB / 387.1 MB, free: 9.277 MB / 362.7 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 (26): * Single equations (assignments): 26 * 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.0001405/0.01756, allocations: 168.6 kB / 387.3 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.01762, allocations: 43.77 kB / 387.3 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004295/0.01805, allocations: 236.4 kB / 387.5 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.01806, allocations: 0 / 387.5 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.01806, allocations: 3.938 kB / 387.5 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.01807, allocations: 4 kB / 387.5 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009207/0.01899, allocations: 0.7723 MB / 388.3 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.019, allocations: 0 / 388.3 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.156e-05/0.01909, allocations: 35.92 kB / 388.4 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.01909, allocations: 0 / 388.4 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.01911, allocations: 8 kB / 388.4 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.01912, allocations: 7.984 kB / 388.4 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.01912, allocations: 3.938 kB / 388.4 MB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005121/0.01963, allocations: 0.5161 MB / 388.9 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.01968, allocations: 27.77 kB / 388.9 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/0.01973, allocations: 11.98 kB / 388.9 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.01987, allocations: 8 kB / 388.9 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/0.01994, allocations: 23.97 kB / 389 MB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.01997, allocations: 12 kB / 389 MB, free: 7.297 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002753/0.02024, allocations: 299 kB / 389.3 MB, free: 7.004 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.02024, allocations: 0 / 389.3 MB, free: 7.004 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00045/0.02069, allocations: 51.92 kB / 389.3 MB, free: 6.953 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 20 * 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.001591/0.02228, allocations: 0.4902 MB / 389.8 MB, free: 6.648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002889/0.02257, allocations: 127.4 kB / 389.9 MB, free: 6.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.02257, allocations: 0 / 389.9 MB, free: 6.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.02269, allocations: 83.7 kB / 390 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005877/0.02328, allocations: 65.62 kB / 390.1 MB, free: 6.375 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.02437, allocations: 0.5244 MB / 390.6 MB, free: 5.793 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.02449, allocations: 100.5 kB / 390.7 MB, free: 5.676 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000109/0.0246, allocations: 45.92 kB / 390.7 MB, free: 5.629 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.844e-05/0.02468, allocations: 32.48 kB / 390.8 MB, free: 5.598 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02468, allocations: 0 / 390.8 MB, free: 5.598 MB / 362.7 MB Notification: Performance of Templates: time 0.006258/0.03094, allocations: 3.364 MB / 394.1 MB, free: 2.289 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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.321849575266242]