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.001494/0.001494, allocations: 113 kB / 19.04 MB, free: 3.254 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.00157/0.00157, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.622/1.622, allocations: 225.6 MB / 250.8 MB, free: 13.34 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.001695/0.001695, allocations: 51.92 kB / 368.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3818, allocations: 52.15 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003456/0.3852, allocations: 1.623 MB / 422.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.3863, allocations: 0.5142 MB / 423 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.3864, allocations: 0 / 423 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.322e-05/0.3865, allocations: 3.938 kB / 423 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.3867, allocations: 15.86 kB / 423 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.387, allocations: 47.83 kB / 423.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.3871, allocations: 55.8 kB / 423.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.3872, allocations: 15.97 kB / 423.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.061e-05/0.3873, allocations: 27.8 kB / 423.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.063e-05/0.3874, allocations: 27.86 kB / 423.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.3874, allocations: 8 kB / 423.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.3874, allocations: 4 kB / 423.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.054e-05/0.3875, allocations: 19.91 kB / 423.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.3875, allocations: 27.81 kB / 423.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.3877, allocations: 64.92 kB / 423.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3877, allocations: 0 / 423.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3877, allocations: 0 / 423.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.3877, allocations: 0 / 423.3 MB, free: 12.62 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.0005885/0.3883, allocations: 383.1 kB / 423.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.3883, allocations: 15.97 kB / 423.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.3884, allocations: 12.84 kB / 423.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.3887, allocations: 215.9 kB / 423.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.3887, allocations: 384 / 423.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.3887, allocations: 12.12 kB / 424 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.3891, allocations: 134.6 kB / 424.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3891, allocations: 0 / 424.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.3891, allocations: 0 / 424.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.3891, allocations: 4 kB / 424.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.266e-05/0.3892, allocations: 27.91 kB / 424.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005199/0.3897, allocations: 283.5 kB / 424.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.3899, allocations: 90.36 kB / 424.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.39, allocations: 47.55 kB / 424.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.3901, allocations: 11.92 kB / 424.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.3901, allocations: 34.55 kB / 424.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3901, allocations: 0 / 424.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003127/0.3904, allocations: 101.5 kB / 424.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.3905, allocations: 136.5 kB / 424.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.3907, allocations: 141.8 kB / 424.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.3907, allocations: 25.7 kB / 425 MB, free: 10.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.3908, allocations: 104.5 kB / 425.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.3908, allocations: 7.938 kB / 425.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.3908, allocations: 17.72 kB / 425.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.391, allocations: 322.8 kB / 425.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.744e-05/0.3911, allocations: 12 kB / 425.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.895e-05/0.3911, allocations: 48.22 kB / 425.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.3912, allocations: 60.22 kB / 425.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3912, allocations: 4 kB / 425.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001687/0.3914, allocations: 81.56 kB / 425.6 MB, free: 10 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3914, allocations: 11.94 kB / 425.6 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3914, allocations: 0 / 425.6 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3915, allocations: 3.938 kB / 425.6 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.432e-05/0.3916, allocations: 15.98 kB / 425.6 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3916, allocations: 0 / 425.6 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.267e-05/0.3916, allocations: 11.88 kB / 425.7 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.3916, allocations: 4 kB / 425.7 MB, free: 9.957 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.000101/0.3917, allocations: 125.9 kB / 425.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.3918, allocations: 61.58 kB / 425.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.494e-05/0.3919, allocations: 11.88 kB / 425.9 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3919, allocations: 4 kB / 425.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3919, allocations: 0 / 425.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3919, allocations: 3.938 kB / 425.9 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.3921, allocations: 181.6 kB / 426 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3921, allocations: 0 / 426 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.622e-05/0.3922, allocations: 11.98 kB / 426.1 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.3922, allocations: 8.062 kB / 426.1 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.3922, allocations: 4 kB / 426.1 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3922, allocations: 7.938 kB / 426.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3922, allocations: 0 / 426.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.3925, allocations: 198 kB / 426.3 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-05/0.3925, allocations: 93.05 kB / 426.4 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.3926, allocations: 4 kB / 426.4 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.3926, allocations: 8.172 kB / 426.4 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.3927, allocations: 7.938 kB / 426.4 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.3927, allocations: 4 kB / 426.4 MB, free: 9.125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.3928, allocations: 113.3 kB / 426.5 MB, free: 9.016 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3928, allocations: 3.938 kB / 426.5 MB, free: 9.012 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.393, allocations: 8 kB / 426.5 MB, free: 9.004 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.0001392/0.3932, allocations: 104 kB / 426.6 MB, free: 8.895 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.3934, allocations: 43.91 kB / 426.6 MB, free: 8.852 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3934, allocations: 0 / 426.6 MB, free: 8.852 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.296e-05/0.3934, allocations: 8 kB / 426.7 MB, free: 8.844 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.3939, allocations: 36.48 kB / 426.7 MB, free: 8.809 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.3944, allocations: 209.8 kB / 426.9 MB, free: 8.566 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.3948, allocations: 0.7039 MB / 427.6 MB, free: 7.836 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.626e-05/0.3948, allocations: 15.91 kB / 427.6 MB, free: 7.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.3949, allocations: 15.44 kB / 427.6 MB, free: 7.805 MB / 334.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3949, allocations: 4 kB / 427.6 MB, free: 7.801 MB / 334.1 MB Notification: Performance of Templates: time 0.004076/0.3989, allocations: 0.7237 MB / 428.4 MB, free: 7.086 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: 5.130786867812276]