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.001456/0.001456, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001448/0.001448, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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 1.55/1.55, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 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 1.683e-06/1.683e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.233e-05/3.401e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003996/0.00403, allocations: 1.844 MB / 274.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.005689, allocations: 0.6583 MB / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.005879, allocations: 11.88 kB / 274.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.006055, allocations: 15.8 kB / 274.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.00623, allocations: 31.72 kB / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.006716, allocations: 107.7 kB / 274.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.007001, allocations: 147.4 kB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.007182, allocations: 53.88 kB / 275.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.007421, allocations: 83.8 kB / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.871e-05/0.00752, allocations: 35.89 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.007552, allocations: 12 kB / 275.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.501e-05/0.007607, allocations: 12 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.969e-05/0.007677, allocations: 31.84 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.91e-05/0.007736, allocations: 35.86 kB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.008032, allocations: 151.5 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.008035, allocations: 0 / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.008036, allocations: 0 / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.008043, allocations: 3.938 kB / 275.4 MB, free: 14.55 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.0007634/0.008806, allocations: 385.7 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.008854, allocations: 11.98 kB / 275.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002892/0.009143, allocations: 32.84 kB / 275.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.009591, allocations: 198.1 kB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.009613, allocations: 4.562 kB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.009642, allocations: 12.38 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000747/0.01039, allocations: 320.1 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.0104, allocations: 0 / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.01042, allocations: 0 / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.01043, allocations: 4 kB / 276.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.01067, allocations: 75.89 kB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005962/0.01126, allocations: 347.1 kB / 276.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005036/0.01177, allocations: 217 kB / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.01201, allocations: 116.2 kB / 277.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.01205, allocations: 7.984 kB / 277.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.01209, allocations: 38.56 kB / 277.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.01209, allocations: 0 / 277.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006525/0.01274, allocations: 229.2 kB / 277.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/0.01291, allocations: 196.3 kB / 277.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.01314, allocations: 183.2 kB / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.01318, allocations: 33.7 kB / 277.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.01329, allocations: 100.5 kB / 277.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.01331, allocations: 7.953 kB / 277.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.01338, allocations: 29.59 kB / 277.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.01357, allocations: 322.8 kB / 278.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.45e-05/0.01362, allocations: 11.98 kB / 278.3 MB, free: 11.44 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.01372, allocations: 69.06 kB / 278.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.01385, allocations: 46.59 kB / 278.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01385, allocations: 0 / 278.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000179/0.01403, allocations: 81.56 kB / 278.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.01405, allocations: 4 kB / 278.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.01406, allocations: 0 / 278.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.01407, allocations: 0 / 278.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.672e-05/0.01415, allocations: 11.94 kB / 278.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.01416, allocations: 0 / 278.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.398e-05/0.01422, allocations: 12.08 kB / 278.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.01423, allocations: 4 kB / 278.5 MB, free: 11.18 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 0.000145/0.01438, allocations: 125.8 kB / 278.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003427/0.01472, allocations: 149.5 kB / 278.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.069e-05/0.01478, allocations: 17.47 kB / 278.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.01479, allocations: 4 kB / 278.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.01479, allocations: 3.938 kB / 278.8 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.0148, allocations: 7.984 kB / 278.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.01509, allocations: 157.1 kB / 278.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.01509, allocations: 0 / 278.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.01524, allocations: 35.92 kB / 279 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.01525, allocations: 4 kB / 279 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.01528, allocations: 11.98 kB / 279 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.01528, allocations: 0 / 279 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01528, allocations: 0 / 279 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005636/0.01584, allocations: 369.1 kB / 279.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/0.01593, allocations: 35.83 kB / 279.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.01596, allocations: 8 kB / 279.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.0161, allocations: 7.984 kB / 279.4 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.01615, allocations: 8 kB / 279.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.01616, allocations: 4 kB / 279.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001432/0.0163, allocations: 140.3 kB / 279.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0163, allocations: 0 / 279.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002958/0.0166, allocations: 16 kB / 279.6 MB, free: 10.03 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 0.0001552/0.01676, allocations: 103.2 kB / 279.7 MB, free: 9.914 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002778/0.01703, allocations: 82.61 kB / 279.7 MB, free: 9.836 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01704, allocations: 0 / 279.7 MB, free: 9.836 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.755e-05/0.01708, allocations: 11.98 kB / 279.8 MB, free: 9.824 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006961/0.01778, allocations: 116.2 kB / 279.9 MB, free: 9.711 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007764/0.01856, allocations: 317.6 kB / 280.2 MB, free: 9.359 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.01871, allocations: 115.4 kB / 280.3 MB, free: 9.227 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.356e-05/0.01876, allocations: 9.141 kB / 280.3 MB, free: 9.219 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/0.01881, allocations: 16.5 kB / 280.3 MB, free: 9.203 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01881, allocations: 0 / 280.3 MB, free: 9.203 MB / 266.7 MB Notification: Performance of Templates: time 0.005369/0.02417, allocations: 1.791 MB / 282.1 MB, free: 7.438 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=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.466048756963573]