Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001164/0.001164, allocations: 194.2 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 226.6 MB / 244.3 MB, free: 8.301 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007918/0.0007917, allocations: 103.7 kB / 296.4 MB, free: 6.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002593/0.0002593, allocations: 7.984 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2753, allocations: 51.3 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.00166/0.277, allocations: 1.3 MB / 408.8 MB, free: 26.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007903/0.2779, allocations: 0.5162 MB / 409.3 MB, free: 25.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.278, allocations: 4.781 kB / 409.3 MB, free: 25.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.897e-05/0.278, allocations: 7.922 kB / 409.3 MB, free: 25.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.2782, allocations: 14.28 kB / 409.3 MB, free: 25.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.2785, allocations: 51.88 kB / 409.4 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.883e-05/0.2786, allocations: 43.86 kB / 409.4 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.941e-05/0.2787, allocations: 12.61 kB / 409.4 MB, free: 25.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.2789, allocations: 27.86 kB / 409.5 MB, free: 25.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.306e-05/0.2789, allocations: 24.69 kB / 409.5 MB, free: 25.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.279, allocations: 0 / 409.5 MB, free: 25.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.314e-05/0.279, allocations: 4.656 kB / 409.5 MB, free: 25.81 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.279, allocations: 21.95 kB / 409.5 MB, free: 25.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.2791, allocations: 29.7 kB / 409.6 MB, free: 25.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.2792, allocations: 43.92 kB / 409.6 MB, free: 25.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2792, allocations: 0 / 409.6 MB, free: 25.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2792, allocations: 0 / 409.6 MB, free: 25.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.2792, allocations: 3.938 kB / 409.6 MB, free: 25.71 MB / 298.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.0004082/0.2796, allocations: 377.2 kB / 410 MB, free: 25.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2797, allocations: 14.59 kB / 410 MB, free: 25.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.2798, allocations: 19.89 kB / 410 MB, free: 25.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.28, allocations: 194.3 kB / 410.2 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.2801, allocations: 4 kB / 410.2 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.2801, allocations: 4 kB / 410.2 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.2804, allocations: 135.8 kB / 410.3 MB, free: 24.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2805, allocations: 0 / 410.3 MB, free: 24.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.2805, allocations: 4 kB / 410.3 MB, free: 24.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2805, allocations: 0 / 410.3 MB, free: 24.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.059e-05/0.2806, allocations: 31.92 kB / 410.4 MB, free: 24.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.2809, allocations: 299.3 kB / 410.7 MB, free: 24.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.2811, allocations: 94.36 kB / 410.8 MB, free: 24.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.81e-05/0.2811, allocations: 51.48 kB / 410.8 MB, free: 24.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.2812, allocations: 3.984 kB / 410.8 MB, free: 24.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.2812, allocations: 46.55 kB / 410.9 MB, free: 24.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.2812, allocations: 0 / 410.9 MB, free: 24.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002852/0.2815, allocations: 101.9 kB / 411 MB, free: 24.13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.2816, allocations: 136.5 kB / 411.1 MB, free: 23.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.523e-05/0.2817, allocations: 142.4 kB / 411.2 MB, free: 23.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.118e-06/0.2817, allocations: 29.7 kB / 411.3 MB, free: 23.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.2817, allocations: 88.27 kB / 411.3 MB, free: 23.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.2817, allocations: 15.89 kB / 411.4 MB, free: 23.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.2818, allocations: 3.938 kB / 411.4 MB, free: 23.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.169e-05/0.2818, allocations: 314.8 kB / 411.7 MB, free: 23.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.714e-05/0.2819, allocations: 19.92 kB / 411.7 MB, free: 23.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.115e-05/0.2819, allocations: 44.28 kB / 411.7 MB, free: 23.28 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.474e-05/0.282, allocations: 20 kB / 411.8 MB, free: 23.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.282, allocations: 0 / 411.8 MB, free: 23.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000139/0.2821, allocations: 93.5 kB / 411.8 MB, free: 23.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2822, allocations: 4.625 kB / 411.8 MB, free: 23.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2822, allocations: 0 / 411.8 MB, free: 23.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2822, allocations: 4 kB / 411.9 MB, free: 23.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.802e-05/0.2823, allocations: 20.27 kB / 411.9 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.2823, allocations: 4 kB / 411.9 MB, free: 23.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.703e-05/0.2824, allocations: 7.906 kB / 411.9 MB, free: 23.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.2824, allocations: 4 kB / 411.9 MB, free: 23.12 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.747e-05/0.2825, allocations: 121.8 kB / 412 MB, free: 22.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.963e-05/0.2825, allocations: 61.55 kB / 412.1 MB, free: 22.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.2826, allocations: 11.88 kB / 412.1 MB, free: 22.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2826, allocations: 8.062 kB / 412.1 MB, free: 22.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2826, allocations: 0 / 412.1 MB, free: 22.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2826, allocations: 0 / 412.1 MB, free: 22.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.2828, allocations: 177.6 kB / 412.3 MB, free: 22.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2828, allocations: 0 / 412.3 MB, free: 22.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.404e-05/0.2828, allocations: 19.92 kB / 412.3 MB, free: 22.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2829, allocations: 3.953 kB / 412.3 MB, free: 22.65 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.2829, allocations: 0 / 412.3 MB, free: 22.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.2829, allocations: 4 kB / 412.3 MB, free: 22.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2829, allocations: 0 / 412.3 MB, free: 22.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.2831, allocations: 202 kB / 412.5 MB, free: 22.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.2831, allocations: 96.94 kB / 412.6 MB, free: 22.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.2831, allocations: 7.953 kB / 412.6 MB, free: 22.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/0.2832, allocations: 11.98 kB / 412.6 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.2833, allocations: 4 kB / 412.6 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.2833, allocations: 4 kB / 412.6 MB, free: 22.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.291e-05/0.2833, allocations: 110.4 kB / 412.7 MB, free: 22.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2833, allocations: 0 / 412.7 MB, free: 22.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002183/0.2836, allocations: 8 kB / 412.7 MB, free: 22.17 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001043/0.2837, allocations: 99.25 kB / 412.8 MB, free: 22.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.2838, allocations: 47.91 kB / 412.9 MB, free: 22.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2839, allocations: 3.938 kB / 412.9 MB, free: 22.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.2839, allocations: 15.94 kB / 412.9 MB, free: 22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.2843, allocations: 34.81 kB / 412.9 MB, free: 21.97 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.2847, allocations: 260.9 kB / 413.2 MB, free: 21.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.2848, allocations: 0.7004 MB / 413.9 MB, free: 20.94 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.2849, allocations: 7.438 kB / 413.9 MB, free: 20.93 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2849, allocations: 4 kB / 413.9 MB, free: 20.93 MB / 298.7 MB Notification: Performance of Templates: time 0.002178/0.2871, allocations: 0.9111 MB / 414.8 MB, free: 20.02 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Hold --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches