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.001814/0.001814, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001502/0.001502, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 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.533/1.533, allocations: 230.5 MB / 258.2 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002139/0.002139, allocations: 75.88 kB / 379 MB, free: 2.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3048, allocations: 53.39 MB / 432.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003598/0.3084, allocations: 1.651 MB / 434.1 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.3099, allocations: 0.5882 MB / 434.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.31, allocations: 3.938 kB / 434.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.365e-05/0.3101, allocations: 3.938 kB / 434.7 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.3103, allocations: 11.88 kB / 434.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.3107, allocations: 67.73 kB / 434.8 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.3109, allocations: 55.84 kB / 434.8 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.3111, allocations: 11.98 kB / 434.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.3112, allocations: 31.8 kB / 434.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.377e-05/0.3113, allocations: 31.84 kB / 434.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.3113, allocations: 4 kB / 434.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.479e-05/0.3114, allocations: 8 kB / 434.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.3115, allocations: 11.94 kB / 434.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.574e-05/0.3115, allocations: 35.73 kB / 434.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.3117, allocations: 68.94 kB / 435 MB, free: 4.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3117, allocations: 0 / 435 MB, free: 4.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3117, allocations: 0 / 435 MB, free: 4.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.3118, allocations: 0 / 435 MB, free: 4.199 MB / 334.1 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.0007089/0.3125, allocations: 309.9 kB / 435.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.3125, allocations: 12.03 kB / 435.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002413/0.3128, allocations: 20.88 kB / 435.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.3132, allocations: 162.3 kB / 435.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.3132, allocations: 4.375 kB / 435.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.3132, allocations: 12.06 kB / 435.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000418/0.3136, allocations: 130.7 kB / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3137, allocations: 0 / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.3137, allocations: 4 kB / 435.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3137, allocations: 0 / 435.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.3138, allocations: 31.91 kB / 435.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004925/0.3143, allocations: 262.5 kB / 435.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.3144, allocations: 98.41 kB / 436 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.217e-05/0.3145, allocations: 43.48 kB / 436.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.3146, allocations: 3.984 kB / 436.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.3146, allocations: 38.5 kB / 436.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 3.357e-06/0.3146, allocations: 4 kB / 436.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003556/0.315, allocations: 93.56 kB / 436.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.3151, allocations: 136.5 kB / 436.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.3153, allocations: 146.4 kB / 436.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.3153, allocations: 30.2 kB / 436.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.835e-05/0.3154, allocations: 96.06 kB / 436.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.3154, allocations: 11.94 kB / 436.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.722e-05/0.3155, allocations: 21.67 kB / 436.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.3157, allocations: 322.8 kB / 437 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.155e-05/0.3157, allocations: 11.98 kB / 437 MB, free: 1.973 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.711e-05/0.3158, allocations: 40.3 kB / 437 MB, free: 1.918 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.3159, allocations: 64.2 kB / 437.1 MB, free: 1.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3159, allocations: 0 / 437.1 MB, free: 1.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001816/0.3161, allocations: 85.52 kB / 437.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.3161, allocations: 7.984 kB / 437.2 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.3161, allocations: 4 kB / 437.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3162, allocations: 0 / 437.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.758e-05/0.3163, allocations: 15.94 kB / 437.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3163, allocations: 0 / 437.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.658e-05/0.3163, allocations: 11.92 kB / 437.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.3163, allocations: 0 / 437.2 MB, free: 1.711 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (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 prepare postOptimizeDAE: time 0.0001164/0.3164, allocations: 126 kB / 437.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.3166, allocations: 61.52 kB / 437.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.3166, allocations: 15.92 kB / 437.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.3166, allocations: 4 kB / 437.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3166, allocations: 3.938 kB / 437.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.3166, allocations: 8.047 kB / 437.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.3169, allocations: 152.7 kB / 437.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3169, allocations: 0 / 437.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-05/0.3169, allocations: 11.98 kB / 437.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3169, allocations: 8.062 kB / 437.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.3169, allocations: 0 / 437.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.3169, allocations: 4 kB / 437.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3169, allocations: 0 / 437.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.3172, allocations: 205.9 kB / 437.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.3173, allocations: 19.88 kB / 437.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.3173, allocations: 4 kB / 437.8 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.3174, allocations: 7.984 kB / 437.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.3174, allocations: 3.938 kB / 437.8 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.3174, allocations: 4 kB / 437.8 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.3175, allocations: 114.2 kB / 437.9 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3175, allocations: 4 kB / 437.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.3177, allocations: 4 kB / 437.9 MB, free: 0.8789 MB / 334.1 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.0001367/0.3179, allocations: 103.2 kB / 438 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.3181, allocations: 43.91 kB / 438.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3181, allocations: 0 / 438.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.566e-05/0.3181, allocations: 12 kB / 438.1 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.3185, allocations: 32.47 kB / 438.1 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000537/0.3191, allocations: 239.6 kB / 438.4 MB, free: 420 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.3195, allocations: 0.7002 MB / 439.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.3195, allocations: 11.44 kB / 439.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3195, allocations: 0 / 439.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of Templates: time 0.003284/0.3228, allocations: 0.9428 MB / 440 MB, free: 14.73 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.23049381095916]