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.001416/0.001416, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.002088/0.002088, allocations: 163.4 kB / 24.91 MB, free: 8.715 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 1.092/1.092, allocations: 177 MB / 205.2 MB, free: 5.062 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.384e-06/2.384e-06, allocations: 0 / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.412e-05/3.651e-05, allocations: 5.266 kB / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003522/0.003558, allocations: 1.662 MB / 275.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.004649, allocations: 0.5684 MB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.973e-05/0.004749, allocations: 3.938 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.776e-05/0.004817, allocations: 11.86 kB / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.004965, allocations: 11.92 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.005293, allocations: 67.69 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.005414, allocations: 59.78 kB / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.78e-05/0.005501, allocations: 11.98 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.005661, allocations: 43.83 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.042e-05/0.005721, allocations: 19.92 kB / 275.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.005739, allocations: 4 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.114e-05/0.00578, allocations: 7.984 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.208e-05/0.005822, allocations: 11.94 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.00585, allocations: 23.91 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.005986, allocations: 47.77 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.005989, allocations: 4 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.00599, allocations: 0 / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.005994, allocations: 0 / 275.9 MB, free: 14.5 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.000406/0.0064, allocations: 296.4 kB / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.006439, allocations: 15.98 kB / 276.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.006583, allocations: 12.92 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.00677, allocations: 146.2 kB / 276.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.00678, allocations: 384 / 276.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.006792, allocations: 8.375 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.007012, allocations: 131.9 kB / 276.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.007021, allocations: 3.938 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.00703, allocations: 4 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.007039, allocations: 0 / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.54e-05/0.007064, allocations: 15.92 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.007299, allocations: 166.9 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.063e-05/0.00738, allocations: 78.34 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/0.007416, allocations: 39.55 kB / 276.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.007435, allocations: 4 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.007601, allocations: 38.5 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.007603, allocations: 0 / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001625/0.007765, allocations: 69.95 kB / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.007831, allocations: 132.6 kB / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.606e-05/0.007927, allocations: 143.8 kB / 277.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.007939, allocations: 25.7 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.007977, allocations: 96.05 kB / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.007996, allocations: 7.891 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.008027, allocations: 13.72 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.008115, allocations: 322.8 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.008127, allocations: 0 / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.156e-05/0.008148, allocations: 25.66 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.475e-05/0.008183, allocations: 17.78 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.008185, allocations: 0 / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.976e-05/0.008255, allocations: 45.56 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.008267, allocations: 8 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.008274, allocations: 0 / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.008287, allocations: 0 / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.97e-05/0.008347, allocations: 7.984 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.008349, allocations: 0 / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.526e-05/0.008375, allocations: 4 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.00838, allocations: 4.062 kB / 277.8 MB, free: 12.41 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 6.928e-05/0.00845, allocations: 116.7 kB / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.009e-05/0.00852, allocations: 53.56 kB / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.008548, allocations: 15.95 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.00855, allocations: 0 / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.008552, allocations: 0 / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.008556, allocations: 4 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.008698, allocations: 77.83 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.008703, allocations: 4 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.917e-05/0.008752, allocations: 19.98 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.008756, allocations: 3.938 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.008763, allocations: 4 kB / 278.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.008765, allocations: 0 / 278.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.008767, allocations: 0 / 278.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.008877, allocations: 158.1 kB / 278.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.008919, allocations: 15.94 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.008934, allocations: 7.875 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.009001, allocations: 4 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.009031, allocations: 7.984 kB / 278.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-06/0.009037, allocations: 8.031 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.334e-05/0.009071, allocations: 32.38 kB / 278.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009071, allocations: 0 / 278.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002153/0.009286, allocations: 8 kB / 278.3 MB, free: 11.82 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 0.0001027/0.009389, allocations: 76.42 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.368e-05/0.009463, allocations: 20.8 kB / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.009466, allocations: 0 / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.599e-05/0.009482, allocations: 16.97 kB / 278.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.009757, allocations: 48.95 kB / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004998/0.01026, allocations: 208.2 kB / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.735e-05/0.0103, allocations: 63.34 kB / 278.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.97e-05/0.01033, allocations: 3.984 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.0104, allocations: 55.38 kB / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.0104, allocations: 4.188 kB / 278.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of Templates: time 0.002958/0.01336, allocations: 0.7969 MB / 279.6 MB, free: 10.48 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: 3.0098252235911787]