Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 205.4 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.755/1.755, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 47.92 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3134, allocations: 53.37 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003485/0.3169, allocations: 1.621 MB / 433.2 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.3183, allocations: 0.5726 MB / 433.8 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.3184, allocations: 3.938 kB / 433.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.3187, allocations: 15.88 kB / 433.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.424e-05/0.3188, allocations: 15.86 kB / 433.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.3192, allocations: 71.8 kB / 433.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.3193, allocations: 71.77 kB / 434 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.3194, allocations: 8 kB / 434 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.3196, allocations: 43.83 kB / 434 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.852e-05/0.3197, allocations: 43.78 kB / 434.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.3197, allocations: 4 kB / 434.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.564e-05/0.3198, allocations: 11.92 kB / 434.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.096e-05/0.3198, allocations: 19.92 kB / 434.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.604e-05/0.3199, allocations: 23.88 kB / 434.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.3201, allocations: 73.91 kB / 434.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3201, allocations: 0 / 434.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3201, allocations: 3.938 kB / 434.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3201, allocations: 0 / 434.2 MB, free: 4.109 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005282/0.3206, allocations: 317.9 kB / 434.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3206, allocations: 12.03 kB / 434.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.3208, allocations: 24.83 kB / 434.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.3211, allocations: 146.9 kB / 434.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.3211, allocations: 384 / 434.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.3212, allocations: 8.125 kB / 434.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.3215, allocations: 157.7 kB / 434.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3215, allocations: 4 kB / 434.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3215, allocations: 0 / 434.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3215, allocations: 0 / 434.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.3217, allocations: 35.97 kB / 434.9 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.322, allocations: 226.1 kB / 435.1 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.3222, allocations: 79.7 kB / 435.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.706e-05/0.3223, allocations: 46.75 kB / 435.2 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.3223, allocations: 0 / 435.2 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.3223, allocations: 34.56 kB / 435.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.3223, allocations: 4 kB / 435.3 MB, free: 2.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003443/0.3227, allocations: 109.5 kB / 435.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.3228, allocations: 114.8 kB / 435.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.323, allocations: 146.4 kB / 435.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.323, allocations: 25.7 kB / 435.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.3231, allocations: 92.12 kB / 435.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.3231, allocations: 11.95 kB / 435.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.3231, allocations: 17.97 kB / 435.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.3233, allocations: 334.7 kB / 436.1 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.38e-05/0.3234, allocations: 20.23 kB / 436.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.413e-05/0.3235, allocations: 65.94 kB / 436.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.3236, allocations: 81.92 kB / 436.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3236, allocations: 4 kB / 436.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002125/0.3238, allocations: 109.4 kB / 436.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3238, allocations: 4 kB / 436.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3238, allocations: 4 kB / 436.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3239, allocations: 0 / 436.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.324, allocations: 15.98 kB / 436.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.324, allocations: 8.219 kB / 436.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.51e-05/0.324, allocations: 7.938 kB / 436.4 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.324, allocations: 4 kB / 436.4 MB, free: 1.605 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.fractionalDelay.first,fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.first,fractionalDelay.u_buffer[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001413/0.3242, allocations: 133.7 kB / 436.5 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.3243, allocations: 69.59 kB / 436.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.3244, allocations: 16.39 kB / 436.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3244, allocations: 0 / 436.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3244, allocations: 0 / 436.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.3244, allocations: 4 kB / 436.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.3246, allocations: 125.2 kB / 436.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.3246, allocations: 11.97 kB / 436.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.836e-05/0.3246, allocations: 11.98 kB / 436.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3246, allocations: 0 / 436.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3246, allocations: 4 kB / 436.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3246, allocations: 0 / 436.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3246, allocations: 0 / 436.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.3249, allocations: 205 kB / 437 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.325, allocations: 19.94 kB / 437 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.325, allocations: 4 kB / 437 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.3251, allocations: 4 kB / 437 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.3251, allocations: 8 kB / 437 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.3251, allocations: 0 / 437 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.786e-05/0.3252, allocations: 117.2 kB / 437.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3252, allocations: 0 / 437.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.3255, allocations: 16 kB / 437.1 MB, free: 0.8008 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.u_buffer[1],fractionalDelay.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001281/0.3256, allocations: 99.23 kB / 437.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.3258, allocations: 56.47 kB / 437.3 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3258, allocations: 4.062 kB / 437.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.772e-05/0.3258, allocations: 11.88 kB / 437.3 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.3262, allocations: 44.05 kB / 437.4 MB, free: 0.582 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005747/0.3268, allocations: 217 kB / 437.6 MB, free: 348 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.3269, allocations: 84.98 kB / 437.7 MB, free: 240 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.147e-05/0.327, allocations: 8.594 kB / 437.7 MB, free: 228 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.327, allocations: 15.42 kB / 437.7 MB, free: 216 kB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.327, allocations: 0 / 437.7 MB, free: 216 kB / 334.1 MB Notification: Performance of Templates: time 0.004264/0.3313, allocations: 0.9813 MB / 438.7 MB, free: 15.25 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.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: 4.973085185978562]