Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001495/0.001495, allocations: 117.2 kB / 18.5 MB, free: 4.543 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.001529/0.001529, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.696/1.696, allocations: 230.2 MB / 254.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 63.89 kB / 373.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1481, allocations: 53.32 MB / 427.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003724/0.1518, allocations: 1.879 MB / 429 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1533, allocations: 0.7013 MB / 429.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.1534, allocations: 8 kB / 429.7 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.1536, allocations: 23.73 kB / 429.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.1537, allocations: 23.8 kB / 429.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.1541, allocations: 118.6 kB / 429.9 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.1543, allocations: 135.6 kB / 430 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.1545, allocations: 49.69 kB / 430.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.1547, allocations: 59.72 kB / 430.1 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1548, allocations: 47.72 kB / 430.2 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.1548, allocations: 15.98 kB / 430.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.565e-05/0.1549, allocations: 20 kB / 430.2 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.815e-05/0.1549, allocations: 35.84 kB / 430.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.713e-05/0.155, allocations: 63.55 kB / 430.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.1553, allocations: 147.2 kB / 430.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.1553, allocations: 4 kB / 430.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1553, allocations: 4 kB / 430.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.1553, allocations: 0 / 430.5 MB, free: 1.094 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000742/0.1561, allocations: 450.8 kB / 430.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1561, allocations: 15.97 kB / 430.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.1563, allocations: 28.83 kB / 431 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.1567, allocations: 248.1 kB / 431.2 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.1567, allocations: 12.12 kB / 431.2 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.1567, allocations: 12 kB / 431.2 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3347/0.4915, allocations: 283.6 kB / 431.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.4915, allocations: 3.656 kB / 431.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.4915, allocations: 5.844 kB / 431.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.4916, allocations: 3.5 kB / 431.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003204/0.4919, allocations: 69.09 kB / 431.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005691/0.4924, allocations: 436.1 kB / 432 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005173/0.493, allocations: 285.6 kB / 432.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.4932, allocations: 102.7 kB / 432.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.4932, allocations: 6.312 kB / 432.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.4932, allocations: 47.55 kB / 432.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.824e-06/0.4932, allocations: 0.6562 kB / 432.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006198/0.4938, allocations: 216.5 kB / 432.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.494, allocations: 197 kB / 432.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.4942, allocations: 183.6 kB / 433 MB, free: 10.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.4942, allocations: 32.11 kB / 433.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.4942, allocations: 105.6 kB / 433.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.4942, allocations: 17.12 kB / 433.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.4943, allocations: 33.69 kB / 433.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.763e-05/0.4944, allocations: 328.6 kB / 433.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.058e-05/0.4944, allocations: 26.59 kB / 433.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.4946, allocations: 140.7 kB / 433.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.4947, allocations: 168.2 kB / 433.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4947, allocations: 4.719 kB / 433.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000308/0.4951, allocations: 176.2 kB / 434 MB, free: 9.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.4951, allocations: 9.719 kB / 434 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.4951, allocations: 3 kB / 434 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.4951, allocations: 5.031 kB / 434.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.4953, allocations: 39.55 kB / 434.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.4953, allocations: 5.625 kB / 434.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.4954, allocations: 26.23 kB / 434.1 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.4954, allocations: 9.5 kB / 434.1 MB, free: 9.559 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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 9.454e-05/0.4955, allocations: 132.2 kB / 434.3 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002759/0.4958, allocations: 152 kB / 434.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.162e-05/0.4958, allocations: 21.62 kB / 434.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.4958, allocations: 5.734 kB / 434.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.4958, allocations: 1.469 kB / 434.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4958, allocations: 6.125 kB / 434.4 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.4961, allocations: 222.8 kB / 434.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4961, allocations: 4.875 kB / 434.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.4962, allocations: 35.98 kB / 434.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.4962, allocations: 5.375 kB / 434.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.4962, allocations: 1.5 kB / 434.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.4962, allocations: 8.438 kB / 434.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4962, allocations: 0 / 434.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.4966, allocations: 371.7 kB / 435.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.568e-05/0.4967, allocations: 116 kB / 435.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.4967, allocations: 6.594 kB / 435.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.4968, allocations: 11.27 kB / 435.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.4969, allocations: 6 kB / 435.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.4969, allocations: 7.969 kB / 435.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.497, allocations: 131.8 kB / 435.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.497, allocations: 0 / 435.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003336/0.4973, allocations: 24.31 kB / 435.4 MB, free: 8.762 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.000106/0.4974, allocations: 112 kB / 435.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003005/0.4977, allocations: 114.3 kB / 435.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4977, allocations: 3.938 kB / 435.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.4978, allocations: 17.92 kB / 435.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006775/0.4985, allocations: 95.73 kB / 435.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005849/0.4991, allocations: 323.8 kB / 436 MB, free: 8.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.4993, allocations: 0.7311 MB / 436.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.301e-05/0.4993, allocations: 19.77 kB / 436.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.65e-05/0.4994, allocations: 19.88 kB / 436.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4994, allocations: 0 / 436.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of Templates: time 0.0062/0.5056, allocations: 1.773 MB / 438.6 MB, free: 7.617 MB / 350.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.314929322339594]