Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001408/0.001408, allocations: 85.8 kB / 21.42 MB, free: 3.066 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 166.3 kB / 24.82 MB, free: 8.754 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9671/0.9671, allocations: 177 MB / 205.1 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.775e-05, allocations: 2.312 kB / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.005702/0.00573, allocations: 1.661 MB / 275 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009145/0.006644, allocations: 0.553 MB / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.244e-05/0.006737, allocations: 7.938 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.865e-05/0.006785, allocations: 11.86 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.006915, allocations: 7.938 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003338/0.01025, allocations: 67.67 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.01038, allocations: 59.78 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.285e-05/0.01047, allocations: 11.94 kB / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.01062, allocations: 39.89 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.144e-05/0.01067, allocations: 19.92 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.01069, allocations: 4 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.073e-05/0.01073, allocations: 11.98 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.931e-05/0.01077, allocations: 15.92 kB / 275.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.01079, allocations: 19.92 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.01093, allocations: 47.77 kB / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.01093, allocations: 0 / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01093, allocations: 0 / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.01094, allocations: 3.938 kB / 275.9 MB, free: 14.65 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.0005493/0.01149, allocations: 420.2 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.01153, allocations: 19.97 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.01165, allocations: 16.89 kB / 276.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.01182, allocations: 153 kB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.01183, allocations: 4.375 kB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.01184, allocations: 8.375 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.01204, allocations: 144.9 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.01204, allocations: 3.938 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.01205, allocations: 0 / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.01206, allocations: 4 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.618e-05/0.01208, allocations: 15.94 kB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002603/0.01234, allocations: 267.5 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.023e-05/0.01243, allocations: 120.3 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.01247, allocations: 38.81 kB / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.01249, allocations: 0 / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.01251, allocations: 49.31 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.01251, allocations: 4 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001676/0.01268, allocations: 73.52 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.01274, allocations: 136.5 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.01285, allocations: 205.2 kB / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.01286, allocations: 25.7 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.01291, allocations: 134.9 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.01293, allocations: 7.953 kB / 277.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.01297, allocations: 27.81 kB / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.003145/0.01611, allocations: 0.4923 MB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/0.01613, allocations: 0 / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.01615, allocations: 27.3 kB / 278.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.674e-05/0.01618, allocations: 19.38 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.01619, allocations: 3.938 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.103e-05/0.01626, allocations: 45.64 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.01627, allocations: 6.656 kB / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01628, allocations: 4.109 kB / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.01629, allocations: 4 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.512e-05/0.01635, allocations: 4 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-06/0.01635, allocations: 4 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.633e-05/0.01637, allocations: 7.891 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.01638, allocations: 0 / 278.3 MB, free: 11.88 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 7.53e-05/0.01646, allocations: 164.5 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/0.01652, allocations: 53.64 kB / 278.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.01655, allocations: 11.97 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.01656, allocations: 3.984 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01656, allocations: 12.05 kB / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01657, allocations: 0 / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.01671, allocations: 109.2 kB / 278.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.01671, allocations: 7.938 kB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.01675, allocations: 8 kB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.01676, allocations: 7.938 kB / 278.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.01676, allocations: 7.984 kB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01676, allocations: 0 / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.01677, allocations: 4 kB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.01688, allocations: 214.9 kB / 278.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.01693, allocations: 23.88 kB / 278.9 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.01694, allocations: 0 / 278.9 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.753e-05/0.01699, allocations: 7.984 kB / 278.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.01702, allocations: 0 / 278.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.01702, allocations: 8 kB / 279 MB, free: 11.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.723e-05/0.01708, allocations: 143.1 kB / 279.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01708, allocations: 4 kB / 279.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000214/0.01729, allocations: 4 kB / 279.1 MB, free: 11.03 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 9.97e-05/0.01739, allocations: 99.28 kB / 279.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.107e-05/0.01747, allocations: 27.61 kB / 279.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01747, allocations: 0 / 279.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.761e-05/0.01748, allocations: 19.61 kB / 279.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.0178, allocations: 36.95 kB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004811/0.01829, allocations: 204.1 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.825e-05/0.01833, allocations: 75.27 kB / 279.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.134e-05/0.01837, allocations: 4 kB / 279.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.056e-05/0.01844, allocations: 82.19 kB / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01844, allocations: 0 / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of Templates: time 0.002807/0.02124, allocations: 0.8248 MB / 280.5 MB, free: 9.605 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.6145409857854247]