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.001412/0.001412, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.001447/0.001447, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 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 1.466/1.466, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] 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 2.083e-06/2.083e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.684e-05/3.892e-05, allocations: 6.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.005759/0.005798, allocations: 1.604 MB / 268.9 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.007694, allocations: 490.4 kB / 269.4 MB, free: 4.613 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.007806, allocations: 3.938 kB / 269.4 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.648e-05/0.007883, allocations: 7.922 kB / 269.4 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.008069, allocations: 11.88 kB / 269.4 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000511/0.00858, allocations: 59.69 kB / 269.5 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.008785, allocations: 55.78 kB / 269.6 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.008913, allocations: 11.98 kB / 269.6 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.009075, allocations: 31.91 kB / 269.6 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.775e-05/0.009162, allocations: 27.91 kB / 269.6 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.009191, allocations: 4 kB / 269.6 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.325e-05/0.009214, allocations: 4 kB / 269.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.011e-05/0.009294, allocations: 11.98 kB / 269.6 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.165e-05/0.009356, allocations: 23.86 kB / 269.7 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.00959, allocations: 59.73 kB / 269.7 MB, free: 4.305 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.009596, allocations: 0 / 269.7 MB, free: 4.305 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.009598, allocations: 0 / 269.7 MB, free: 4.305 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.009604, allocations: 0 / 269.7 MB, free: 4.305 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.0008215/0.01043, allocations: 313.9 kB / 270 MB, free: 3.969 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.01048, allocations: 12.92 kB / 270 MB, free: 3.957 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/0.01056, allocations: 12.89 kB / 270.1 MB, free: 3.945 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.011, allocations: 154.1 kB / 270.2 MB, free: 3.77 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.01102, allocations: 384 / 270.2 MB, free: 3.77 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.01104, allocations: 8.375 kB / 270.2 MB, free: 3.762 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005661/0.01161, allocations: 127.2 kB / 270.3 MB, free: 3.613 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.01163, allocations: 3.938 kB / 270.3 MB, free: 3.609 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.01164, allocations: 8 kB / 270.4 MB, free: 3.602 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.01165, allocations: 0 / 270.4 MB, free: 3.602 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.01185, allocations: 31.91 kB / 270.4 MB, free: 3.57 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005759/0.01243, allocations: 227.1 kB / 270.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.01273, allocations: 90.42 kB / 270.7 MB, free: 3.184 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.01292, allocations: 43.42 kB / 270.7 MB, free: 3.129 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.061e-05/0.01296, allocations: 12 kB / 270.8 MB, free: 3.117 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.449e-05/0.01303, allocations: 38.5 kB / 270.8 MB, free: 3.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.774e-06/0.01304, allocations: 0 / 270.8 MB, free: 3.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005819/0.01362, allocations: 105.4 kB / 270.9 MB, free: 2.961 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/0.01379, allocations: 136.5 kB / 271 MB, free: 2.797 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.01406, allocations: 145.8 kB / 271.2 MB, free: 2.645 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.0141, allocations: 26.2 kB / 271.2 MB, free: 2.613 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.882e-05/0.0142, allocations: 88.14 kB / 271.3 MB, free: 2.523 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.01424, allocations: 11.95 kB / 271.3 MB, free: 2.512 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.937e-05/0.01431, allocations: 21.7 kB / 271.3 MB, free: 2.484 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004051/0.01471, allocations: 318.8 kB / 271.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.343e-05/0.01479, allocations: 11.98 kB / 271.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.01507, allocations: 17.72 kB / 271.7 MB, free: 2.129 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.01525, allocations: 33.64 kB / 271.7 MB, free: 2.09 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01525, allocations: 0 / 271.7 MB, free: 2.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002567/0.01551, allocations: 65.64 kB / 271.7 MB, free: 2.02 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.01553, allocations: 7.984 kB / 271.8 MB, free: 2.012 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01554, allocations: 0 / 271.8 MB, free: 2.012 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.213e-05/0.01557, allocations: 3.984 kB / 271.8 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.01567, allocations: 4 kB / 271.8 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.01569, allocations: 4 kB / 271.8 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.751e-05/0.01576, allocations: 0 / 271.8 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.01577, allocations: 0 / 271.8 MB, free: 2 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 0.0001868/0.01596, allocations: 129.8 kB / 271.9 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.01615, allocations: 61.58 kB / 272 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.056e-05/0.01621, allocations: 11.97 kB / 272 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.01622, allocations: 4 kB / 272 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.01623, allocations: 3.938 kB / 272 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.01623, allocations: 0 / 272 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.01655, allocations: 125.2 kB / 272.1 MB, free: 1.621 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.01656, allocations: 4 kB / 272.1 MB, free: 1.617 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.01671, allocations: 11.98 kB / 272.1 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.01672, allocations: 4 kB / 272.1 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.01674, allocations: 8.062 kB / 272.1 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.01674, allocations: 0 / 272.1 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.01675, allocations: 4 kB / 272.1 MB, free: 1.59 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004426/0.01719, allocations: 197.9 kB / 272.3 MB, free: 1.371 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-05/0.01727, allocations: 19.89 kB / 272.3 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.0173, allocations: 8 kB / 272.3 MB, free: 1.344 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.01745, allocations: 0 / 272.3 MB, free: 1.344 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.0175, allocations: 7.984 kB / 272.4 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.01751, allocations: 0 / 272.4 MB, free: 1.336 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001677/0.01768, allocations: 114.3 kB / 272.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.01768, allocations: 0 / 272.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004493/0.01813, allocations: 12 kB / 272.5 MB, free: 1.215 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 0.00018/0.01831, allocations: 103.1 kB / 272.6 MB, free: 1.105 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.01857, allocations: 31.92 kB / 272.6 MB, free: 1.074 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.01857, allocations: 0 / 272.6 MB, free: 1.074 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.01868, allocations: 19.92 kB / 272.6 MB, free: 1.055 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006921/0.01937, allocations: 32.2 kB / 272.7 MB, free: 1.023 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007475/0.02012, allocations: 201.5 kB / 272.9 MB, free: 0.793 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.02028, allocations: 83.31 kB / 272.9 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.02e-05/0.02033, allocations: 0 / 272.9 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.02039, allocations: 12.5 kB / 273 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of SimCode: time 8.31e-07/0.02039, allocations: 0 / 273 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of Templates: time 0.006286/0.02667, allocations: 0.7549 MB / 273.7 MB, free: 15.94 MB / 266.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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: 4.430684131919406]