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.001992/0.001992, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002653/0.002653, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.516/1.516, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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 2.575e-06/2.575e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.337e-05/3.595e-05, allocations: 6.312 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.005362/0.005398, allocations: 1.622 MB / 274 MB, free: 184 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.007916, allocations: 0.5802 MB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.008031, allocations: 3.938 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.008338, allocations: 11.88 kB / 274.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.008454, allocations: 23.84 kB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.009006, allocations: 67.69 kB / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.00922, allocations: 63.77 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.009345, allocations: 11.98 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002537/0.009598, allocations: 43.89 kB / 274.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.009726, allocations: 23.91 kB / 274.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.009753, allocations: 8 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.025e-05/0.009824, allocations: 15.98 kB / 274.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.177e-05/0.009915, allocations: 19.92 kB / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.009973, allocations: 11.94 kB / 274.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.01024, allocations: 87.62 kB / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01025, allocations: 0 / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01025, allocations: 0 / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.01025, allocations: 0 / 274.9 MB, free: 15.21 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000801/0.01105, allocations: 309.9 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.01111, allocations: 8.031 kB / 275.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002751/0.01138, allocations: 28.88 kB / 275.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.01182, allocations: 150.1 kB / 275.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.01184, allocations: 384 / 275.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.01187, allocations: 12.31 kB / 275.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.01243, allocations: 154.3 kB / 275.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.01244, allocations: 3.938 kB / 275.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.01246, allocations: 8 kB / 275.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.01247, allocations: 0 / 275.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.01267, allocations: 31.92 kB / 275.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.01316, allocations: 222.3 kB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.01343, allocations: 75.72 kB / 275.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.01362, allocations: 50.62 kB / 276 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.01365, allocations: 0 / 276 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.602e-05/0.0137, allocations: 38.55 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.01371, allocations: 0 / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006196/0.01433, allocations: 117.5 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/0.01447, allocations: 110.8 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.01474, allocations: 149.4 kB / 276.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.01478, allocations: 25.7 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.01489, allocations: 96.09 kB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.01492, allocations: 7.891 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-05/0.015, allocations: 21.7 kB / 276.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002795/0.01528, allocations: 314.8 kB / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.544e-05/0.01538, allocations: 20.23 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.0155, allocations: 30.94 kB / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.01571, allocations: 54.44 kB / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01571, allocations: 0 / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003247/0.01603, allocations: 81.56 kB / 277 MB, free: 12.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.01606, allocations: 8.094 kB / 277 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.01606, allocations: 0 / 277 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.01608, allocations: 4 kB / 277 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.0162, allocations: 7.984 kB / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.01621, allocations: 4 kB / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.16e-05/0.0163, allocations: 4 kB / 277 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.01631, allocations: 7.984 kB / 277 MB, free: 12.84 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.000198/0.01651, allocations: 133.6 kB / 277.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/0.01676, allocations: 69.64 kB / 277.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.01681, allocations: 12.47 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.01681, allocations: 4.031 kB / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.01682, allocations: 0 / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.01682, allocations: 4 kB / 277.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.01713, allocations: 121.2 kB / 277.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.01714, allocations: 4 kB / 277.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.01726, allocations: 15.92 kB / 277.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.01726, allocations: 0 / 277.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.01728, allocations: 4 kB / 277.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.01728, allocations: 0 / 277.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01729, allocations: 0 / 277.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004631/0.01775, allocations: 209 kB / 277.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.353e-05/0.01783, allocations: 15.94 kB / 277.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.01788, allocations: 4 kB / 277.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.01802, allocations: 7.984 kB / 277.6 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.01807, allocations: 3.984 kB / 277.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.01808, allocations: 4 kB / 277.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001761/0.01826, allocations: 111.2 kB / 277.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01826, allocations: 0 / 277.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004629/0.01872, allocations: 12 kB / 277.8 MB, free: 12.06 MB / 266.7 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.0001879/0.01891, allocations: 99.25 kB / 277.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002891/0.0192, allocations: 43.91 kB / 277.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.0192, allocations: 0 / 277.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.224e-05/0.01927, allocations: 8 kB / 277.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007046/0.01998, allocations: 56.88 kB / 278 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008383/0.02082, allocations: 212 kB / 278.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.021, allocations: 93.45 kB / 278.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.572e-05/0.02105, allocations: 7.984 kB / 278.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/0.02111, allocations: 12.5 kB / 278.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02111, allocations: 0 / 278.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of Templates: time 0.006141/0.02725, allocations: 0.8993 MB / 279.2 MB, free: 10.59 MB / 266.7 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.3637806279584765]