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.001475/0.001475, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.001619/0.001619, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 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 1.044/1.044, allocations: 177 MB / 204.8 MB, free: 5.594 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 2.274e-06/2.274e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.18e-05/3.407e-05, allocations: 5.266 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003349/0.003383, allocations: 1.661 MB / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.004565, allocations: 0.5647 MB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.004674, allocations: 4 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.81e-05/0.004742, allocations: 7.875 kB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.004933, allocations: 15.84 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.005358, allocations: 63.75 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.005467, allocations: 47.8 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.005573, allocations: 19.97 kB / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.005703, allocations: 35.91 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.343e-05/0.005757, allocations: 19.91 kB / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.005774, allocations: 8 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.067e-05/0.005815, allocations: 11.94 kB / 275.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.679e-05/0.005862, allocations: 19.92 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.005888, allocations: 11.94 kB / 275.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.006038, allocations: 59.67 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.00604, allocations: 0 / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006041, allocations: 4 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.006047, allocations: 0 / 275.5 MB, free: 14.88 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.0004786/0.006525, allocations: 412.2 kB / 275.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.006568, allocations: 11.98 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.006701, allocations: 24.88 kB / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.006886, allocations: 160.9 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.006895, allocations: 4.375 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.006908, allocations: 4.375 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.007159, allocations: 149 kB / 276.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.00717, allocations: 3.938 kB / 276.2 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.007179, allocations: 4 kB / 276.2 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.007186, allocations: 4 kB / 276.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.718e-05/0.007213, allocations: 11.92 kB / 276.2 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.007577, allocations: 294.8 kB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.119e-05/0.007669, allocations: 116.4 kB / 276.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.00771, allocations: 50.73 kB / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.007732, allocations: 0 / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.007756, allocations: 49.33 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.007757, allocations: 0 / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001787/0.007936, allocations: 73.52 kB / 276.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.007998, allocations: 140.5 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.008108, allocations: 197.3 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.008121, allocations: 29.7 kB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.00817, allocations: 138.9 kB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.008188, allocations: 8.453 kB / 277.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.008228, allocations: 27.33 kB / 277.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.008349, allocations: 0.4922 MB / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.008362, allocations: 0 / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.878e-05/0.008381, allocations: 19.38 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.679e-05/0.008418, allocations: 27.31 kB / 277.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.00842, allocations: 0 / 277.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.188e-05/0.008482, allocations: 45.62 kB / 277.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.008496, allocations: 6.812 kB / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.008501, allocations: 4.125 kB / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.008517, allocations: 4 kB / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.556e-05/0.008582, allocations: 8 kB / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.008589, allocations: 0 / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/0.008609, allocations: 11.88 kB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.008615, allocations: 4 kB / 278 MB, free: 12.06 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.0001472/0.008763, allocations: 156.5 kB / 278.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.008824, allocations: 57.58 kB / 278.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/0.008854, allocations: 11.97 kB / 278.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.008857, allocations: 8.062 kB / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.008861, allocations: 0 / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.008864, allocations: 0 / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.00898, allocations: 136.5 kB / 278.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.008983, allocations: 4 kB / 278.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.00902, allocations: 12 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.009023, allocations: 3.938 kB / 278.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.009032, allocations: 11.98 kB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.009034, allocations: 0 / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.009037, allocations: 3.938 kB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.009174, allocations: 242.9 kB / 278.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.481e-05/0.009209, allocations: 19.94 kB / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.00922, allocations: 0 / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.508e-05/0.009255, allocations: 4 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.009288, allocations: 3.984 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.009293, allocations: 4 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.721e-05/0.00935, allocations: 147.2 kB / 278.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.00935, allocations: 0 / 278.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001441/0.009494, allocations: 7.953 kB / 278.8 MB, free: 11.16 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.324e-05/0.009588, allocations: 107.2 kB / 278.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.535e-05/0.009683, allocations: 23.62 kB / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.009685, allocations: 0 / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.505e-05/0.0097, allocations: 15.62 kB / 278.9 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.009991, allocations: 33.98 kB / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006033/0.01059, allocations: 208.1 kB / 279.2 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.29e-05/0.01065, allocations: 67.34 kB / 279.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.047e-05/0.01068, allocations: 3.984 kB / 279.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.01072, allocations: 16.48 kB / 279.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of SimCode: time 1.262e-06/0.01072, allocations: 0 / 279.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of Templates: time 0.003582/0.0143, allocations: 0.7529 MB / 280 MB, free: 9.875 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.8483976717107]