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.002169/0.002169, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.002487/0.002487, allocations: 193.7 kB / 23.71 MB, free: 4.406 MB / 14.72 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 1.524/1.524, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001662/0.001662, allocations: 47.92 kB / 370.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2802, allocations: 52.19 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003308/0.2835, allocations: 1.616 MB / 424.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009438/0.2845, allocations: 470.8 kB / 425.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.405e-05/0.2846, allocations: 7.938 kB / 425.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.789e-05/0.2846, allocations: 3.938 kB / 425.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.2847, allocations: 15.86 kB / 425.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.285, allocations: 51.83 kB / 425.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.2851, allocations: 55.78 kB / 425.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.2852, allocations: 15.98 kB / 425.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.379e-05/0.2853, allocations: 27.86 kB / 425.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.985e-05/0.2854, allocations: 23.84 kB / 425.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.2854, allocations: 4 kB / 425.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.594e-05/0.2854, allocations: 4 kB / 425.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.729e-05/0.2854, allocations: 19.92 kB / 425.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.2855, allocations: 23.81 kB / 425.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.2856, allocations: 61.92 kB / 425.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2856, allocations: 0 / 425.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2856, allocations: 4 kB / 425.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.2856, allocations: 0 / 425.5 MB, free: 12.07 MB / 334.1 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.000508/0.2861, allocations: 313 kB / 425.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2862, allocations: 12.03 kB / 425.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.2862, allocations: 16.78 kB / 425.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.2865, allocations: 148.7 kB / 425.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.2865, allocations: 4.375 kB / 425.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.2865, allocations: 12.12 kB / 426 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.2868, allocations: 130.7 kB / 426.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2868, allocations: 0 / 426.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.2869, allocations: 0 / 426.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2869, allocations: 7.938 kB / 426.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.533e-05/0.2869, allocations: 19.98 kB / 426.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.2873, allocations: 231.1 kB / 426.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.2875, allocations: 94.42 kB / 426.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.094e-05/0.2875, allocations: 47.42 kB / 426.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.2876, allocations: 0 / 426.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.2876, allocations: 46.48 kB / 426.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.2876, allocations: 0 / 426.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000302/0.2879, allocations: 101.9 kB / 426.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.29e-05/0.288, allocations: 136.6 kB / 426.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.2881, allocations: 151.6 kB / 426.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.2882, allocations: 25.7 kB / 426.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.2882, allocations: 88.14 kB / 427 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.2883, allocations: 11.94 kB / 427 MB, free: 10.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.2883, allocations: 17.72 kB / 427 MB, free: 10.26 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2884, allocations: 322.8 kB / 427.4 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.795e-05/0.2885, allocations: 12 kB / 427.4 MB, free: 9.922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.26e-05/0.2886, allocations: 40.28 kB / 427.4 MB, free: 9.867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.2887, allocations: 68.16 kB / 427.5 MB, free: 9.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2887, allocations: 0 / 427.5 MB, free: 9.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001577/0.2888, allocations: 85.5 kB / 427.6 MB, free: 9.695 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.2889, allocations: 4.156 kB / 427.6 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2889, allocations: 8 kB / 427.6 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2889, allocations: 0 / 427.6 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.817e-05/0.289, allocations: 19.92 kB / 427.6 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.289, allocations: 3.984 kB / 427.6 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.605e-05/0.289, allocations: 11.94 kB / 427.6 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.289, allocations: 4.062 kB / 427.6 MB, free: 9.645 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (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 prepare postOptimizeDAE: time 9.773e-05/0.2891, allocations: 121.8 kB / 427.7 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.2892, allocations: 61.58 kB / 427.8 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.2893, allocations: 16.03 kB / 427.8 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2893, allocations: 4 kB / 427.8 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2893, allocations: 0 / 427.8 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2893, allocations: 3.984 kB / 427.8 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.2895, allocations: 125.2 kB / 427.9 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2895, allocations: 0 / 427.9 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.416e-05/0.2895, allocations: 15.98 kB / 428 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2895, allocations: 0 / 428 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.2895, allocations: 8 kB / 428 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2895, allocations: 0 / 428 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2895, allocations: 0 / 428 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.2898, allocations: 205.9 kB / 428.2 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.2898, allocations: 19.94 kB / 428.2 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.2898, allocations: 0 / 428.2 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.2899, allocations: 8 kB / 428.2 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.2899, allocations: 3.984 kB / 428.2 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.2899, allocations: 7.938 kB / 428.2 MB, free: 8.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.194e-05/0.29, allocations: 107.2 kB / 428.3 MB, free: 8.875 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.29, allocations: 0 / 428.3 MB, free: 8.875 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000228/0.2903, allocations: 8 kB / 428.3 MB, free: 8.867 MB / 334.1 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 0.0001147/0.2904, allocations: 111.2 kB / 428.4 MB, free: 8.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.2905, allocations: 43.92 kB / 428.5 MB, free: 8.707 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2905, allocations: 0 / 428.5 MB, free: 8.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.291e-05/0.2906, allocations: 11.98 kB / 428.5 MB, free: 8.695 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.2909, allocations: 31.95 kB / 428.5 MB, free: 8.664 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004107/0.2913, allocations: 194.7 kB / 428.7 MB, free: 8.438 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.172e-05/0.2914, allocations: 95.33 kB / 428.8 MB, free: 8.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.374e-05/0.2915, allocations: 4 kB / 428.8 MB, free: 8.316 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.2915, allocations: 7.438 kB / 428.8 MB, free: 8.309 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2915, allocations: 4 kB / 428.8 MB, free: 8.305 MB / 334.1 MB Notification: Performance of Templates: time 0.00341/0.2949, allocations: 0.8251 MB / 429.6 MB, free: 7.5 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.6136229410767555]