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.0008281/0.0008281, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003474/0.003474, allocations: 157.7 kB / 24.7 MB, free: 8.891 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.872/0.872, allocations: 177 MB / 204.9 MB, free: 5.73 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 1.313e-06/1.313e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.433e-05, allocations: 3.125 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002158/0.002182, allocations: 1.852 MB / 327.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008744/0.003057, allocations: 0.6505 MB / 328.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.00316, allocations: 15.88 kB / 328.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.003282, allocations: 23.8 kB / 328.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.003389, allocations: 27.73 kB / 328.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.003693, allocations: 107.6 kB / 328.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.003848, allocations: 155.4 kB / 328.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.003969, allocations: 45.33 kB / 328.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.004125, allocations: 83.8 kB / 328.7 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.486e-05/0.00419, allocations: 27.91 kB / 328.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.004211, allocations: 12 kB / 328.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.141e-05/0.004252, allocations: 23.94 kB / 328.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.766e-05/0.0043, allocations: 27.91 kB / 328.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.004333, allocations: 39.84 kB / 328.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.004513, allocations: 151.4 kB / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.004516, allocations: 0 / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.004517, allocations: 0 / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.004521, allocations: 0 / 329 MB, free: 12.12 MB / 298.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.0004379/0.004959, allocations: 377.7 kB / 329.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.004994, allocations: 11.98 kB / 329.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.005111, allocations: 28.83 kB / 329.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.005357, allocations: 201.9 kB / 329.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.005369, allocations: 4.562 kB / 329.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002666/0.005636, allocations: 8.375 kB / 329.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003955/0.006031, allocations: 314.6 kB / 329.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.006039, allocations: 0 / 329.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.006051, allocations: 0 / 329.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.006057, allocations: 4 kB / 329.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.006178, allocations: 83.81 kB / 330 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.006491, allocations: 351.1 kB / 330.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.006764, allocations: 220.8 kB / 330.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.006872, allocations: 104.4 kB / 330.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.006893, allocations: 4 kB / 330.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.006915, allocations: 42.48 kB / 330.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.006916, allocations: 0 / 330.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003349/0.007251, allocations: 221.3 kB / 330.9 MB, free: 9.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/0.007337, allocations: 199.9 kB / 331.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.007463, allocations: 183 kB / 331.3 MB, free: 9.555 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.00748, allocations: 37.64 kB / 331.4 MB, free: 9.512 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.00753, allocations: 96.52 kB / 331.5 MB, free: 9.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.007548, allocations: 12.31 kB / 331.5 MB, free: 9.398 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.007582, allocations: 29.67 kB / 331.5 MB, free: 9.363 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.444e-05/0.007666, allocations: 322.8 kB / 331.8 MB, free: 9.039 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.916e-05/0.007696, allocations: 11.98 kB / 331.8 MB, free: 9.027 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.263e-05/0.007748, allocations: 65.12 kB / 331.9 MB, free: 8.945 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.192e-05/0.00781, allocations: 46.5 kB / 331.9 MB, free: 8.891 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.007813, allocations: 0 / 331.9 MB, free: 8.891 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.081e-05/0.007904, allocations: 73.61 kB / 332 MB, free: 8.812 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.007917, allocations: 8 kB / 332 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.007922, allocations: 0 / 332 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.007934, allocations: 3.984 kB / 332 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.858e-05/0.007983, allocations: 8 kB / 332 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.007987, allocations: 0 / 332 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/0.008016, allocations: 4 kB / 332 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.008022, allocations: 3.984 kB / 332 MB, free: 8.785 MB / 298.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 7.829e-05/0.0081, allocations: 133.9 kB / 332.2 MB, free: 8.645 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.008257, allocations: 141.4 kB / 332.3 MB, free: 8.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/0.008295, allocations: 25.45 kB / 332.3 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.0083, allocations: 4 kB / 332.3 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.008304, allocations: 0 / 332.3 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.00831, allocations: 4 kB / 332.3 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.008469, allocations: 157 kB / 332.5 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.00847, allocations: 0 / 332.5 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.191e-05/0.008542, allocations: 35.97 kB / 332.5 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.008546, allocations: 8.031 kB / 332.5 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.008555, allocations: 0 / 332.5 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.008558, allocations: 4 kB / 332.5 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.00856, allocations: 3.984 kB / 332.5 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.008808, allocations: 372.9 kB / 332.9 MB, free: 7.848 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/0.00886, allocations: 35.81 kB / 332.9 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.008877, allocations: 4 kB / 332.9 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/0.008953, allocations: 15.98 kB / 333 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.00898, allocations: 8 kB / 333 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.008987, allocations: 8 kB / 333 MB, free: 7.777 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.753e-05/0.009055, allocations: 132.4 kB / 333.1 MB, free: 7.648 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009055, allocations: 0 / 333.1 MB, free: 7.648 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001754/0.00923, allocations: 20 kB / 333.1 MB, free: 7.629 MB / 298.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 8.558e-05/0.009316, allocations: 99.19 kB / 333.2 MB, free: 7.523 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.009463, allocations: 80.02 kB / 333.3 MB, free: 7.445 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.009465, allocations: 0 / 333.3 MB, free: 7.445 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.352e-05/0.009489, allocations: 15.98 kB / 333.3 MB, free: 7.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.009904, allocations: 111.1 kB / 333.4 MB, free: 7.328 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.01035, allocations: 343.7 kB / 333.8 MB, free: 6.949 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.22e-05/0.01044, allocations: 115.7 kB / 333.9 MB, free: 6.816 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.01048, allocations: 20.48 kB / 333.9 MB, free: 6.797 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01048, allocations: 0 / 333.9 MB, free: 6.797 MB / 298.7 MB Notification: Performance of Templates: time 0.002438/0.01292, allocations: 1.75 MB / 335.6 MB, free: 5.051 MB / 298.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=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: 4.232276278547943]