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.001145/0.001145, allocations: 83.89 kB / 21.19 MB, free: 3.383 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.001152/0.001152, allocations: 145.1 kB / 24.54 MB, free: 32 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 0.9969/0.9969, allocations: 173.3 MB / 201.1 MB, free: 9.344 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 2.374e-06/2.374e-06, allocations: 4 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.913e-05, allocations: 6.25 kB / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.001953/0.001972, allocations: 1.643 MB / 269.7 MB, free: 4.766 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007092/0.002682, allocations: 0.4907 MB / 270.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.851e-05/0.00277, allocations: 3.938 kB / 270.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.984e-05/0.00282, allocations: 7.938 kB / 270.2 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.00296, allocations: 15.86 kB / 270.2 MB, free: 4.242 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.003206, allocations: 59.69 kB / 270.2 MB, free: 4.184 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.879e-05/0.003304, allocations: 47.8 kB / 270.3 MB, free: 4.137 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/0.003404, allocations: 11.98 kB / 270.3 MB, free: 4.125 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.598e-05/0.00349, allocations: 47.83 kB / 270.3 MB, free: 4.078 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.379e-05/0.003544, allocations: 11.98 kB / 270.3 MB, free: 4.066 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.003565, allocations: 4 kB / 270.4 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/0.003579, allocations: 7.938 kB / 270.4 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.215e-05/0.003631, allocations: 11.98 kB / 270.4 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.003662, allocations: 19.92 kB / 270.4 MB, free: 4.023 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.003777, allocations: 47.7 kB / 270.4 MB, free: 3.977 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003779, allocations: 0 / 270.4 MB, free: 3.977 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00378, allocations: 4 kB / 270.4 MB, free: 3.973 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.82e-06/0.003784, allocations: 0 / 270.4 MB, free: 3.973 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.0003909/0.004175, allocations: 408.2 kB / 270.8 MB, free: 3.539 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.004212, allocations: 16.92 kB / 270.9 MB, free: 3.523 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.004249, allocations: 8.891 kB / 270.9 MB, free: 3.516 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.004407, allocations: 149 kB / 271 MB, free: 3.344 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.004417, allocations: 4.375 kB / 271 MB, free: 3.34 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.00443, allocations: 4.375 kB / 271 MB, free: 3.336 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.004688, allocations: 149 kB / 271.2 MB, free: 3.156 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.004701, allocations: 11.88 kB / 271.2 MB, free: 3.145 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.00471, allocations: 3.938 kB / 271.2 MB, free: 3.141 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.004719, allocations: 4 kB / 271.2 MB, free: 3.137 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.634e-05/0.004745, allocations: 7.984 kB / 271.2 MB, free: 3.129 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.005033, allocations: 306.8 kB / 271.5 MB, free: 2.781 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.071e-05/0.005124, allocations: 120.4 kB / 271.6 MB, free: 2.613 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.999e-05/0.005164, allocations: 42.75 kB / 271.6 MB, free: 2.555 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.005186, allocations: 11.92 kB / 271.7 MB, free: 2.543 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.005206, allocations: 41.39 kB / 271.7 MB, free: 2.492 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.005207, allocations: 0 / 271.7 MB, free: 2.492 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001662/0.005373, allocations: 77.52 kB / 271.8 MB, free: 2.41 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.005431, allocations: 132.5 kB / 271.9 MB, free: 2.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.005536, allocations: 200.9 kB / 272.1 MB, free: 2.039 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.005548, allocations: 25.7 kB / 272.1 MB, free: 2.008 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.005597, allocations: 139.4 kB / 272.3 MB, free: 1.867 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.005615, allocations: 7.938 kB / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.005642, allocations: 27.38 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.005771, allocations: 0.4883 MB / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/0.005785, allocations: 0 / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.481e-05/0.00581, allocations: 27.3 kB / 272.8 MB, free: 1.289 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.103e-05/0.005841, allocations: 23.38 kB / 272.8 MB, free: 1.258 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.005843, allocations: 0 / 272.8 MB, free: 1.258 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.627e-05/0.0059, allocations: 41.59 kB / 272.9 MB, free: 1.211 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.005914, allocations: 18.92 kB / 272.9 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.005919, allocations: 0 / 272.9 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.005935, allocations: 0 / 272.9 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.668e-05/0.005992, allocations: 4 kB / 272.9 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.005998, allocations: 0 / 272.9 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.00602, allocations: 4 kB / 272.9 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.006028, allocations: 4 kB / 272.9 MB, free: 1.184 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.99e-05/0.006098, allocations: 160.5 kB / 273.1 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.006154, allocations: 57.58 kB / 273.1 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.006187, allocations: 16.02 kB / 273.1 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.006189, allocations: 4 kB / 273.1 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.006194, allocations: 0 / 273.1 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.006197, allocations: 4 kB / 273.1 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.00631, allocations: 140.5 kB / 273.3 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006311, allocations: 0 / 273.3 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.006345, allocations: 11.98 kB / 273.3 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.006346, allocations: 4 kB / 273.3 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.006353, allocations: 0 / 273.3 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.006356, allocations: 7.938 kB / 273.3 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.006357, allocations: 0 / 273.3 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.006484, allocations: 254.9 kB / 273.6 MB, free: 460 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.006512, allocations: 15.84 kB / 273.6 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.006527, allocations: 11.98 kB / 273.6 MB, free: 432 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.256e-05/0.00656, allocations: 0 / 273.6 MB, free: 432 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.00659, allocations: 4 kB / 273.6 MB, free: 428 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.006593, allocations: 3.938 kB / 273.6 MB, free: 424 kB / 250.7 MB Notification: Performance of sorting global known variables: time 5.351e-05/0.006647, allocations: 154.2 kB / 273.7 MB, free: 272 kB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006647, allocations: 0 / 273.7 MB, free: 272 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001418/0.006789, allocations: 8 kB / 273.7 MB, free: 264 kB / 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.029e-05/0.006859, allocations: 95.25 kB / 273.8 MB, free: 160 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.006959, allocations: 35.55 kB / 273.9 MB, free: 120 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.00696, allocations: 0 / 273.9 MB, free: 120 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.47e-05/0.006975, allocations: 11.69 kB / 273.9 MB, free: 104 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.007226, allocations: 29 kB / 273.9 MB, free: 72 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.007704, allocations: 208.1 kB / 274.1 MB, free: 15.83 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.75e-05/0.007752, allocations: 71.34 kB / 274.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.104e-05/0.007773, allocations: 4 kB / 274.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.007798, allocations: 8.5 kB / 274.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007799, allocations: 0 / 274.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of Templates: time 0.002328/0.01013, allocations: 0.7631 MB / 275 MB, free: 14.98 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=240 -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: 3.021449497435242]