Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.001384/0.001384, allocations: 79.59 kB / 21.18 MB, free: 3.387 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: 161 kB / 24.56 MB, free: 16 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 0.9834/0.9834, allocations: 177.1 MB / 205 MB, free: 5.613 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.2523/0.2523, allocations: 34.25 MB / 295.7 MB, free: 0.7461 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.937e-05, allocations: 2.312 kB / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002206/0.002226, allocations: 1.718 MB / 379.8 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.003469, allocations: 0.9938 MB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.462e-05/0.003533, allocations: 0 / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.00382, allocations: 59.67 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.004117, allocations: 103.5 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.004251, allocations: 75.67 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.004408, allocations: 111.6 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.004447, allocations: 240 / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.766e-05/0.004534, allocations: 55.83 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.00464, allocations: 35.89 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.004659, allocations: 4 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.784e-05/0.004737, allocations: 43.86 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.004795, allocations: 27.84 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.004845, allocations: 15.94 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.005032, allocations: 79.73 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.005035, allocations: 0 / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005035, allocations: 0 / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.00504, allocations: 0 / 381.4 MB, free: 15.22 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004899/0.00553, allocations: 436 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.005571, allocations: 8.031 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.005617, allocations: 12.89 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.005795, allocations: 148.4 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.005818, allocations: 4.312 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.00583, allocations: 384 / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.005941, allocations: 58.94 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.005951, allocations: 3.938 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.005961, allocations: 4 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.005968, allocations: 0 / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.003e-05/0.005998, allocations: 11.97 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.00614, allocations: 144.5 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.993e-05/0.00624, allocations: 55.05 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.006271, allocations: 19.62 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.006286, allocations: 3.984 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.139e-05/0.006377, allocations: 61.06 kB / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.006378, allocations: 0 / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001896/0.006568, allocations: 89.5 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.006596, allocations: 55.41 kB / 382.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.006722, allocations: 226.6 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.006734, allocations: 25.7 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.006786, allocations: 150.9 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.006816, allocations: 23.89 kB / 382.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.006846, allocations: 23.38 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.006973, allocations: 0.4923 MB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.151e-05/0.006994, allocations: 7.984 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.018e-05/0.007024, allocations: 27.38 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.644e-05/0.007071, allocations: 39.62 kB / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.007073, allocations: 0 / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.995e-05/0.007153, allocations: 69.58 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.007169, allocations: 14.02 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.007174, allocations: 7.969 kB / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.00719, allocations: 0 / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/0.007252, allocations: 11.94 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.007258, allocations: 4 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.93e-05/0.007287, allocations: 7.953 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.007294, allocations: 4 kB / 383.6 MB, free: 12.78 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 (7): * Single equations (assignments): 7 * 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.86e-05/0.007362, allocations: 156.6 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.007374, allocations: 11.95 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.007501, allocations: 90.91 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.007504, allocations: 8 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.007507, allocations: 0 / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.007511, allocations: 0 / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.899e-05/0.0076, allocations: 136.6 kB / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.007601, allocations: 0 / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.696e-05/0.007618, allocations: 7.938 kB / 384 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.007619, allocations: 0 / 384 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.007628, allocations: 7.984 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.00763, allocations: 3.938 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.007631, allocations: 7.938 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.274e-05/0.007724, allocations: 108.5 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.393e-05/0.007738, allocations: 15.95 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.007758, allocations: 11.98 kB / 384.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.178e-05/0.00778, allocations: 7.938 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.007811, allocations: 0 / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.007824, allocations: 7.984 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.235e-05/0.007896, allocations: 159.9 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007896, allocations: 4 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001438/0.00804, allocations: 16 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008009/0.008841, allocations: 393.7 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.008946, allocations: 39.67 kB / 384.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.008947, allocations: 0 / 384.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.548e-05/0.008983, allocations: 27.61 kB / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.009171, allocations: 28.05 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.00951, allocations: 190.2 kB / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.122e-05/0.009551, allocations: 67.34 kB / 385.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.302e-05/0.009584, allocations: 12.47 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.009612, allocations: 16.5 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009613, allocations: 0 / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of Templates: time 0.003547/0.01316, allocations: 1.652 MB / 386.8 MB, free: 9.656 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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.3946169228293]