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.001428/0.001428, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001589/0.001589, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9458/0.9458, allocations: 177.1 MB / 206.1 MB, free: 4.477 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 1.472e-06/1.472e-06, allocations: 0 / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.852e-05, allocations: 2.312 kB / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002317/0.002335, allocations: 1.65 MB / 275.9 MB, free: 2.742 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008299/0.003165, allocations: 0.5547 MB / 276.4 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.978e-05/0.003255, allocations: 7.938 kB / 276.4 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.316e-05/0.003308, allocations: 9.812 kB / 276.4 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.003452, allocations: 15.86 kB / 276.4 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.003714, allocations: 59.75 kB / 276.5 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.003817, allocations: 55.78 kB / 276.6 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.312e-05/0.00391, allocations: 15.98 kB / 276.6 MB, free: 2.023 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.004043, allocations: 44.39 kB / 276.6 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.171e-05/0.004094, allocations: 16.58 kB / 276.6 MB, free: 1.965 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.00411, allocations: 6.25 kB / 276.6 MB, free: 1.961 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.862e-05/0.004149, allocations: 8 kB / 276.6 MB, free: 1.953 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.383e-05/0.004193, allocations: 19.91 kB / 276.7 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.191e-05/0.004215, allocations: 15.94 kB / 276.7 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.004337, allocations: 59.69 kB / 276.7 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.004339, allocations: 0 / 276.7 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.00434, allocations: 4 kB / 276.7 MB, free: 1.855 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.004344, allocations: 0 / 276.7 MB, free: 1.855 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.0003855/0.00473, allocations: 412.2 kB / 277.1 MB, free: 1.418 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.004764, allocations: 8.031 kB / 277.2 MB, free: 1.41 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.004877, allocations: 20.88 kB / 277.2 MB, free: 1.391 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.005047, allocations: 156.9 kB / 277.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.005058, allocations: 4.375 kB / 277.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.005065, allocations: 4.375 kB / 277.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.005251, allocations: 149 kB / 277.5 MB, free: 1.023 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.00526, allocations: 3.938 kB / 277.5 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.005266, allocations: 0 / 277.5 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.005272, allocations: 0 / 277.5 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.104e-05/0.005293, allocations: 15.92 kB / 277.5 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.005522, allocations: 263.5 kB / 277.8 MB, free: 0.707 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.973e-05/0.005602, allocations: 120.2 kB / 277.9 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.115e-05/0.005633, allocations: 42.92 kB / 277.9 MB, free: 492 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.005649, allocations: 8 kB / 277.9 MB, free: 484 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.005674, allocations: 49.2 kB / 278 MB, free: 424 kB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.005675, allocations: 0 / 278 MB, free: 424 kB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001456/0.005821, allocations: 73.5 kB / 278 MB, free: 344 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.005877, allocations: 137 kB / 278.2 MB, free: 176 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.005987, allocations: 203.9 kB / 278.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.005998, allocations: 29.7 kB / 278.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.006042, allocations: 130.9 kB / 278.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.006057, allocations: 11.94 kB / 278.5 MB, free: 15.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.006085, allocations: 23.33 kB / 278.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.006191, allocations: 496.1 kB / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.555e-06/0.006199, allocations: 4 kB / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.58e-05/0.006215, allocations: 19.36 kB / 279.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.985e-05/0.006245, allocations: 35.36 kB / 279.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.006247, allocations: 3.938 kB / 279.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.015e-05/0.006298, allocations: 41.64 kB / 279.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.006309, allocations: 8 kB / 279.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.006313, allocations: 0 / 279.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.006321, allocations: 0 / 279.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.247e-05/0.006363, allocations: 7.984 kB / 279.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.564e-06/0.006366, allocations: 0 / 279.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.006384, allocations: 7.938 kB / 279.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.00639, allocations: 3.984 kB / 279.2 MB, free: 15.1 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 0.0003353/0.006725, allocations: 160.6 kB / 279.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/0.006777, allocations: 65.52 kB / 279.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.0068, allocations: 11.97 kB / 279.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.006803, allocations: 4 kB / 279.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.006804, allocations: 0 / 279.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.006807, allocations: 0 / 279.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.006922, allocations: 113.2 kB / 279.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.006924, allocations: 3.984 kB / 279.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.006954, allocations: 12 kB / 279.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.006956, allocations: 8 kB / 279.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-06/0.006961, allocations: 0 / 279.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.006964, allocations: 8 kB / 279.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006964, allocations: 0 / 279.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.921e-05/0.007064, allocations: 222.9 kB / 279.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.007088, allocations: 19.81 kB / 279.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.007099, allocations: 4 kB / 279.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.454e-05/0.007134, allocations: 4 kB / 279.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.007157, allocations: 7.984 kB / 279.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.007159, allocations: 0 / 279.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.643e-05/0.007206, allocations: 150.4 kB / 280 MB, free: 14.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007206, allocations: 0 / 280 MB, free: 14.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001455/0.007351, allocations: 8 kB / 280 MB, free: 14.24 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 6.543e-05/0.007417, allocations: 103.2 kB / 280.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.422e-05/0.007481, allocations: 19.69 kB / 280.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.21e-07/0.007482, allocations: 0 / 280.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.625e-05/0.007498, allocations: 23.61 kB / 280.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.007741, allocations: 29.42 kB / 280.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.00813, allocations: 211.6 kB / 280.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.771e-05/0.008168, allocations: 67.34 kB / 280.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.272e-05/0.00819, allocations: 3.984 kB / 280.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.008244, allocations: 78.2 kB / 280.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.008245, allocations: 0 / 280.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of Templates: time 0.002255/0.0105, allocations: 0.8258 MB / 281.3 MB, free: 12.82 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 -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.6674670800566673]