Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.002153/0.002153, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002736/0.002736, allocations: 165.3 kB / 24.27 MB, free: 156 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.663/1.663, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3644/0.3644, allocations: 34.26 MB / 295.3 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.133e-05, allocations: 2.312 kB / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003485/0.003516, allocations: 1.739 MB / 379.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.005556, allocations: 1 MB / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.965e-05/0.005626, allocations: 0 / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.005942, allocations: 51.62 kB / 380.2 MB, free: 76 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003625/0.006305, allocations: 99.53 kB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.006555, allocations: 79.61 kB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.006771, allocations: 107.6 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.26e-05/0.006863, allocations: 7.984 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.00699, allocations: 51.84 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.007146, allocations: 35.83 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.007172, allocations: 4 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.007295, allocations: 43.92 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.721e-05/0.007362, allocations: 19.92 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.277e-05/0.007415, allocations: 19.92 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.007661, allocations: 127.5 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.007664, allocations: 4 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007665, allocations: 0 / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.00767, allocations: 0 / 380.7 MB, free: 15.48 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.0006886/0.008358, allocations: 451.5 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.008398, allocations: 12.03 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.126e-05/0.008459, allocations: 12.84 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.008737, allocations: 164.9 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.008752, allocations: 384 / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.008777, allocations: 4.375 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.008932, allocations: 58.17 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.008947, allocations: 7.938 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.008959, allocations: 0 / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.008964, allocations: 0 / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.016e-05/0.009044, allocations: 19.98 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.009516, allocations: 291.8 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.009729, allocations: 71.09 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.605e-05/0.009796, allocations: 23.61 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.009814, allocations: 0 / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.01, allocations: 73.05 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.01, allocations: 4 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006169/0.01062, allocations: 185.3 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.01068, allocations: 55.41 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.01101, allocations: 253.9 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.01103, allocations: 29.64 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.01115, allocations: 154.9 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.0112, allocations: 35.8 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.01125, allocations: 27.36 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000279/0.01153, allocations: 0.504 MB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.415e-05/0.01159, allocations: 16 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.824e-05/0.01167, allocations: 47.3 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.0118, allocations: 75.36 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.0118, allocations: 0 / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002046/0.012, allocations: 101.6 kB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.01202, allocations: 7.984 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01202, allocations: 0 / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.01204, allocations: 0 / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.289e-05/0.01213, allocations: 16 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.01214, allocations: 0 / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.391e-05/0.01218, allocations: 4 kB / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.01219, allocations: 12.02 kB / 383.4 MB, free: 12.59 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 0.0001462/0.01234, allocations: 176.4 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.01237, allocations: 11.91 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.01264, allocations: 123.1 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01264, allocations: 0 / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01265, allocations: 0 / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.01265, allocations: 0 / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005483/0.0132, allocations: 420.9 kB / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.0132, allocations: 0 / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-05/0.01324, allocations: 12 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01325, allocations: 4.031 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.01325, allocations: 0 / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.01326, allocations: 4 kB / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01326, allocations: 0 / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.01357, allocations: 271.4 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.01359, allocations: 11.91 kB / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.01362, allocations: 8 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.5e-05/0.01369, allocations: 0 / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.01373, allocations: 7.984 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.01375, allocations: 4.375 kB / 384.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001791/0.01393, allocations: 196.1 kB / 384.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01393, allocations: 4 kB / 384.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002512/0.01418, allocations: 24 kB / 384.7 MB, free: 11.25 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.003344/0.01752, allocations: 0.4913 MB / 385.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.01773, allocations: 71.59 kB / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01773, allocations: 0 / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.66e-05/0.01782, allocations: 35.83 kB / 385.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.0182, allocations: 40.09 kB / 385.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005292/0.01873, allocations: 233.8 kB / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.01884, allocations: 96.8 kB / 385.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.036e-05/0.01889, allocations: 17.09 kB / 385.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.01894, allocations: 20.5 kB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01894, allocations: 0 / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of Templates: time 0.005821/0.02476, allocations: 1.872 MB / 387.5 MB, free: 8.559 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.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: 4.983220994006842]