Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009764/0.0009764, allocations: 80.62 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009067/0.0009067, allocations: 146.8 kB / 25.6 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9385/0.9385, allocations: 173.4 MB / 202.3 MB, free: 8.273 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 269.2 MB, free: 9.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.244e-05, allocations: 2.312 kB / 269.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002241/0.002264, allocations: 1.643 MB / 270.9 MB, free: 8.121 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006551/0.002919, allocations: 495.5 kB / 271.3 MB, free: 7.633 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.911e-05/0.002998, allocations: 3.938 kB / 271.3 MB, free: 7.629 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.827e-05/0.003046, allocations: 4.469 kB / 271.3 MB, free: 7.625 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.003178, allocations: 16.36 kB / 271.4 MB, free: 7.609 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.003386, allocations: 61.62 kB / 271.4 MB, free: 7.551 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.578e-05/0.003472, allocations: 47.86 kB / 271.5 MB, free: 7.504 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.867e-05/0.00355, allocations: 19.91 kB / 271.5 MB, free: 7.484 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.736e-05/0.003618, allocations: 27.97 kB / 271.5 MB, free: 7.457 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.455e-05/0.003662, allocations: 17.27 kB / 271.5 MB, free: 7.441 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.003678, allocations: 4 kB / 271.5 MB, free: 7.438 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-06/0.003688, allocations: 4 kB / 271.5 MB, free: 7.434 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.003731, allocations: 15.92 kB / 271.6 MB, free: 7.418 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.003754, allocations: 24.45 kB / 271.6 MB, free: 7.395 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.8e-05/0.003852, allocations: 47.77 kB / 271.6 MB, free: 7.348 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003854, allocations: 1.969 kB / 271.6 MB, free: 7.348 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003854, allocations: 0 / 271.6 MB, free: 7.348 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.003859, allocations: 0 / 271.6 MB, free: 7.348 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003527/0.004212, allocations: 416.1 kB / 272 MB, free: 6.906 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.004242, allocations: 12.03 kB / 272 MB, free: 6.895 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.004271, allocations: 14.73 kB / 272.1 MB, free: 6.883 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.004404, allocations: 141 kB / 272.2 MB, free: 6.719 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-06/0.004414, allocations: 8.359 kB / 272.2 MB, free: 6.711 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.004421, allocations: 5.281 kB / 272.2 MB, free: 6.707 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.004586, allocations: 145.7 kB / 272.4 MB, free: 6.531 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.004593, allocations: 4.625 kB / 272.4 MB, free: 6.527 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.004601, allocations: 4.719 kB / 272.4 MB, free: 6.523 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.004604, allocations: 0 / 272.4 MB, free: 6.523 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.034e-05/0.004625, allocations: 18.92 kB / 272.4 MB, free: 6.508 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002228/0.004848, allocations: 267.4 kB / 272.6 MB, free: 6.207 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.839e-05/0.004926, allocations: 124.3 kB / 272.8 MB, free: 6.035 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.044e-05/0.004986, allocations: 46.8 kB / 272.8 MB, free: 5.973 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.005002, allocations: 4.969 kB / 272.8 MB, free: 5.969 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.005023, allocations: 49.2 kB / 272.9 MB, free: 5.91 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.005024, allocations: 0 / 272.9 MB, free: 5.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001462/0.005171, allocations: 82.16 kB / 272.9 MB, free: 5.824 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.005225, allocations: 140.5 kB / 273.1 MB, free: 5.656 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.331e-05/0.005308, allocations: 191.9 kB / 273.3 MB, free: 5.453 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.005318, allocations: 29.7 kB / 273.3 MB, free: 5.418 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.005362, allocations: 138.9 kB / 273.4 MB, free: 5.277 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.005376, allocations: 3.953 kB / 273.4 MB, free: 5.273 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.005403, allocations: 19.38 kB / 273.5 MB, free: 5.246 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.005511, allocations: 0.4884 MB / 273.9 MB, free: 4.746 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-06/0.00552, allocations: 3.984 kB / 273.9 MB, free: 4.742 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.005539, allocations: 23.69 kB / 274 MB, free: 4.711 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.726e-05/0.005566, allocations: 27.31 kB / 274 MB, free: 4.676 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.005569, allocations: 3.938 kB / 274 MB, free: 4.672 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.151e-05/0.00562, allocations: 45.58 kB / 274 MB, free: 4.621 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.005631, allocations: 8 kB / 274.1 MB, free: 4.613 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.005635, allocations: 0 / 274.1 MB, free: 4.613 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.005644, allocations: 0 / 274.1 MB, free: 4.613 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.868e-05/0.005693, allocations: 4 kB / 274.1 MB, free: 4.609 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.005695, allocations: 4.125 kB / 274.1 MB, free: 4.605 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.733e-05/0.005712, allocations: 4 kB / 274.1 MB, free: 4.602 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.005716, allocations: 0 / 274.1 MB, free: 4.602 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.414e-05/0.005781, allocations: 168.5 kB / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.005828, allocations: 53.59 kB / 274.3 MB, free: 4.367 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.005856, allocations: 15.91 kB / 274.3 MB, free: 4.348 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.005859, allocations: 4 kB / 274.3 MB, free: 4.344 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.00586, allocations: 0 / 274.3 MB, free: 4.344 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.005865, allocations: 4 kB / 274.3 MB, free: 4.34 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.005969, allocations: 109.3 kB / 274.4 MB, free: 4.207 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.005971, allocations: 4 kB / 274.4 MB, free: 4.203 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.187e-05/0.006002, allocations: 15.98 kB / 274.4 MB, free: 4.188 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.006006, allocations: 7.938 kB / 274.4 MB, free: 4.18 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.006012, allocations: 4 kB / 274.4 MB, free: 4.176 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.006013, allocations: 0 / 274.4 MB, free: 4.176 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006014, allocations: 0 / 274.4 MB, free: 4.176 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.006166, allocations: 222.9 kB / 274.7 MB, free: 3.926 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.006193, allocations: 19.77 kB / 274.7 MB, free: 3.906 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.006204, allocations: 11.98 kB / 274.7 MB, free: 3.895 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.422e-05/0.006238, allocations: 4.031 kB / 274.7 MB, free: 3.891 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.00626, allocations: 4 kB / 274.7 MB, free: 3.887 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.006263, allocations: 0 / 274.7 MB, free: 3.887 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.761e-05/0.006311, allocations: 149.4 kB / 274.8 MB, free: 3.742 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006311, allocations: 0 / 274.8 MB, free: 3.742 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001438/0.006455, allocations: 8 kB / 274.9 MB, free: 3.734 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.454e-05/0.006529, allocations: 99.19 kB / 275 MB, free: 3.629 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.374e-05/0.006593, allocations: 19.67 kB / 275 MB, free: 3.605 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.006594, allocations: 4.125 kB / 275 MB, free: 3.602 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.419e-05/0.006608, allocations: 19.62 kB / 275 MB, free: 3.578 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.006852, allocations: 32.94 kB / 275 MB, free: 3.543 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.007206, allocations: 211.7 kB / 275.2 MB, free: 3.297 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.396e-05/0.00724, allocations: 59.34 kB / 275.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.038e-05/0.00726, allocations: 4.312 kB / 275.3 MB, free: 3.215 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.335e-05/0.007314, allocations: 86.19 kB / 275.4 MB, free: 3.129 MB / 250.7 MB Notification: Performance of SimCode: time 6.12e-07/0.007314, allocations: 4 kB / 275.4 MB, free: 3.125 MB / 250.7 MB Notification: Performance of Templates: time 0.002161/0.009475, allocations: 0.8186 MB / 276.2 MB, free: 2.328 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.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.630556591786444]