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.000987/0.000987, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001079/0.001079, allocations: 165.5 kB / 24.91 MB, free: 8.77 MB / 18.57 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 0.9879/0.9879, allocations: 177 MB / 205.2 MB, free: 5.062 MB / 186.7 MB " [Timeout remaining time 179] 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 2.474e-06/2.474e-06, allocations: 0 / 273.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.935e-05, allocations: 5.266 kB / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002955/0.002984, allocations: 1.895 MB / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.004247, allocations: 0.7005 MB / 276 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.004409, allocations: 11.88 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.004568, allocations: 19.8 kB / 276 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.004696, allocations: 23.73 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.005048, allocations: 111.7 kB / 276.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.005204, allocations: 143.6 kB / 276.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.005321, allocations: 46.53 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.005521, allocations: 91.67 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.976e-05/0.005591, allocations: 31.91 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.005613, allocations: 12 kB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.761e-05/0.00566, allocations: 19.98 kB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.005727, allocations: 27.86 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.005758, allocations: 39.84 kB / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.005916, allocations: 103.5 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.005918, allocations: 0 / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005918, allocations: 0 / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.005922, allocations: 0 / 276.7 MB, free: 13.8 MB / 266.7 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.0003553/0.006277, allocations: 352.3 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.00631, allocations: 11.98 kB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.006429, allocations: 32.91 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.006634, allocations: 182.1 kB / 277.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.006651, allocations: 8.562 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.006667, allocations: 12.38 kB / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.006975, allocations: 258.6 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.006984, allocations: 3.938 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.006995, allocations: 0 / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.007002, allocations: 4 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.978e-05/0.007042, allocations: 23.92 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003023/0.007344, allocations: 271 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.007535, allocations: 156.7 kB / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.889e-05/0.007594, allocations: 64.39 kB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.007612, allocations: 8 kB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.007637, allocations: 42.48 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.007639, allocations: 0 / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002835/0.007922, allocations: 117.5 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.309e-05/0.008005, allocations: 195.9 kB / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.008097, allocations: 179.6 kB / 278.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.008111, allocations: 33.7 kB / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/0.008147, allocations: 92.5 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.008162, allocations: 11.89 kB / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.00819, allocations: 17.72 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.615e-05/0.008266, allocations: 326.8 kB / 279 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.398e-06/0.008275, allocations: 4 kB / 279 MB, free: 11.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.408e-05/0.008309, allocations: 53.12 kB / 279.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.219e-05/0.008341, allocations: 30.52 kB / 279.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.008343, allocations: 4.031 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.545e-05/0.008399, allocations: 57.55 kB / 279.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.008409, allocations: 4 kB / 279.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.008415, allocations: 0 / 279.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.008426, allocations: 4 kB / 279.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.008471, allocations: 4 kB / 279.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.008475, allocations: 4 kB / 279.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.915e-05/0.008504, allocations: 7.984 kB / 279.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.00851, allocations: 4 kB / 279.2 MB, free: 10.96 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.535e-05/0.008575, allocations: 124.7 kB / 279.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.721e-05/0.008662, allocations: 89.41 kB / 279.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/0.008697, allocations: 29.45 kB / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.0087, allocations: 0 / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.008703, allocations: 4 kB / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.008707, allocations: 0 / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.00884, allocations: 101.8 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.008842, allocations: 0 / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.202e-05/0.008904, allocations: 35.97 kB / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.008906, allocations: 3.938 kB / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.008915, allocations: 12.03 kB / 279.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.008917, allocations: 3.938 kB / 279.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.008919, allocations: 4 kB / 279.6 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.312e-05/0.009012, allocations: 221.4 kB / 279.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.009053, allocations: 27.83 kB / 279.8 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.009073, allocations: 11.94 kB / 279.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.081e-05/0.009133, allocations: 8 kB / 279.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.00916, allocations: 7.984 kB / 279.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.009165, allocations: 4 kB / 279.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.584e-05/0.0092, allocations: 54.02 kB / 279.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009201, allocations: 3.938 kB / 279.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001452/0.009346, allocations: 12 kB / 279.9 MB, free: 10.16 MB / 266.7 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 7.353e-05/0.009419, allocations: 80.75 kB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.201e-05/0.009501, allocations: 48.7 kB / 280 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.009506, allocations: 8 kB / 280.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.35e-05/0.009519, allocations: 16.78 kB / 280.1 MB, free: 9.992 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.009816, allocations: 85.11 kB / 280.2 MB, free: 9.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.01029, allocations: 292 kB / 280.4 MB, free: 9.586 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.312e-05/0.01034, allocations: 83.81 kB / 280.5 MB, free: 9.484 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.148e-05/0.01037, allocations: 13.09 kB / 280.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.593e-05/0.01046, allocations: 83.34 kB / 280.6 MB, free: 9.387 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01046, allocations: 0 / 280.6 MB, free: 9.387 MB / 266.7 MB Notification: Performance of Templates: time 0.003507/0.01396, allocations: 1.923 MB / 282.5 MB, free: 7.508 MB / 266.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.84730222588405]