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.0009518/0.0009518, 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.0009013/0.0009013, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.062/1.062, allocations: 177 MB / 205.2 MB, free: 5.051 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.473e-06/1.473e-06, allocations: 0 / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.398e-05, allocations: 5.266 kB / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002844/0.002868, allocations: 1.697 MB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007389/0.003607, allocations: 0.5723 MB / 275.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.725e-05/0.003684, allocations: 4 kB / 275.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.471e-05/0.003729, allocations: 11.86 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.003859, allocations: 11.86 kB / 275.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.004088, allocations: 63.75 kB / 275.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.401e-05/0.004182, allocations: 55.78 kB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.762e-05/0.004259, allocations: 19.98 kB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.004378, allocations: 35.84 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.527e-05/0.004433, allocations: 27.89 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.004447, allocations: 4 kB / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.65e-05/0.004494, allocations: 8 kB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.004529, allocations: 11.94 kB / 276 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.004549, allocations: 19.91 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.00466, allocations: 51.77 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.004662, allocations: 0 / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.004662, allocations: 0 / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.004666, allocations: 4 kB / 276 MB, free: 14.4 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.0002806/0.004947, allocations: 288.5 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.004977, allocations: 11.98 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.591e-05/0.005073, allocations: 16.92 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.005217, allocations: 150.1 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.005225, allocations: 4.375 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.005231, allocations: 384 / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.005394, allocations: 136 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.005401, allocations: 3.938 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.005408, allocations: 3.938 kB / 276.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.005412, allocations: 4 kB / 276.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.864e-05/0.005431, allocations: 11.98 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.005609, allocations: 174.8 kB / 276.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.786e-05/0.005666, allocations: 78.38 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/0.005693, allocations: 35.55 kB / 276.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.005707, allocations: 4 kB / 276.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.005728, allocations: 42.42 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.005729, allocations: 3.938 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001239/0.005853, allocations: 69.55 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.005905, allocations: 133 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.972e-05/0.005995, allocations: 147.8 kB / 277.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.006003, allocations: 25.7 kB / 277.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.006034, allocations: 92.11 kB / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.006049, allocations: 7.891 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.006074, allocations: 17.72 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.006183, allocations: 318.8 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-06/0.006192, allocations: 4 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.426e-05/0.006206, allocations: 13.66 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.837e-05/0.006234, allocations: 17.72 kB / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.006236, allocations: 4.062 kB / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.295e-05/0.006278, allocations: 45.56 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.006288, allocations: 4 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.006294, allocations: 4 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.006303, allocations: 0 / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.649e-05/0.006349, allocations: 7.984 kB / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-06/0.006351, allocations: 0 / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.508e-05/0.006366, allocations: 0 / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.006374, allocations: 4 kB / 277.9 MB, free: 12.3 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 4.885e-05/0.006422, allocations: 112.7 kB / 278 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.006463, allocations: 53.56 kB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.006485, allocations: 15.95 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.006488, allocations: 4 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.00649, allocations: 0 / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.006493, allocations: 0 / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.708e-05/0.00658, allocations: 85.83 kB / 278.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.006581, allocations: 0 / 278.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.838e-05/0.006609, allocations: 15.98 kB / 278.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.006611, allocations: 3.938 kB / 278.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.006617, allocations: 8.062 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.006619, allocations: 3.938 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.006619, allocations: 0 / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.488e-05/0.006694, allocations: 150.1 kB / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.00672, allocations: 19.92 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.00673, allocations: 11.88 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.191e-05/0.006762, allocations: 0 / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.006787, allocations: 12 kB / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.006791, allocations: 3.984 kB / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.258e-05/0.006813, allocations: 32.39 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006814, allocations: 4.031 kB / 278.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001123/0.006926, allocations: 8 kB / 278.4 MB, free: 11.71 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.131e-05/0.006987, allocations: 80.36 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.415e-05/0.007041, allocations: 20.84 kB / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.007043, allocations: 3.938 kB / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.153e-05/0.007055, allocations: 8.859 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.007296, allocations: 40.27 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.007658, allocations: 212.1 kB / 278.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.689e-05/0.007695, allocations: 63.34 kB / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.054e-05/0.007715, allocations: 4 kB / 278.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.007767, allocations: 59.36 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007768, allocations: 0 / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of Templates: time 0.00212/0.009888, allocations: 0.7978 MB / 279.7 MB, free: 10.38 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 -s gbode -gbm=radauIIA3 -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.844244596082717]