Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001438/0.001438, allocations: 82.09 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002347/0.002347, allocations: 166.6 kB / 24.5 MB, free: 3.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 177.1 MB / 204.7 MB, free: 8.922 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2068/0.2068, allocations: 34.25 MB / 295.4 MB, free: 14.46 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay") translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002572/0.002572, allocations: 75.88 kB / 443.1 MB, free: 6.449 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4883/0.4908, allocations: 66.05 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003072/0.4939, allocations: 1.888 MB / 0.4991 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.4957, allocations: 1.126 MB / 0.5002 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.4959, allocations: 2.719 kB / 0.5002 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007375/0.4966, allocations: 190.5 kB / 0.5004 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003901/0.497, allocations: 171.3 kB / 0.5005 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.4974, allocations: 172 kB / 0.5007 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002988/0.4977, allocations: 275 kB / 0.501 GB, free: 27.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.4978, allocations: 22.77 kB / 0.501 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.4979, allocations: 120.9 kB / 0.5011 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.4981, allocations: 115.3 kB / 0.5012 GB, free: 27.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.219e-05/0.4982, allocations: 18.97 kB / 0.5012 GB, free: 27.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.4983, allocations: 63.62 kB / 0.5013 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.307e-05/0.4984, allocations: 68.47 kB / 0.5014 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.915e-05/0.4985, allocations: 90.75 kB / 0.5015 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.4988, allocations: 292.4 kB / 0.5017 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4988, allocations: 3.141 kB / 0.5017 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4988, allocations: 0 / 0.5017 GB, free: 27.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.4988, allocations: 0 / 0.5017 GB, free: 27.12 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008724/0.4997, allocations: 0.5962 MB / 0.5023 GB, free: 26.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.4997, allocations: 9.531 kB / 0.5023 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.39e-05/0.4998, allocations: 28.92 kB / 0.5024 GB, free: 26.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.5001, allocations: 214.5 kB / 0.5026 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-05/0.5002, allocations: 172.2 kB / 0.5027 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.5002, allocations: 25.06 kB / 0.5027 GB, free: 26.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.5005, allocations: 239.3 kB / 0.503 GB, free: 26.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.5006, allocations: 0 / 0.503 GB, free: 26.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.5006, allocations: 9.906 kB / 0.503 GB, free: 26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5006, allocations: 0 / 0.503 GB, free: 26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.5008, allocations: 179.7 kB / 0.5032 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006851/0.5015, allocations: 0.5313 MB / 0.5037 GB, free: 25.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.5018, allocations: 249.7 kB / 0.5039 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.502, allocations: 158.8 kB / 0.5041 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.502, allocations: 3.125 kB / 0.5041 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003571/0.5024, allocations: 0.5183 MB / 0.5046 GB, free: 24.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 1.293e-06/0.5024, allocations: 0 / 0.5046 GB, free: 24.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007472/0.5031, allocations: 0.6136 MB / 0.5052 GB, free: 24.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.5032, allocations: 189.4 kB / 0.5054 GB, free: 23.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.5034, allocations: 334.7 kB / 0.5057 GB, free: 23.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.5035, allocations: 35.86 kB / 0.5057 GB, free: 23.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.405e-05/0.5035, allocations: 128.8 kB / 0.5058 GB, free: 23.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.5036, allocations: 59.08 kB / 0.5059 GB, free: 23.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.5036, allocations: 50.27 kB / 0.5059 GB, free: 23.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.516e-05/0.5037, allocations: 337.7 kB / 0.5063 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.5038, allocations: 156.2 kB / 0.5064 GB, free: 23.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.504, allocations: 252.6 kB / 0.5066 GB, free: 22.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.5043, allocations: 366.7 kB / 0.507 GB, free: 22.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5043, allocations: 3.031 kB / 0.507 GB, free: 22.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004673/0.5048, allocations: 451.5 kB / 0.5074 GB, free: 22.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.765e-05/0.5048, allocations: 101.8 kB / 0.5075 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5048, allocations: 3.062 kB / 0.5075 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.5049, allocations: 7.062 kB / 0.5075 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.505, allocations: 19.09 kB / 0.5076 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.505, allocations: 7.031 kB / 0.5076 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.5051, allocations: 31.42 kB / 0.5076 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.5051, allocations: 9.594 kB / 0.5076 GB, free: 22.05 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition5,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,onDelay1.t_next,onDelay1.delaySignal,onDelay1.y,onDelay1.u,$whenCondition7,$whenCondition6,onDelay2.t_next,onDelay2.delaySignal,onDelay2.y,onDelay2.u,$whenCondition4,$whenCondition3,onDelay3.t_next,onDelay3.delaySignal,onDelay3.y,onDelay3.u,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * 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.0001571/0.5053, allocations: 260.8 kB / 0.5078 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.5053, allocations: 30.14 kB / 0.5079 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/0.5056, allocations: 242.5 kB / 0.5081 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.5057, allocations: 7.125 kB / 0.5081 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5057, allocations: 0 / 0.5081 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5057, allocations: 2.859 kB / 0.5081 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.5059, allocations: 211.4 kB / 0.5083 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5059, allocations: 3.125 kB / 0.5083 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.351e-05/0.5059, allocations: 10.52 kB / 0.5083 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.5059, allocations: 3.094 kB / 0.5083 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.5059, allocations: 10.47 kB / 0.5083 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.5059, allocations: 3.188 kB / 0.5083 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.5059, allocations: 3.938 kB / 0.5084 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006154/0.5065, allocations: 0.5273 MB / 0.5089 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.5066, allocations: 32.17 kB / 0.5089 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.661e-05/0.5066, allocations: 9.25 kB / 0.5089 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.5067, allocations: 23.17 kB / 0.5089 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-05/0.5068, allocations: 24.22 kB / 0.509 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.5069, allocations: 13.53 kB / 0.509 GB, free: 21.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002598/0.5071, allocations: 246.5 kB / 0.5092 GB, free: 20.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5071, allocations: 0 / 0.5092 GB, free: 20.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003743/0.5075, allocations: 68.41 kB / 0.5093 GB, free: 20.92 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 14 (onDelay3.t_next,onDelay3.delaySignal,$whenCondition2,$whenCondition1,onDelay2.t_next,onDelay2.delaySignal,$whenCondition4,$whenCondition3,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.00187/0.5094, allocations: 452.3 kB / 0.5097 GB, free: 20.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006954/0.5101, allocations: 0.5367 MB / 0.5102 GB, free: 20.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5101, allocations: 0 / 0.5102 GB, free: 20.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.5104, allocations: 368.4 kB / 0.5106 GB, free: 19.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.5108, allocations: 64.7 kB / 0.5106 GB, free: 19.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008643/0.5117, allocations: 0.5394 MB / 0.5112 GB, free: 19.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.5118, allocations: 147.6 kB / 0.5113 GB, free: 19.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.712e-05/0.5119, allocations: 30.83 kB / 0.5113 GB, free: 19.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.616e-05/0.5119, allocations: 20.53 kB / 0.5114 GB, free: 19.4 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5119, allocations: 4 kB / 0.5114 GB, free: 19.4 MB / 446.1 MB Notification: Performance of Templates: time 0.007713/0.5197, allocations: 3.646 MB / 0.5149 GB, free: 18.89 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/OnDelay/OnDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.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.422236512065865]