Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001558/0.001558, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001958/0.001958, allocations: 168.6 kB / 24.5 MB, free: 3.453 MB / 14.72 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.561/1.561, allocations: 177.2 MB / 204.9 MB, free: 9.051 MB / 190.1 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.2195/0.2195, allocations: 34.26 MB / 295.5 MB, free: 14.61 MB / 286.1 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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.89 kB / 443.2 MB, free: 6.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3503, allocations: 66 MB / 0.4973 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003687/0.354, allocations: 1.726 MB / 0.499 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.3561, allocations: 0.9701 MB / 0.4999 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.3562, allocations: 0 / 0.4999 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003577/0.3566, allocations: 46.83 kB / 0.5 GB, free: 28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004565/0.3571, allocations: 101 kB / 0.5001 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.3574, allocations: 83.94 kB / 0.5001 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.3576, allocations: 103.6 kB / 0.5002 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3577, allocations: 3.844 kB / 0.5002 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.3578, allocations: 46.72 kB / 0.5003 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.3579, allocations: 32.03 kB / 0.5003 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.3579, allocations: 7.219 kB / 0.5003 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.3581, allocations: 44.89 kB / 0.5004 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.06e-05/0.3581, allocations: 25.73 kB / 0.5004 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.883e-05/0.3582, allocations: 29.31 kB / 0.5004 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.3585, allocations: 121 kB / 0.5005 GB, free: 27.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3585, allocations: 0 / 0.5005 GB, free: 27.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3585, allocations: 0 / 0.5005 GB, free: 27.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.3585, allocations: 3 kB / 0.5005 GB, free: 27.72 MB / 446.1 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.0005275/0.359, allocations: 354.7 kB / 0.5009 GB, free: 27.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.359, allocations: 6.781 kB / 0.5009 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.3591, allocations: 11.17 kB / 0.5009 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.3594, allocations: 165.2 kB / 0.501 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.3594, allocations: 384 / 0.501 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.3595, allocations: 14.7 kB / 0.5011 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.3596, allocations: 53.55 kB / 0.5011 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3596, allocations: 0 / 0.5011 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3596, allocations: 3.156 kB / 0.5011 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3596, allocations: 0 / 0.5011 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.516e-05/0.3597, allocations: 20.48 kB / 0.5011 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.3601, allocations: 240.3 kB / 0.5014 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.3603, allocations: 59.67 kB / 0.5014 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.601e-05/0.3603, allocations: 22.17 kB / 0.5014 GB, free: 26.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.3604, allocations: 0 / 0.5014 GB, free: 26.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.3605, allocations: 73.86 kB / 0.5015 GB, free: 26.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.3605, allocations: 0 / 0.5015 GB, free: 26.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006761/0.3612, allocations: 178.2 kB / 0.5017 GB, free: 26.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.3612, allocations: 58.22 kB / 0.5017 GB, free: 26.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.3614, allocations: 224.4 kB / 0.502 GB, free: 26.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.3615, allocations: 29.7 kB / 0.502 GB, free: 26.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.3615, allocations: 113.5 kB / 0.5021 GB, free: 26.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.3615, allocations: 18.83 kB / 0.5021 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/0.3616, allocations: 26.38 kB / 0.5021 GB, free: 26.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.238e-05/0.3617, allocations: 325.5 kB / 0.5024 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.3617, allocations: 23.5 kB / 0.5025 GB, free: 26.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.039e-05/0.3618, allocations: 33.78 kB / 0.5025 GB, free: 26.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.362, allocations: 70.14 kB / 0.5026 GB, free: 25.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.362, allocations: 0 / 0.5026 GB, free: 25.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000251/0.3623, allocations: 104.5 kB / 0.5027 GB, free: 25.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3623, allocations: 5.125 kB / 0.5027 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.3623, allocations: 2.75 kB / 0.5027 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3623, allocations: 0 / 0.5027 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.3624, allocations: 28 kB / 0.5027 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3624, allocations: 7.188 kB / 0.5027 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/0.3625, allocations: 0 / 0.5027 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.3625, allocations: 3.156 kB / 0.5027 GB, free: 25.89 MB / 446.1 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.0001172/0.3626, allocations: 134.8 kB / 0.5028 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.3627, allocations: 11.12 kB / 0.5028 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.363, allocations: 131.8 kB / 0.503 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.363, allocations: 3.984 kB / 0.503 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.363, allocations: 3.156 kB / 0.503 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.363, allocations: 0 / 0.503 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005335/0.3635, allocations: 352 kB / 0.5033 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3635, allocations: 0 / 0.5033 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.85e-05/0.3636, allocations: 9.594 kB / 0.5033 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.3636, allocations: 0 / 0.5033 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.3636, allocations: 10.61 kB / 0.5033 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3636, allocations: 4.031 kB / 0.5033 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3636, allocations: 7 kB / 0.5033 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.3639, allocations: 213.5 kB / 0.5035 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.484e-05/0.3639, allocations: 7.172 kB / 0.5036 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.364, allocations: 7.188 kB / 0.5036 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.3641, allocations: 0 / 0.5036 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.3641, allocations: 14.42 kB / 0.5036 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.3642, allocations: 6.469 kB / 0.5036 GB, free: 25.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.3643, allocations: 158.3 kB / 0.5037 GB, free: 25.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3643, allocations: 0 / 0.5037 GB, free: 25.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004646/0.3648, allocations: 30.55 kB / 0.5038 GB, free: 25.09 MB / 446.1 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.002442/0.3672, allocations: 496 kB / 0.5042 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002928/0.3675, allocations: 69.02 kB / 0.5043 GB, free: 24.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3675, allocations: 4.062 kB / 0.5043 GB, free: 24.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.3676, allocations: 27.38 kB / 0.5043 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.3682, allocations: 27.91 kB / 0.5044 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005814/0.3687, allocations: 250.1 kB / 0.5046 GB, free: 24.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.57e-05/0.3688, allocations: 98.55 kB / 0.5047 GB, free: 24.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.674e-05/0.3689, allocations: 18.36 kB / 0.5047 GB, free: 24.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.06e-05/0.3689, allocations: 20.97 kB / 0.5047 GB, free: 24.56 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3689, allocations: 0 / 0.5047 GB, free: 24.56 MB / 446.1 MB Notification: Performance of Templates: time 0.007442/0.3764, allocations: 1.837 MB / 0.5065 GB, free: 24.32 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.120406319038011]