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.0009672/0.0009672, allocations: 85.05 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001207/0.001207, allocations: 147.7 kB / 24.9 MB, free: 8.766 MB / 18.57 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 0.9316/0.9316, allocations: 173.4 MB / 201.5 MB, free: 8.238 MB / 186.7 MB " [Timeout remaining time 179] 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 1.333e-06/1.333e-06, allocations: 0 / 268.5 MB, free: 9.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.86e-05, allocations: 5.266 kB / 268.5 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002836/0.002854, allocations: 1.688 MB / 270.2 MB, free: 8.051 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000887/0.003741, allocations: 0.4998 MB / 270.7 MB, free: 7.547 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.384e-05/0.003835, allocations: 1.875 kB / 270.7 MB, free: 7.547 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.245e-05/0.003887, allocations: 7.875 kB / 270.7 MB, free: 7.539 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.004041, allocations: 15.86 kB / 270.7 MB, free: 7.523 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.004291, allocations: 47.77 kB / 270.8 MB, free: 7.477 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.00441, allocations: 63.72 kB / 270.8 MB, free: 7.414 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.806e-05/0.004498, allocations: 13.23 kB / 270.9 MB, free: 7.402 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.0046, allocations: 35.89 kB / 270.9 MB, free: 7.367 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.392e-05/0.004664, allocations: 12.48 kB / 270.9 MB, free: 7.355 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.004684, allocations: 4 kB / 270.9 MB, free: 7.352 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.004698, allocations: 4.594 kB / 270.9 MB, free: 7.348 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.004743, allocations: 21.89 kB / 270.9 MB, free: 7.328 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.00477, allocations: 15.92 kB / 271 MB, free: 7.312 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.004891, allocations: 47.77 kB / 271 MB, free: 7.266 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.004893, allocations: 0 / 271 MB, free: 7.266 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.004894, allocations: 0 / 271 MB, free: 7.266 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.004897, allocations: 0 / 271 MB, free: 7.266 MB / 250.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.0003501/0.005247, allocations: 286.3 kB / 271.3 MB, free: 6.965 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.005283, allocations: 8.031 kB / 271.3 MB, free: 6.957 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.005314, allocations: 12.94 kB / 271.3 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.0055, allocations: 153.1 kB / 271.5 MB, free: 6.773 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.005508, allocations: 384 / 271.5 MB, free: 6.773 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.589e-06/0.005518, allocations: 5.125 kB / 271.5 MB, free: 6.77 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.005726, allocations: 136.4 kB / 271.6 MB, free: 6.609 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.005738, allocations: 3.938 kB / 271.6 MB, free: 6.605 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.00575, allocations: 11.97 kB / 271.6 MB, free: 6.594 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.005756, allocations: 0 / 271.6 MB, free: 6.594 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.787e-05/0.005784, allocations: 11.94 kB / 271.6 MB, free: 6.582 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.00601, allocations: 163 kB / 271.8 MB, free: 6.398 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.849e-05/0.006089, allocations: 90.41 kB / 271.9 MB, free: 6.273 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.006124, allocations: 35.38 kB / 271.9 MB, free: 6.227 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.006139, allocations: 4 kB / 271.9 MB, free: 6.223 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.006167, allocations: 42.5 kB / 271.9 MB, free: 6.172 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.006168, allocations: 0 / 271.9 MB, free: 6.172 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001461/0.006314, allocations: 65.55 kB / 272 MB, free: 6.102 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.006377, allocations: 132.5 kB / 272.1 MB, free: 5.941 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.00648, allocations: 145.4 kB / 272.3 MB, free: 5.789 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.006492, allocations: 29.64 kB / 272.3 MB, free: 5.754 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.006531, allocations: 92.08 kB / 272.4 MB, free: 5.66 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.006548, allocations: 3.953 kB / 272.4 MB, free: 5.656 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.006583, allocations: 21.67 kB / 272.4 MB, free: 5.629 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.006681, allocations: 322.8 kB / 272.7 MB, free: 5.305 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-06/0.006689, allocations: 0 / 272.7 MB, free: 5.305 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.73e-05/0.006706, allocations: 13.72 kB / 272.8 MB, free: 5.285 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.055e-05/0.006737, allocations: 17.7 kB / 272.8 MB, free: 5.262 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.006739, allocations: 0 / 272.8 MB, free: 5.262 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.49e-05/0.006803, allocations: 45.64 kB / 272.8 MB, free: 5.211 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.006816, allocations: 6.344 kB / 272.8 MB, free: 5.207 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.00682, allocations: 4 kB / 272.8 MB, free: 5.203 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.006835, allocations: 3.984 kB / 272.8 MB, free: 5.199 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.545e-05/0.00689, allocations: 4 kB / 272.8 MB, free: 5.195 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.006893, allocations: 0 / 272.8 MB, free: 5.195 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.312e-05/0.006916, allocations: 0 / 272.8 MB, free: 5.195 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.006922, allocations: 4 kB / 272.8 MB, free: 5.191 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 6.87e-05/0.006991, allocations: 116.7 kB / 272.9 MB, free: 5.066 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.707e-05/0.007058, allocations: 61.61 kB / 273 MB, free: 5 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.007088, allocations: 11.92 kB / 273 MB, free: 4.984 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.007093, allocations: 4 kB / 273 MB, free: 4.98 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.007095, allocations: 0 / 273 MB, free: 4.98 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.007099, allocations: 0 / 273 MB, free: 4.98 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.007234, allocations: 77.88 kB / 273.1 MB, free: 4.887 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.007235, allocations: 0 / 273.1 MB, free: 4.887 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.68e-05/0.007282, allocations: 19.92 kB / 273.1 MB, free: 4.867 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.007286, allocations: 3.938 kB / 273.1 MB, free: 4.863 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.007294, allocations: 11.94 kB / 273.1 MB, free: 4.852 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.007296, allocations: 4.062 kB / 273.1 MB, free: 4.848 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.007297, allocations: 0 / 273.1 MB, free: 4.848 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.456e-05/0.007392, allocations: 150.1 kB / 273.3 MB, free: 4.676 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.366e-05/0.007425, allocations: 19.88 kB / 273.3 MB, free: 4.656 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.007439, allocations: 7.938 kB / 273.3 MB, free: 4.648 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.007509, allocations: 4 kB / 273.3 MB, free: 4.645 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.007536, allocations: 7.984 kB / 273.3 MB, free: 4.637 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.00754, allocations: 0 / 273.3 MB, free: 4.637 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.249e-05/0.007572, allocations: 28.83 kB / 273.4 MB, free: 4.605 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007572, allocations: 0 / 273.4 MB, free: 4.605 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002164/0.007789, allocations: 12.03 kB / 273.4 MB, free: 4.594 MB / 250.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.068e-05/0.007859, allocations: 80.36 kB / 273.4 MB, free: 4.508 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.854e-05/0.007928, allocations: 24.78 kB / 273.5 MB, free: 4.48 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.00793, allocations: 0 / 273.5 MB, free: 4.48 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.464e-05/0.007945, allocations: 8.859 kB / 273.5 MB, free: 4.469 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.008213, allocations: 40.88 kB / 273.5 MB, free: 4.426 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.008667, allocations: 200.8 kB / 273.7 MB, free: 4.195 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.624e-05/0.008713, allocations: 63.34 kB / 273.8 MB, free: 4.113 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.79e-05/0.008741, allocations: 4 kB / 273.8 MB, free: 4.109 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.46e-05/0.008805, allocations: 63.36 kB / 273.8 MB, free: 4.047 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.008806, allocations: 0 / 273.8 MB, free: 4.047 MB / 250.7 MB Notification: Performance of Templates: time 0.002812/0.01162, allocations: 0.7846 MB / 274.6 MB, free: 3.285 MB / 250.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5908529590815306]