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.0009408/0.0009408, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001173/0.002113, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007582/0.0007582, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008992/0.001657, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9928/0.9928, allocations: 177.4 MB / 189.9 MB, free: 4.848 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08419/1.077, allocations: 53.87 MB / 243.7 MB, free: 14.92 MB / 250.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.784e-06/1.784e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/2.019e-05, allocations: 6.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002578/0.002598, allocations: 1.942 MB / 247 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009619/0.00356, allocations: 0.6971 MB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.003679, allocations: 11.88 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.338e-05/0.003772, allocations: 19.73 kB / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.434e-05/0.003857, allocations: 27.78 kB / 247.7 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.00415, allocations: 115.6 kB / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.00431, allocations: 139.5 kB / 248 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.004422, allocations: 50.59 kB / 248 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.00459, allocations: 95.73 kB / 248.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.733e-05/0.004657, allocations: 39.83 kB / 248.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.004678, allocations: 12 kB / 248.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.854e-05/0.004737, allocations: 15.98 kB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.004778, allocations: 27.88 kB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.004806, allocations: 27.94 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.004968, allocations: 87.56 kB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.36e-05/0.004982, allocations: 0 / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.004983, allocations: 4 kB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.004995, allocations: 0 / 248.3 MB, free: 10.34 MB / 250.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.000441/0.005436, allocations: 383.9 kB / 248.7 MB, free: 9.938 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.005464, allocations: 8.031 kB / 248.7 MB, free: 9.93 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.005609, allocations: 102 kB / 248.8 MB, free: 9.812 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.005802, allocations: 182.4 kB / 249 MB, free: 9.609 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.005819, allocations: 8.562 kB / 249 MB, free: 9.602 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.00583, allocations: 12.38 kB / 249 MB, free: 9.59 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.006127, allocations: 269.6 kB / 249.3 MB, free: 9.289 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.006134, allocations: 3.938 kB / 249.3 MB, free: 9.285 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.006144, allocations: 4 kB / 249.3 MB, free: 9.281 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.006149, allocations: 4 kB / 249.3 MB, free: 9.277 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.881e-05/0.006188, allocations: 23.92 kB / 249.3 MB, free: 9.254 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.006437, allocations: 282.9 kB / 249.6 MB, free: 8.949 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.006595, allocations: 144.8 kB / 249.7 MB, free: 8.762 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.871e-05/0.006644, allocations: 68.38 kB / 249.8 MB, free: 8.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.006665, allocations: 7.938 kB / 249.8 MB, free: 8.672 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.006687, allocations: 38.56 kB / 249.8 MB, free: 8.625 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.006689, allocations: 0 / 249.8 MB, free: 8.625 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002352/0.006924, allocations: 117.8 kB / 249.9 MB, free: 8.504 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.006988, allocations: 170.2 kB / 250.1 MB, free: 8.301 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.007076, allocations: 170.5 kB / 250.3 MB, free: 8.121 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.007089, allocations: 29.7 kB / 250.3 MB, free: 8.086 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.007121, allocations: 96.48 kB / 250.4 MB, free: 7.988 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.007136, allocations: 7.906 kB / 250.4 MB, free: 7.98 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.007163, allocations: 21.7 kB / 250.4 MB, free: 7.953 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.191e-05/0.007235, allocations: 326.8 kB / 250.7 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-06/0.007244, allocations: 4 kB / 250.8 MB, free: 7.621 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.75e-05/0.007272, allocations: 49.14 kB / 250.8 MB, free: 7.555 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.468e-05/0.007307, allocations: 34.53 kB / 250.8 MB, free: 7.512 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.007309, allocations: 0 / 250.8 MB, free: 7.512 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.591e-05/0.007364, allocations: 57.56 kB / 250.9 MB, free: 7.449 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.007376, allocations: 4 kB / 250.9 MB, free: 7.445 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.00738, allocations: 0 / 250.9 MB, free: 7.445 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.007389, allocations: 4 kB / 250.9 MB, free: 7.441 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.517e-05/0.007444, allocations: 15.98 kB / 250.9 MB, free: 7.426 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.007448, allocations: 3.938 kB / 250.9 MB, free: 7.422 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.78e-05/0.007475, allocations: 4.094 kB / 250.9 MB, free: 7.418 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.00748, allocations: 7.984 kB / 250.9 MB, free: 7.41 MB / 250.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.937e-05/0.00755, allocations: 120.7 kB / 251 MB, free: 7.281 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.545e-05/0.007635, allocations: 93.91 kB / 251.1 MB, free: 7.184 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.007667, allocations: 17.47 kB / 251.2 MB, free: 7.172 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.00767, allocations: 4 kB / 251.2 MB, free: 7.168 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.007672, allocations: 0 / 251.2 MB, free: 7.168 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.007677, allocations: 7.984 kB / 251.2 MB, free: 7.16 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.007815, allocations: 101.7 kB / 251.3 MB, free: 7.043 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.007817, allocations: 0 / 251.3 MB, free: 7.043 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.39e-05/0.007891, allocations: 43.95 kB / 251.3 MB, free: 7 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.007935, allocations: 35.77 kB / 251.3 MB, free: 6.965 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.007937, allocations: 0 / 251.3 MB, free: 6.965 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-06/0.007944, allocations: 4 kB / 251.3 MB, free: 6.961 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.007947, allocations: 0 / 251.3 MB, free: 6.961 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.007949, allocations: 4 kB / 251.4 MB, free: 6.957 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.008155, allocations: 241.3 kB / 251.6 MB, free: 6.695 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.008173, allocations: 4.266 kB / 251.6 MB, free: 6.691 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.728e-05/0.00824, allocations: 12 kB / 251.6 MB, free: 6.68 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.008263, allocations: 3.984 kB / 251.6 MB, free: 6.676 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.008269, allocations: 8.031 kB / 251.6 MB, free: 6.668 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.639e-05/0.008305, allocations: 49.86 kB / 251.7 MB, free: 6.617 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008305, allocations: 0 / 251.7 MB, free: 6.617 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001512/0.008456, allocations: 20 kB / 251.7 MB, free: 6.598 MB / 250.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.958e-05/0.008536, allocations: 80.41 kB / 251.8 MB, free: 6.508 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.183e-05/0.008618, allocations: 40.89 kB / 251.8 MB, free: 6.465 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.008622, allocations: 0 / 251.8 MB, free: 6.465 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.328e-05/0.008636, allocations: 24.97 kB / 251.8 MB, free: 6.438 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.008952, allocations: 91.7 kB / 251.9 MB, free: 6.348 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007482/0.009701, allocations: 308 kB / 252.2 MB, free: 6.004 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.059e-05/0.009751, allocations: 79.83 kB / 252.3 MB, free: 5.906 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.176e-05/0.009793, allocations: 17.14 kB / 252.3 MB, free: 5.887 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.881e-05/0.009882, allocations: 79.34 kB / 252.4 MB, free: 5.809 MB / 250.7 MB Notification: Performance of SimCode: time 7.62e-07/0.009883, allocations: 4.156 kB / 252.4 MB, free: 5.805 MB / 250.7 MB Notification: Performance of Templates: time 0.003582/0.01346, allocations: 1.999 MB / 254.4 MB, free: 3.848 MB / 250.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 -ignoreHideResult -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.4870209908112884]