Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.001837/0.001837, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001909/0.001909, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 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.425/1.425, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 63.89 kB / 379 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2735, allocations: 53.41 MB / 432.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003181/0.2767, allocations: 1.613 MB / 434 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.2779, allocations: 0.5336 MB / 434.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.859e-05/0.278, allocations: 4 kB / 434.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.361e-05/0.278, allocations: 15.86 kB / 434.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.2782, allocations: 7.875 kB / 434.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.2785, allocations: 67.8 kB / 434.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.2787, allocations: 55.78 kB / 434.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.2788, allocations: 8 kB / 434.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.2789, allocations: 35.84 kB / 434.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.859e-05/0.279, allocations: 23.8 kB / 434.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.279, allocations: 4 kB / 434.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.432e-05/0.279, allocations: 11.98 kB / 434.8 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.4e-05/0.2791, allocations: 15.94 kB / 434.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.2791, allocations: 23.86 kB / 434.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.2793, allocations: 66.34 kB / 434.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2793, allocations: 0 / 434.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2793, allocations: 0 / 434.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.2793, allocations: 4 kB / 434.9 MB, free: 4.027 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.0005288/0.2798, allocations: 313.9 kB / 435.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.2799, allocations: 15.92 kB / 435.2 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.2801, allocations: 20.88 kB / 435.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.2804, allocations: 158.4 kB / 435.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.2804, allocations: 384 / 435.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.2804, allocations: 12.12 kB / 435.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.2807, allocations: 130.7 kB / 435.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.2807, allocations: 4 kB / 435.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2808, allocations: 0 / 435.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2808, allocations: 0 / 435.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.236e-05/0.2809, allocations: 35.91 kB / 435.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.2812, allocations: 231.1 kB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.2814, allocations: 90.36 kB / 435.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.79e-05/0.2814, allocations: 43.48 kB / 435.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.2815, allocations: 7.938 kB / 435.9 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.2815, allocations: 42.5 kB / 436 MB, free: 2.773 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.2815, allocations: 4 kB / 436 MB, free: 2.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003413/0.2818, allocations: 101.5 kB / 436.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.428e-05/0.2819, allocations: 132.5 kB / 436.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.2821, allocations: 146.4 kB / 436.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.2821, allocations: 25.7 kB / 436.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.2822, allocations: 92.14 kB / 436.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.2822, allocations: 8.438 kB / 436.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.2822, allocations: 25.67 kB / 436.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2824, allocations: 326.8 kB / 436.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-05/0.2825, allocations: 12 kB / 436.8 MB, free: 1.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.2825, allocations: 44.22 kB / 436.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.2826, allocations: 60.22 kB / 436.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2826, allocations: 0 / 436.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001691/0.2828, allocations: 85.56 kB / 437 MB, free: 1.617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2828, allocations: 4 kB / 437 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2828, allocations: 4 kB / 437 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2828, allocations: 3.938 kB / 437 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.2829, allocations: 11.98 kB / 437 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.2829, allocations: 4 kB / 437 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.283, allocations: 4 kB / 437 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.283, allocations: 8.094 kB / 437 MB, free: 1.578 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 0.0001165/0.2831, allocations: 121.8 kB / 437.2 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.764e-05/0.2832, allocations: 57.59 kB / 437.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.2833, allocations: 19.91 kB / 437.2 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.2833, allocations: 4 kB / 437.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2833, allocations: 0 / 437.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2833, allocations: 0 / 437.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.2835, allocations: 129.2 kB / 437.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.2835, allocations: 4 kB / 437.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.497e-05/0.2835, allocations: 12.06 kB / 437.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.2835, allocations: 7.984 kB / 437.4 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.2835, allocations: 0 / 437.4 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.2836, allocations: 3.938 kB / 437.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2836, allocations: 4.125 kB / 437.4 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.2838, allocations: 209.9 kB / 437.6 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.2838, allocations: 23.88 kB / 437.6 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.2839, allocations: 0 / 437.6 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.2839, allocations: 4 kB / 437.6 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.284, allocations: 7.984 kB / 437.6 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.284, allocations: 11.92 kB / 437.7 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.309e-05/0.2841, allocations: 118.8 kB / 437.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2841, allocations: 3.938 kB / 437.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.2843, allocations: 8 kB / 437.8 MB, free: 0.7695 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.0001067/0.2844, allocations: 95.23 kB / 437.9 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.2846, allocations: 39.92 kB / 437.9 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2846, allocations: 320 / 437.9 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.858e-05/0.2846, allocations: 19.98 kB / 437.9 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.285, allocations: 39.03 kB / 438 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004367/0.2854, allocations: 227.6 kB / 438.2 MB, free: 320 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.536e-05/0.2855, allocations: 91.92 kB / 438.3 MB, free: 204 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.2856, allocations: 11.44 kB / 438.3 MB, free: 192 kB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2856, allocations: 320 / 438.3 MB, free: 192 kB / 334.1 MB Notification: Performance of Templates: time 0.002755/0.2883, allocations: 0.9601 MB / 439.3 MB, free: 15.23 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 6.878792063798755]