Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001037/0.001037, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001087/0.001087, allocations: 161 kB / 24.56 MB, free: 12 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.002/1.002, allocations: 177.1 MB / 205 MB, free: 5.223 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.2513/0.2513, allocations: 34.26 MB / 295.7 MB, free: 0.6211 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 378.1 MB, free: 2.535 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.092e-05, allocations: 5.406 kB / 378.1 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002096/0.002117, allocations: 1.762 MB / 379.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.003247, allocations: 1.009 MB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.379e-05/0.00332, allocations: 4 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.003585, allocations: 51.62 kB / 380.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.00385, allocations: 103.5 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.004012, allocations: 79.59 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.004152, allocations: 111.6 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.041e-05/0.004232, allocations: 4 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.206e-05/0.004314, allocations: 59.81 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.004375, allocations: 23.86 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.004391, allocations: 4 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.828e-05/0.004469, allocations: 47.91 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.004518, allocations: 27.92 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.004554, allocations: 19.94 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.004709, allocations: 107.6 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004711, allocations: 0 / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004712, allocations: 4 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.004716, allocations: 0 / 381.5 MB, free: 15.1 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000401/0.005116, allocations: 463.7 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.005149, allocations: 8.031 kB / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.005193, allocations: 20.84 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.005347, allocations: 153.2 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.005361, allocations: 384 / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.005382, allocations: 8.312 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.97e-05/0.005481, allocations: 62.94 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.00549, allocations: 3.938 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.005499, allocations: 7.984 kB / 382.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.005505, allocations: 0 / 382.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.291e-05/0.005538, allocations: 15.94 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.005805, allocations: 291.8 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.57e-05/0.005901, allocations: 59.16 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.689e-05/0.005928, allocations: 15.62 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.00594, allocations: 7.938 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.845e-05/0.006029, allocations: 69.05 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.00603, allocations: 3.984 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003582/0.006389, allocations: 169.3 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.006415, allocations: 51.41 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.006559, allocations: 259.1 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.006571, allocations: 25.7 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.006634, allocations: 158.9 kB / 383.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.006662, allocations: 27.78 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.006695, allocations: 27.38 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.00681, allocations: 0.5001 MB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/0.006835, allocations: 15.98 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.376e-05/0.006869, allocations: 35.36 kB / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.476e-05/0.006923, allocations: 51.25 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.006924, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001022/0.007026, allocations: 97.58 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.007037, allocations: 8 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.007043, allocations: 3.984 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.007056, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/0.007121, allocations: 16.03 kB / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.007127, allocations: 4 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.219e-05/0.007159, allocations: 4 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.007165, allocations: 4 kB / 384.1 MB, free: 12.27 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.969e-05/0.007235, allocations: 168.5 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.00725, allocations: 19.84 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.007395, allocations: 99.12 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.007397, allocations: 4 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.0074, allocations: 3.938 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.007403, allocations: 0 / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.007674, allocations: 404.9 kB / 384.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.007675, allocations: 0 / 384.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.673e-05/0.007702, allocations: 15.92 kB / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.007705, allocations: 4 kB / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.007713, allocations: 0 / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.007714, allocations: 0 / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007715, allocations: 0 / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.007851, allocations: 267.4 kB / 385.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.007863, allocations: 11.91 kB / 385.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.007877, allocations: 3.984 kB / 385.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.092e-05/0.007918, allocations: 8.406 kB / 385.1 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.007947, allocations: 7.984 kB / 385.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.007958, allocations: 8 kB / 385.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.13e-05/0.008039, allocations: 183.1 kB / 385.3 MB, free: 11 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00804, allocations: 0 / 385.3 MB, free: 11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.008217, allocations: 31.92 kB / 385.3 MB, free: 10.96 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.0008301/0.009047, allocations: 428.3 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.009163, allocations: 59.58 kB / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.009164, allocations: 4.062 kB / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.621e-05/0.0092, allocations: 31.61 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.009421, allocations: 31.2 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.009756, allocations: 237.6 kB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.396e-05/0.0098, allocations: 75.27 kB / 386.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.289e-05/0.009833, allocations: 8.984 kB / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.009864, allocations: 24.55 kB / 386.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009864, allocations: 0 / 386.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of Templates: time 0.003339/0.0132, allocations: 1.892 MB / 388.1 MB, free: 8.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.2608082410879433]