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.0007668/0.0007668, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.00178, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006716/0.0006716, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009985/0.00167, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8363/0.8363, allocations: 173.4 MB / 186 MB, free: 7.52 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.137/0.9733, allocations: 52.49 MB / 238.5 MB, free: 7.602 MB / 234.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.253e-06/1.253e-06, allocations: 0 / 239.8 MB, free: 6.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156e-05/1.282e-05, allocations: 2.312 kB / 239.8 MB, free: 6.316 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002642/0.002655, allocations: 1.693 MB / 241.5 MB, free: 4.629 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007172/0.003372, allocations: 0.496 MB / 242 MB, free: 4.129 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.301e-05/0.003445, allocations: 0 / 242 MB, free: 4.129 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.32e-05/0.003489, allocations: 16.48 kB / 242 MB, free: 4.113 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.036e-05/0.003569, allocations: 8.469 kB / 242 MB, free: 4.105 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.003783, allocations: 60.22 kB / 242 MB, free: 4.047 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.003893, allocations: 47.8 kB / 242.1 MB, free: 4 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.994e-05/0.003973, allocations: 21.66 kB / 242.1 MB, free: 3.98 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.004087, allocations: 39.89 kB / 242.1 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.541e-05/0.004142, allocations: 19.91 kB / 242.2 MB, free: 3.922 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.004172, allocations: 4 kB / 242.2 MB, free: 3.918 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.004185, allocations: 5.156 kB / 242.2 MB, free: 3.914 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.004229, allocations: 15.94 kB / 242.2 MB, free: 3.898 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.004255, allocations: 11.94 kB / 242.2 MB, free: 3.887 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.004365, allocations: 44.78 kB / 242.2 MB, free: 3.844 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.154e-05/0.004377, allocations: 3.984 kB / 242.2 MB, free: 3.84 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004377, allocations: 1 kB / 242.2 MB, free: 3.84 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.004389, allocations: 3.938 kB / 242.3 MB, free: 3.836 MB / 234.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.0003929/0.004782, allocations: 292.2 kB / 242.5 MB, free: 3.527 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.004812, allocations: 12.78 kB / 242.5 MB, free: 3.516 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.004846, allocations: 8.922 kB / 242.6 MB, free: 3.508 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.005029, allocations: 153.6 kB / 242.7 MB, free: 3.336 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.005037, allocations: 384 / 242.7 MB, free: 3.336 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.005053, allocations: 12.97 kB / 242.7 MB, free: 3.324 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.005253, allocations: 126.5 kB / 242.8 MB, free: 3.176 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.005262, allocations: 3.938 kB / 242.8 MB, free: 3.172 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.005269, allocations: 4 kB / 242.9 MB, free: 3.168 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.005275, allocations: 0 / 242.9 MB, free: 3.168 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.771e-05/0.005303, allocations: 13.41 kB / 242.9 MB, free: 3.156 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.005504, allocations: 166.9 kB / 243 MB, free: 2.969 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.02e-05/0.005585, allocations: 87.28 kB / 243.1 MB, free: 2.848 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/0.005622, allocations: 28.53 kB / 243.1 MB, free: 2.809 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.00564, allocations: 0 / 243.1 MB, free: 2.809 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.005668, allocations: 54.36 kB / 243.2 MB, free: 2.746 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.005669, allocations: 3.125 kB / 243.2 MB, free: 2.746 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.000149/0.005818, allocations: 57.62 kB / 243.3 MB, free: 2.684 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.005876, allocations: 140.4 kB / 243.4 MB, free: 2.516 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.005964, allocations: 136.9 kB / 243.5 MB, free: 2.371 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.005976, allocations: 26.98 kB / 243.6 MB, free: 2.34 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.006012, allocations: 88.12 kB / 243.6 MB, free: 2.25 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.00603, allocations: 3.953 kB / 243.6 MB, free: 2.246 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.006063, allocations: 21.7 kB / 243.7 MB, free: 2.219 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.902e-05/0.006142, allocations: 319.9 kB / 244 MB, free: 1.898 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/0.006153, allocations: 4 kB / 244 MB, free: 1.895 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.729e-05/0.00617, allocations: 18.67 kB / 244 MB, free: 1.871 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.091e-05/0.006201, allocations: 18.56 kB / 244 MB, free: 1.848 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.006203, allocations: 0 / 244 MB, free: 1.848 MB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.727e-05/0.00626, allocations: 43.41 kB / 244.1 MB, free: 1.801 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.006274, allocations: 8 kB / 244.1 MB, free: 1.793 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.006278, allocations: 0 / 244.1 MB, free: 1.793 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.00629, allocations: 0 / 244.1 MB, free: 1.793 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.006357, allocations: 8.594 kB / 244.1 MB, free: 1.785 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.00636, allocations: 0 / 244.1 MB, free: 1.785 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.907e-05/0.006389, allocations: 16.56 kB / 244.1 MB, free: 1.77 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.006395, allocations: 0 / 244.1 MB, free: 1.77 MB / 234.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 5.916e-05/0.006454, allocations: 114.6 kB / 244.2 MB, free: 1.648 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/0.006517, allocations: 53.56 kB / 244.3 MB, free: 1.59 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.006548, allocations: 11.97 kB / 244.3 MB, free: 1.57 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.00655, allocations: 0.5 kB / 244.3 MB, free: 1.57 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.006553, allocations: 3.984 kB / 244.3 MB, free: 1.566 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.006558, allocations: 8.797 kB / 244.3 MB, free: 1.559 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.00669, allocations: 77.86 kB / 244.4 MB, free: 1.465 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.006691, allocations: 1.656 kB / 244.4 MB, free: 1.465 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.873e-05/0.00674, allocations: 12 kB / 244.4 MB, free: 1.453 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.665e-05/0.006777, allocations: 23.88 kB / 244.4 MB, free: 1.43 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.006779, allocations: 0 / 244.4 MB, free: 1.43 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.006785, allocations: 4.688 kB / 244.4 MB, free: 1.426 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.006787, allocations: 0 / 244.4 MB, free: 1.426 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006788, allocations: 7.938 kB / 244.4 MB, free: 1.418 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.059e-05/0.006878, allocations: 154.1 kB / 244.6 MB, free: 1.242 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.006893, allocations: 11.92 kB / 244.6 MB, free: 1.23 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.864e-05/0.006962, allocations: 4 kB / 244.6 MB, free: 1.227 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.006983, allocations: 0 / 244.6 MB, free: 1.227 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.006989, allocations: 4 kB / 244.6 MB, free: 1.223 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.137e-05/0.00702, allocations: 24.83 kB / 244.6 MB, free: 1.195 MB / 234.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00702, allocations: 0 / 244.6 MB, free: 1.195 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002106/0.007231, allocations: 12 kB / 244.6 MB, free: 1.184 MB / 234.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.027e-05/0.007301, allocations: 84.44 kB / 244.7 MB, free: 1.094 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.41e-05/0.007365, allocations: 16.8 kB / 244.7 MB, free: 1.074 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.007372, allocations: 4 kB / 244.7 MB, free: 1.066 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.115e-05/0.007393, allocations: 12.84 kB / 244.7 MB, free: 1.051 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.007703, allocations: 143.9 kB / 244.9 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008752/0.008578, allocations: 232.7 kB / 245.1 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.349e-05/0.008621, allocations: 59.34 kB / 245.2 MB, free: 0.543 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.773e-05/0.008649, allocations: 4 kB / 245.2 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.491e-05/0.008714, allocations: 59.36 kB / 245.2 MB, free: 492 kB / 234.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008715, allocations: 0 / 245.2 MB, free: 492 kB / 234.7 MB Notification: Performance of Templates: time 0.002742/0.01146, allocations: 0.8329 MB / 246 MB, free: 15.67 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.229048563167453]