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.001033/0.001033, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.0009096/0.0009096, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 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.9897/0.9897, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.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 2.084e-06/2.084e-06, allocations: 0 / 273.5 MB, free: 1.121 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.39e-05, allocations: 5.969 kB / 273.5 MB, free: 1.117 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002892/0.002916, allocations: 1.709 MB / 275.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009149/0.003831, allocations: 0.5684 MB / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.081e-05/0.003922, allocations: 4 kB / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.438e-05/0.003976, allocations: 15.86 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.004117, allocations: 15.88 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.004373, allocations: 59.73 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.9e-05/0.004472, allocations: 55.78 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.734e-05/0.004549, allocations: 12 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.004667, allocations: 43.83 kB / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.312e-05/0.00472, allocations: 15.92 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.004737, allocations: 4 kB / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.423e-05/0.004791, allocations: 11.98 kB / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.919e-05/0.00483, allocations: 19.92 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.133e-05/0.004851, allocations: 15.94 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.004977, allocations: 55.75 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.004979, allocations: 0 / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00498, allocations: 0 / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.004984, allocations: 0 / 276.1 MB, free: 14.5 MB / 266.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.0003194/0.005303, allocations: 284.5 kB / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.005338, allocations: 8.031 kB / 276.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.895e-05/0.005437, allocations: 24.84 kB / 276.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.005595, allocations: 154.2 kB / 276.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.005603, allocations: 4.375 kB / 276.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.005612, allocations: 8.375 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.005782, allocations: 127.9 kB / 276.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.005789, allocations: 3.938 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.005797, allocations: 0 / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.005803, allocations: 4 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.991e-05/0.005823, allocations: 19.92 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.006022, allocations: 158.9 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.603e-05/0.006088, allocations: 86.34 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.006117, allocations: 31.5 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.006134, allocations: 7.984 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.006158, allocations: 42.5 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.006159, allocations: 0 / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000119/0.006278, allocations: 61.56 kB / 277.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.006341, allocations: 140.5 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.379e-05/0.006425, allocations: 145.8 kB / 277.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.006436, allocations: 25.7 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.006472, allocations: 88.12 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.006489, allocations: 11.89 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.006515, allocations: 17.7 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.574e-05/0.006601, allocations: 323.3 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-06/0.006608, allocations: 4 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.45e-05/0.006622, allocations: 13.72 kB / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.006646, allocations: 13.72 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.006647, allocations: 0 / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.534e-05/0.006693, allocations: 45.56 kB / 277.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.006704, allocations: 8 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.006708, allocations: 0 / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.006719, allocations: 0 / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.013e-05/0.00677, allocations: 12.11 kB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.006773, allocations: 0 / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.00679, allocations: 4 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.006795, allocations: 0 / 277.9 MB, free: 12.41 MB / 266.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.529e-05/0.00686, allocations: 116.7 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.006908, allocations: 53.56 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.006935, allocations: 15.95 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.006938, allocations: 0 / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.00694, allocations: 0 / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.006944, allocations: 8.062 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.782e-05/0.007042, allocations: 81.83 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.007045, allocations: 4 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.408e-05/0.007079, allocations: 19.92 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.007084, allocations: 7.938 kB / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.007091, allocations: 4 kB / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007092, allocations: 0 / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.007093, allocations: 0 / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.643e-05/0.007179, allocations: 150.1 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.917e-05/0.007208, allocations: 15.94 kB / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.007221, allocations: 11.97 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.168e-05/0.007253, allocations: 0 / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.007283, allocations: 7.938 kB / 278.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.007287, allocations: 3.938 kB / 278.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.913e-05/0.007316, allocations: 32.81 kB / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007316, allocations: 0 / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000121/0.007437, allocations: 12 kB / 278.5 MB, free: 11.82 MB / 266.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.57e-05/0.007512, allocations: 76.42 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.318e-05/0.007576, allocations: 20.8 kB / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.007578, allocations: 0 / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.527e-05/0.007593, allocations: 16.84 kB / 278.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.0078, allocations: 33.02 kB / 278.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.008184, allocations: 200.3 kB / 278.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.314e-05/0.008228, allocations: 67.34 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.44e-05/0.008252, allocations: 12.41 kB / 278.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.369e-05/0.008306, allocations: 59.38 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of SimCode: time 3.7e-07/0.008306, allocations: 0 / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of Templates: time 0.00231/0.01062, allocations: 0.8063 MB / 279.8 MB, free: 10.48 MB / 266.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.658217841293663]