Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 47.92 kB / 371.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2548, allocations: 52.19 MB / 423.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002867/0.2577, allocations: 1.634 MB / 425.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009705/0.2586, allocations: 0.5454 MB / 425.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.656e-05/0.2587, allocations: 0 / 425.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.2589, allocations: 23.86 kB / 425.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.247e-05/0.259, allocations: 15.86 kB / 425.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.2593, allocations: 59.81 kB / 425.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.2594, allocations: 67.77 kB / 425.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.263e-05/0.2595, allocations: 11.98 kB / 425.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.436e-05/0.2596, allocations: 35.84 kB / 425.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.514e-05/0.2597, allocations: 35.8 kB / 425.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.2597, allocations: 4 kB / 425.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.513e-05/0.2597, allocations: 4 kB / 425.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.465e-05/0.2598, allocations: 23.91 kB / 425.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.2598, allocations: 31.8 kB / 425.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.26, allocations: 72.5 kB / 426 MB, free: 11.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.26, allocations: 0 / 426 MB, free: 11.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.26, allocations: 0 / 426 MB, free: 11.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.26, allocations: 0 / 426 MB, free: 11.99 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.0004752/0.2605, allocations: 313.9 kB / 426.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.2605, allocations: 8.031 kB / 426.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.221e-05/0.2605, allocations: 192 / 426.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.648e-05/0.2606, allocations: 46.73 kB / 426.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.2606, allocations: 12.84 kB / 426.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.2608, allocations: 146.9 kB / 426.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.2608, allocations: 4.125 kB / 426.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.2609, allocations: 8 kB / 426.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.2612, allocations: 153.7 kB / 426.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2612, allocations: 3.938 kB / 426.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.2612, allocations: 0 / 426.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.2612, allocations: 4 kB / 426.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.2613, allocations: 31.97 kB / 426.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.2617, allocations: 253.6 kB / 426.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.2618, allocations: 79.83 kB / 427 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.527e-05/0.2619, allocations: 42.62 kB / 427.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.2619, allocations: 0 / 427.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.2619, allocations: 38.56 kB / 427.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.2619, allocations: 0 / 427.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002989/0.2622, allocations: 113.4 kB / 427.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.719e-05/0.2623, allocations: 111.1 kB / 427.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.2624, allocations: 155.4 kB / 427.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.2625, allocations: 25.7 kB / 427.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.2625, allocations: 92.12 kB / 427.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.2625, allocations: 11.89 kB / 427.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.2626, allocations: 21.72 kB / 427.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.2627, allocations: 322.8 kB / 427.9 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.424e-05/0.2628, allocations: 19.98 kB / 428 MB, free: 9.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.036e-05/0.2628, allocations: 65.94 kB / 428 MB, free: 9.688 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.263, allocations: 81.94 kB / 428.1 MB, free: 9.586 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.263, allocations: 0 / 428.1 MB, free: 9.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001815/0.2632, allocations: 101.5 kB / 428.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2632, allocations: 8 kB / 428.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2632, allocations: 4.219 kB / 428.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2632, allocations: 7.938 kB / 428.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.871e-05/0.2633, allocations: 15.98 kB / 428.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.2633, allocations: 3.938 kB / 428.2 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.499e-05/0.2634, allocations: 12.14 kB / 428.3 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.2634, allocations: 4 kB / 428.3 MB, free: 9.426 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.0001103/0.2635, allocations: 133.7 kB / 428.4 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.2636, allocations: 69.64 kB / 428.5 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.2636, allocations: 16.44 kB / 428.5 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2636, allocations: 0 / 428.5 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2636, allocations: 7.922 kB / 428.5 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2636, allocations: 7.938 kB / 428.5 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.2638, allocations: 140.7 kB / 428.6 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2638, allocations: 0 / 428.6 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.601e-05/0.2639, allocations: 15.92 kB / 428.6 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2639, allocations: 4 kB / 428.6 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.2639, allocations: 4 kB / 428.6 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2639, allocations: 0 / 428.6 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2639, allocations: 7.938 kB / 428.7 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.2641, allocations: 193.2 kB / 428.8 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.2642, allocations: 23.88 kB / 428.9 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.2642, allocations: 8 kB / 428.9 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.2643, allocations: 0 / 428.9 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.2643, allocations: 11.88 kB / 428.9 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.2643, allocations: 7.984 kB / 428.9 MB, free: 8.703 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.928e-05/0.2644, allocations: 110.6 kB / 429 MB, free: 8.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2644, allocations: 0 / 429 MB, free: 8.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00024/0.2646, allocations: 12 kB / 429 MB, free: 8.586 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.0006342/0.2653, allocations: 0.7688 MB / 429.8 MB, free: 7.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.2654, allocations: 55.91 kB / 429.8 MB, free: 7.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2655, allocations: 0 / 429.8 MB, free: 7.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.695e-05/0.2655, allocations: 7.984 kB / 429.8 MB, free: 7.723 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.2659, allocations: 44.45 kB / 429.9 MB, free: 7.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.2675, allocations: 1.553 MB / 431.4 MB, free: 6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.2679, allocations: 0.704 MB / 432.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.934e-05/0.2679, allocations: 8.656 kB / 432.2 MB, free: 5.262 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/0.2679, allocations: 19.44 kB / 432.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2679, allocations: 0 / 432.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.2904, allocations: 2.254 MB / 434.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.9, allocations: 13.39 kB / 434.4 MB, free: 3.137 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --stepSize=1.7939e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,fractionalDelay.y Variables in the result:fractionalDelay.first,fractionalDelay.resolution,fractionalDelay.shift,fractionalDelay.u,fractionalDelay.u_buffer[1],fractionalDelay.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(fractionalDelay.first),previous(fractionalDelay.u_buffer[1]),sample1.u,sample1.y,sine.amplitude,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,time [Calling sys.exit(0), Time elapsed: 13.337429519975558]