Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.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.00175/0.00175, allocations: 83.16 kB / 20.68 MB, free: 1.035 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.001999/0.001999, allocations: 158 kB / 23.95 MB, free: 4.168 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.538/1.538, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.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.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.865e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003169/0.003198, allocations: 1.622 MB / 326.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.004568, allocations: 0.5709 MB / 327.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.952e-05/0.004668, allocations: 5.188 kB / 327.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.00494, allocations: 26.62 kB / 327.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.817e-05/0.005008, allocations: 11.08 kB / 327.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.005398, allocations: 82.23 kB / 327.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.005539, allocations: 62.08 kB / 327.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.005662, allocations: 14.7 kB / 327.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.005844, allocations: 42.28 kB / 327.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.005967, allocations: 27.64 kB / 327.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.005988, allocations: 4.125 kB / 327.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.964e-05/0.006038, allocations: 6.75 kB / 327.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.074e-05/0.006119, allocations: 28.42 kB / 327.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.006161, allocations: 16.28 kB / 327.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.00644, allocations: 79.62 kB / 327.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.006449, allocations: 4 kB / 327.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.00645, allocations: 0 / 327.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.006458, allocations: 1.031 kB / 327.6 MB, free: 14.82 MB / 302.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.000595/0.007053, allocations: 314.1 kB / 327.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.007095, allocations: 12.77 kB / 327.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.007266, allocations: 18.88 kB / 328 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.007581, allocations: 153.2 kB / 328.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.007608, allocations: 6.625 kB / 328.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.007621, allocations: 3.469 kB / 328.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.008028, allocations: 156.2 kB / 328.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.00804, allocations: 7.875 kB / 328.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.00805, allocations: 0 / 328.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.008055, allocations: 2.656 kB / 328.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.008177, allocations: 38.12 kB / 328.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.008531, allocations: 222 kB / 328.5 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.008692, allocations: 78.34 kB / 328.6 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.008797, allocations: 44.47 kB / 328.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.00883, allocations: 6.578 kB / 328.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.00887, allocations: 37.14 kB / 328.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.008871, allocations: 4.906 kB / 328.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003701/0.009241, allocations: 110.3 kB / 328.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.009356, allocations: 110 kB / 328.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.009555, allocations: 150.2 kB / 329.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.009578, allocations: 27.5 kB / 329.1 MB, free: 13.49 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.847e-05/0.009656, allocations: 99.3 kB / 329.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.009678, allocations: 6.938 kB / 329.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.009729, allocations: 19.84 kB / 329.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.009899, allocations: 320.1 kB / 329.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.518e-05/0.009954, allocations: 10.11 kB / 329.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.583e-05/0.01003, allocations: 36.16 kB / 329.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.01016, allocations: 51.78 kB / 329.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01017, allocations: 1.219 kB / 329.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001984/0.01037, allocations: 76.95 kB / 329.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.01038, allocations: 5.281 kB / 329.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.01039, allocations: 5.25 kB / 329.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.01041, allocations: 1.188 kB / 329.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.563e-05/0.0105, allocations: 7.719 kB / 329.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.01051, allocations: 2.844 kB / 329.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.01056, allocations: 6.953 kB / 329.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.01057, allocations: 2.75 kB / 329.7 MB, free: 12.93 MB / 302.1 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.0001547/0.01072, allocations: 123.4 kB / 329.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.01088, allocations: 68.48 kB / 329.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.661e-05/0.01094, allocations: 18.64 kB / 329.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01094, allocations: 1.625 kB / 329.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.01095, allocations: 4.688 kB / 329.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.01096, allocations: 2.625 kB / 329.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.01118, allocations: 118.3 kB / 330.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.01118, allocations: 1.094 kB / 330.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.661e-05/0.01126, allocations: 17.2 kB / 330.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.01126, allocations: 1.469 kB / 330.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.01128, allocations: 9.75 kB / 330.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.01128, allocations: 5.875 kB / 330.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01129, allocations: 3.938 kB / 330.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.01159, allocations: 203.6 kB / 330.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.436e-05/0.01166, allocations: 23.25 kB / 330.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.01169, allocations: 6.859 kB / 330.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.01177, allocations: 6.781 kB / 330.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.01181, allocations: 2.984 kB / 330.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.01182, allocations: 2.844 kB / 330.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.01194, allocations: 109.8 kB / 330.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01194, allocations: 0 / 330.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.01219, allocations: 8.281 kB / 330.5 MB, free: 12.32 MB / 302.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.0001549/0.01235, allocations: 108.5 kB / 330.6 MB, free: 12.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.01257, allocations: 44.3 kB / 330.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.01257, allocations: 3.938 kB / 330.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.821e-05/0.01262, allocations: 8.031 kB / 330.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.01311, allocations: 37.62 kB / 330.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006238/0.01373, allocations: 220.7 kB / 330.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.01385, allocations: 89.55 kB / 331 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.281e-05/0.0139, allocations: 5.344 kB / 331 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/0.01394, allocations: 12.31 kB / 331 MB, free: 11.93 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01394, allocations: 1.188 kB / 331 MB, free: 11.93 MB / 302.1 MB Notification: Performance of Templates: time 0.004401/0.01834, allocations: 0.8841 MB / 331.9 MB, free: 11.65 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.417616907507181]