Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001885/0.003175, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001747/0.002856, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9687/0.9687, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1091/1.078, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.167e-06/1.068e-05, allocations: 6.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.001791/0.001802, allocations: 1.717 MB / 246.4 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009445/0.002746, allocations: 0.5646 MB / 247 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.002823, allocations: 7.938 kB / 247 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.509e-05/0.002858, allocations: 7.938 kB / 247 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.507e-05/0.002933, allocations: 15.86 kB / 247 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.003125, allocations: 63.73 kB / 247.1 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.003229, allocations: 51.8 kB / 247.1 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.583e-05/0.003314, allocations: 27.86 kB / 247.2 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.003441, allocations: 47.83 kB / 247.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.154e-05/0.003493, allocations: 15.98 kB / 247.2 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.003512, allocations: 7.938 kB / 247.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.213e-05/0.003564, allocations: 8 kB / 247.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.843e-05/0.003602, allocations: 15.94 kB / 247.3 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.777e-05/0.00362, allocations: 11.94 kB / 247.3 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.003734, allocations: 43.83 kB / 247.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.003743, allocations: 0 / 247.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003743, allocations: 0 / 247.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.003752, allocations: 0 / 247.3 MB, free: 11.61 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.0004087/0.004161, allocations: 312.1 kB / 247.6 MB, free: 11.28 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.004196, allocations: 8.031 kB / 247.6 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.00434, allocations: 97.97 kB / 247.7 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.004498, allocations: 150.2 kB / 247.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.004506, allocations: 4.375 kB / 247.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.004516, allocations: 4.375 kB / 247.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.004682, allocations: 131.9 kB / 248 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.00469, allocations: 3.938 kB / 248 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.004697, allocations: 0 / 248 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.004703, allocations: 4 kB / 248 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.938e-05/0.004722, allocations: 11.94 kB / 248 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.004909, allocations: 170.8 kB / 248.2 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.024e-05/0.00498, allocations: 82.34 kB / 248.3 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.005007, allocations: 39.48 kB / 248.3 MB, free: 10.44 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.005024, allocations: 4 kB / 248.3 MB, free: 10.44 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.005047, allocations: 42.5 kB / 248.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 8.91e-07/0.005047, allocations: 0 / 248.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001301/0.005178, allocations: 69.55 kB / 248.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.005233, allocations: 132.5 kB / 248.6 MB, free: 10.15 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.857e-05/0.005311, allocations: 149.6 kB / 248.7 MB, free: 9.996 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.005322, allocations: 25.7 kB / 248.7 MB, free: 9.965 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.393e-05/0.005356, allocations: 88.12 kB / 248.8 MB, free: 9.875 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.005373, allocations: 3.953 kB / 248.8 MB, free: 9.871 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.005399, allocations: 21.7 kB / 248.8 MB, free: 9.844 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.005474, allocations: 319.3 kB / 249.1 MB, free: 9.523 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-06/0.005481, allocations: 0 / 249.1 MB, free: 9.523 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.366e-05/0.005495, allocations: 17.72 kB / 249.2 MB, free: 9.5 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.316e-05/0.005518, allocations: 17.7 kB / 249.2 MB, free: 9.477 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.00552, allocations: 0 / 249.2 MB, free: 9.477 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.415e-05/0.005564, allocations: 49.5 kB / 249.2 MB, free: 9.422 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.005575, allocations: 8 kB / 249.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.005579, allocations: 0 / 249.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.005591, allocations: 0 / 249.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.148e-05/0.005643, allocations: 8.125 kB / 249.2 MB, free: 9.406 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.005646, allocations: 0 / 249.2 MB, free: 9.406 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.658e-05/0.005663, allocations: 7.984 kB / 249.3 MB, free: 9.398 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.005669, allocations: 0 / 249.3 MB, free: 9.398 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 5.669e-05/0.005726, allocations: 112.7 kB / 249.4 MB, free: 9.277 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.005764, allocations: 57.56 kB / 249.4 MB, free: 9.215 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.005791, allocations: 11.97 kB / 249.4 MB, free: 9.203 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.005792, allocations: 0 / 249.4 MB, free: 9.203 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.005794, allocations: 0 / 249.4 MB, free: 9.203 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.0058, allocations: 7.984 kB / 249.4 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.93e-05/0.005889, allocations: 77.94 kB / 249.5 MB, free: 9.102 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.005891, allocations: 4 kB / 249.5 MB, free: 9.098 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.959e-05/0.005921, allocations: 11.94 kB / 249.5 MB, free: 9.086 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.005952, allocations: 27.77 kB / 249.6 MB, free: 9.059 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.005953, allocations: 0 / 249.6 MB, free: 9.059 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.005959, allocations: 8 kB / 249.6 MB, free: 9.051 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.005959, allocations: 0 / 249.6 MB, free: 9.051 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.005961, allocations: 0 / 249.6 MB, free: 9.051 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.908e-05/0.00604, allocations: 154.1 kB / 249.7 MB, free: 8.875 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.006052, allocations: 11.95 kB / 249.7 MB, free: 8.863 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.488e-05/0.006087, allocations: 8 kB / 249.7 MB, free: 8.855 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.00611, allocations: 0 / 249.7 MB, free: 8.855 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.006114, allocations: 4 kB / 249.7 MB, free: 8.852 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.542e-05/0.006139, allocations: 24.83 kB / 249.8 MB, free: 8.824 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006139, allocations: 4 kB / 249.8 MB, free: 8.82 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001135/0.006252, allocations: 4 kB / 249.8 MB, free: 8.816 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.034e-05/0.006323, allocations: 87.78 kB / 249.9 MB, free: 8.723 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.669e-05/0.006389, allocations: 24.83 kB / 249.9 MB, free: 8.695 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.006394, allocations: 4 kB / 249.9 MB, free: 8.691 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.786e-05/0.006412, allocations: 12.84 kB / 249.9 MB, free: 8.676 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.006646, allocations: 162.5 kB / 250.1 MB, free: 8.496 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006167/0.007263, allocations: 208.2 kB / 250.3 MB, free: 8.258 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.748e-05/0.0073, allocations: 67.34 kB / 250.3 MB, free: 8.172 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.089e-05/0.007321, allocations: 8.531 kB / 250.3 MB, free: 8.164 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.531e-05/0.007376, allocations: 59.36 kB / 250.4 MB, free: 8.105 MB / 250.7 MB Notification: Performance of SimCode: time 6.51e-07/0.007377, allocations: 0 / 250.4 MB, free: 8.105 MB / 250.7 MB Notification: Performance of Templates: time 0.002177/0.009554, allocations: 0.8162 MB / 251.2 MB, free: 7.312 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.473781080916524]