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.001338/0.001338, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001462/0.001462, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.362/1.362, allocations: 230.6 MB / 258.3 MB, free: 7.797 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 43.92 kB / 378.5 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2473, allocations: 53.36 MB / 431.9 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002797/0.2501, allocations: 1.616 MB / 433.5 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.2511, allocations: 0.5648 MB / 434 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.135e-05/0.2512, allocations: 7.938 kB / 434.1 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.2514, allocations: 19.84 kB / 434.1 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.348e-05/0.2514, allocations: 7.875 kB / 434.1 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.2517, allocations: 83.78 kB / 434.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.2519, allocations: 67.78 kB / 434.2 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.607e-05/0.252, allocations: 14.09 kB / 434.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.2521, allocations: 47.78 kB / 434.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.539e-05/0.2522, allocations: 31.84 kB / 434.3 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.2522, allocations: 4 kB / 434.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.099e-05/0.2522, allocations: 12 kB / 434.3 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/0.2523, allocations: 15.92 kB / 434.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.2524, allocations: 31.78 kB / 434.4 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.2525, allocations: 79.66 kB / 434.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2525, allocations: 0 / 434.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2525, allocations: 0 / 434.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.2525, allocations: 0 / 434.5 MB, free: 4.051 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.0004482/0.253, allocations: 309.9 kB / 434.8 MB, free: 3.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.253, allocations: 12.03 kB / 434.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.315e-05/0.253, allocations: 4.188 kB / 434.8 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.509e-05/0.253, allocations: 42.67 kB / 434.8 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.2532, allocations: 24.83 kB / 434.8 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.2534, allocations: 145.3 kB / 435 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.2534, allocations: 12.12 kB / 435 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.2534, allocations: 4 kB / 435 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.2538, allocations: 157.7 kB / 435.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2538, allocations: 3.984 kB / 435.2 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.2538, allocations: 3.938 kB / 435.2 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2538, allocations: 4 kB / 435.2 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.765e-05/0.2539, allocations: 31.91 kB / 435.2 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.2542, allocations: 241.7 kB / 435.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.2543, allocations: 83.7 kB / 435.5 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.636e-05/0.2544, allocations: 50.75 kB / 435.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.2544, allocations: 0 / 435.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.2545, allocations: 38.5 kB / 435.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.2545, allocations: 0 / 435.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002953/0.2548, allocations: 105.5 kB / 435.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.869e-05/0.2548, allocations: 114.8 kB / 435.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.255, allocations: 146.4 kB / 436 MB, free: 2.324 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.255, allocations: 29.7 kB / 436 MB, free: 2.289 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.255, allocations: 92.38 kB / 436.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.2551, allocations: 15.89 kB / 436.1 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.2551, allocations: 21.72 kB / 436.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2552, allocations: 322.8 kB / 436.4 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.516e-05/0.2553, allocations: 19.98 kB / 436.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.851e-05/0.2554, allocations: 61.94 kB / 436.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.2555, allocations: 85.92 kB / 436.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2555, allocations: 0 / 436.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001851/0.2557, allocations: 105.4 kB / 436.7 MB, free: 1.512 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2557, allocations: 4 kB / 436.7 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2557, allocations: 4 kB / 436.7 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.2557, allocations: 4.219 kB / 436.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.3e-05/0.2558, allocations: 19.98 kB / 436.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.2558, allocations: 7.938 kB / 436.7 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.998e-05/0.2559, allocations: 4 kB / 436.7 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.2559, allocations: 4.25 kB / 436.7 MB, free: 1.465 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.0001205/0.256, allocations: 129.7 kB / 436.9 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.2561, allocations: 81.53 kB / 437 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.445e-05/0.2562, allocations: 12.39 kB / 437 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2562, allocations: 4 kB / 437 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.2562, allocations: 3.938 kB / 437 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2562, allocations: 4.031 kB / 437 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.2563, allocations: 144.7 kB / 437.1 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2563, allocations: 192 / 437.1 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.2564, allocations: 8 kB / 437.1 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2564, allocations: 7.938 kB / 437.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.2564, allocations: 7.984 kB / 437.1 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2564, allocations: 0 / 437.1 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.2564, allocations: 3.938 kB / 437.1 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.2567, allocations: 193.1 kB / 437.3 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.2567, allocations: 19.94 kB / 437.4 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.2567, allocations: 8 kB / 437.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.2568, allocations: 4 kB / 437.4 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.2568, allocations: 7.922 kB / 437.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.2568, allocations: 4 kB / 437.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.146e-05/0.2569, allocations: 110.1 kB / 437.5 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2569, allocations: 0 / 437.5 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.2571, allocations: 19.94 kB / 437.5 MB, free: 0.625 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.0006083/0.2578, allocations: 0.7649 MB / 438.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.2579, allocations: 51.91 kB / 438.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2579, allocations: 0 / 438.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.731e-05/0.258, allocations: 11.98 kB / 438.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.2583, allocations: 47.88 kB / 438.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.2599, allocations: 1.553 MB / 439.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.095e-05/0.26, allocations: 84.98 kB / 440 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.609e-05/0.2601, allocations: 8.672 kB / 440 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.2601, allocations: 23.44 kB / 440 MB, free: 13.91 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2601, allocations: 4 kB / 440.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.2819, allocations: 2.361 MB / 442.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.8, allocations: 10.03 kB / 442.4 MB, free: 11.71 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --stepSize=1.7939e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins1/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] "" 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.continuous,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,time [Calling sys.exit(0), Time elapsed: 13.199394701048732]