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.001612/0.001612, allocations: 84.73 kB / 21.5 MB, free: 2.98 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.00187/0.00187, allocations: 161.8 kB / 24.91 MB, free: 8.703 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 1.061/1.061, allocations: 177 MB / 205.2 MB, free: 5.438 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.064e-06/2.064e-06, allocations: 0 / 273.4 MB, free: 1.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.267e-05/3.474e-05, allocations: 2.312 kB / 273.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.004382/0.004416, allocations: 1.934 MB / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.006071, allocations: 0.6931 MB / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.006242, allocations: 11.88 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.006406, allocations: 15.8 kB / 276.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.006554, allocations: 27.73 kB / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.006886, allocations: 111.7 kB / 276.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.007069, allocations: 151.4 kB / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.007228, allocations: 50.55 kB / 276.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.007418, allocations: 79.8 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.066e-05/0.007498, allocations: 35.89 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.00752, allocations: 8 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.239e-05/0.007582, allocations: 12 kB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.064e-05/0.007643, allocations: 39.83 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/0.007679, allocations: 31.86 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.007858, allocations: 107.5 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.00786, allocations: 4 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.007862, allocations: 0 / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.007868, allocations: 0 / 276.7 MB, free: 13.84 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.000458/0.008326, allocations: 352.3 kB / 277.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.008365, allocations: 11.98 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.0085, allocations: 24.92 kB / 277.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.00873, allocations: 194.1 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.008752, allocations: 8.562 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.008765, allocations: 8.375 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.009096, allocations: 254 kB / 277.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.009107, allocations: 0 / 277.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.009121, allocations: 8 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.009127, allocations: 0 / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.657e-05/0.009173, allocations: 35.89 kB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.009476, allocations: 278.9 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.009667, allocations: 144.8 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/0.009724, allocations: 64.27 kB / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.009744, allocations: 11.88 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.009774, allocations: 42.55 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.664e-06/0.009776, allocations: 4 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002015/0.009977, allocations: 113.5 kB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.01009, allocations: 195.9 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.0102, allocations: 171.2 kB / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.01022, allocations: 33.7 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.01026, allocations: 92.48 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.01028, allocations: 15.89 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.01031, allocations: 17.72 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.0104, allocations: 318.8 kB / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-06/0.01041, allocations: 4.375 kB / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.769e-05/0.01045, allocations: 57.12 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.82e-05/0.01049, allocations: 34.48 kB / 279.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.01049, allocations: 4 kB / 279.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.149e-05/0.01055, allocations: 53.56 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.01057, allocations: 15.06 kB / 279.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01057, allocations: 4 kB / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.01059, allocations: 128 / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.157e-05/0.01064, allocations: 15.98 kB / 279.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.01064, allocations: 3.938 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.844e-05/0.01067, allocations: 4 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.01068, allocations: 0 / 279.3 MB, free: 11 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 8.569e-05/0.01076, allocations: 120.6 kB / 279.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.506e-05/0.01086, allocations: 89.97 kB / 279.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.0109, allocations: 21.45 kB / 279.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.0109, allocations: 4 kB / 279.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.0109, allocations: 0 / 279.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01091, allocations: 8.031 kB / 279.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.01105, allocations: 97.8 kB / 279.6 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.01105, allocations: 4 kB / 279.6 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.916e-05/0.01112, allocations: 39.91 kB / 279.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.01113, allocations: 3.938 kB / 279.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.01114, allocations: 8 kB / 279.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01114, allocations: 0 / 279.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.01114, allocations: 4 kB / 279.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.01126, allocations: 229.8 kB / 279.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.01131, allocations: 31.83 kB / 279.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.01133, allocations: 15.91 kB / 279.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.555e-05/0.01139, allocations: 11.98 kB / 280 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.01142, allocations: 4 kB / 280 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.01143, allocations: 4 kB / 280 MB, free: 10.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.035e-05/0.01147, allocations: 46 kB / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01147, allocations: 0 / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001526/0.01162, allocations: 16 kB / 280 MB, free: 10.2 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 8.31e-05/0.0117, allocations: 80.41 kB / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.01181, allocations: 56.7 kB / 280.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.01181, allocations: 4 kB / 280.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.46e-05/0.01183, allocations: 12.8 kB / 280.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.01216, allocations: 79.83 kB / 280.3 MB, free: 9.949 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000612/0.01277, allocations: 299.9 kB / 280.5 MB, free: 9.617 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.072e-05/0.01283, allocations: 80.23 kB / 280.6 MB, free: 9.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.065e-05/0.01287, allocations: 17.14 kB / 280.6 MB, free: 9.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.01298, allocations: 83.34 kB / 280.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01298, allocations: 0 / 280.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of Templates: time 0.004172/0.01715, allocations: 1.919 MB / 282.6 MB, free: 7.543 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 -s gbode -gbm=radauIIA3 -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.9409002708271146]