Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.008601/0.008601, allocations: 106 kB / 21.98 MB, free: 5.223 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.001826/0.001826, allocations: 216.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.59/1.59, allocations: 230.6 MB / 259 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 71.88 kB / 379.8 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2685, allocations: 53.35 MB / 433.2 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003616/0.2721, allocations: 1.901 MB / 435.1 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.2737, allocations: 0.709 MB / 435.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.2738, allocations: 7.938 kB / 435.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.274, allocations: 23.73 kB / 435.8 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.2741, allocations: 27.8 kB / 435.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.2746, allocations: 111.6 kB / 436 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.2748, allocations: 143.6 kB / 436.1 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.275, allocations: 49.88 kB / 436.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.2752, allocations: 63.72 kB / 436.2 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.2753, allocations: 55.64 kB / 436.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.2753, allocations: 8 kB / 436.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.063e-05/0.2754, allocations: 24 kB / 436.3 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.255e-05/0.2754, allocations: 23.92 kB / 436.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.74e-05/0.2755, allocations: 67.48 kB / 436.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.2758, allocations: 152.6 kB / 436.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2758, allocations: 0 / 436.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2758, allocations: 0 / 436.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.2758, allocations: 0 / 436.5 MB, free: 3.582 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006634/0.2765, allocations: 381.6 kB / 436.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2765, allocations: 8.031 kB / 436.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.2767, allocations: 28.83 kB / 436.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.2771, allocations: 194.2 kB / 437.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.2771, allocations: 12.12 kB / 437.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.2771, allocations: 8 kB / 437.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000639/0.2778, allocations: 284.2 kB / 437.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2778, allocations: 0 / 437.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.2778, allocations: 4 kB / 437.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.2778, allocations: 4 kB / 437.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.278, allocations: 71.89 kB / 437.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/0.2786, allocations: 406.5 kB / 437.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004713/0.2791, allocations: 213 kB / 438.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.2793, allocations: 96.31 kB / 438.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.2793, allocations: 4 kB / 438.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.2793, allocations: 54.38 kB / 438.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 2.114e-06/0.2793, allocations: 0 / 438.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006116/0.28, allocations: 221.3 kB / 438.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/0.2801, allocations: 196.3 kB / 438.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.2803, allocations: 187.7 kB / 438.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.2803, allocations: 33.7 kB / 438.9 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.971e-05/0.2804, allocations: 100.5 kB / 439 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.2804, allocations: 15.94 kB / 439 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.2805, allocations: 41.66 kB / 439 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.2807, allocations: 322.8 kB / 439.3 MB, free: 472 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.235e-05/0.2807, allocations: 23.98 kB / 439.4 MB, free: 448 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.2809, allocations: 146.1 kB / 439.5 MB, free: 248 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.2811, allocations: 182.4 kB / 439.7 MB, free: 12 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2811, allocations: 0 / 439.7 MB, free: 12 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003471/0.2815, allocations: 173.6 kB / 439.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.2815, allocations: 8 kB / 439.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.2815, allocations: 4 kB / 439.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.2815, allocations: 4 kB / 439.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.2817, allocations: 39.92 kB / 439.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.2817, allocations: 11.94 kB / 439.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.2818, allocations: 19.88 kB / 439.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.2818, allocations: 16 kB / 440 MB, free: 15.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001402/0.282, allocations: 133.8 kB / 440.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/0.2823, allocations: 145.5 kB / 440.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.713e-05/0.2823, allocations: 21.41 kB / 440.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2823, allocations: 0 / 440.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.2823, allocations: 4 kB / 440.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.2823, allocations: 7.922 kB / 440.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.2827, allocations: 192.6 kB / 440.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2827, allocations: 7.938 kB / 440.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.2828, allocations: 40 kB / 440.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2828, allocations: 0 / 440.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.2828, allocations: 4 kB / 440.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.2828, allocations: 3.938 kB / 440.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.2828, allocations: 4 kB / 440.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004492/0.2833, allocations: 363.8 kB / 440.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.39e-05/0.2834, allocations: 27.89 kB / 440.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.2834, allocations: 11.98 kB / 440.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.2836, allocations: 8 kB / 440.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.2836, allocations: 15.86 kB / 440.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.2836, allocations: 8 kB / 440.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.2837, allocations: 136.4 kB / 441.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2837, allocations: 3.938 kB / 441.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003532/0.2841, allocations: 27.95 kB / 441.1 MB, free: 14.51 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0001295/0.2842, allocations: 103.4 kB / 441.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003409/0.2846, allocations: 116.6 kB / 441.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2846, allocations: 0 / 441.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.731e-05/0.2846, allocations: 11.94 kB / 441.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006949/0.2853, allocations: 113.2 kB / 441.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007272/0.286, allocations: 357.5 kB / 441.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.2864, allocations: 0.7242 MB / 442.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.2865, allocations: 15.44 kB / 442.5 MB, free: 13 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2865, allocations: 0 / 442.5 MB, free: 13 MB / 350.1 MB Notification: Performance of Templates: time 0.004228/0.2907, allocations: 1.865 MB / 444.4 MB, free: 11.15 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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: 7.59910902986303]