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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 104.7 kB / 17.06 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 196 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 47.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4603, allocations: 49.44 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.004852/0.4652, allocations: 1.598 MB / 401.8 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.4667, allocations: 0.5389 MB / 402.4 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.4668, allocations: 3.938 kB / 402.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.4672, allocations: 15.86 kB / 402.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.4673, allocations: 7.922 kB / 402.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.4677, allocations: 63.83 kB / 402.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.4679, allocations: 67.75 kB / 402.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.4681, allocations: 12 kB / 402.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.4682, allocations: 43.78 kB / 402.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.4684, allocations: 31.84 kB / 402.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.4684, allocations: 4 kB / 402.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.79e-05/0.4684, allocations: 4 kB / 402.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.932e-05/0.4685, allocations: 19.92 kB / 402.7 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.259e-05/0.4686, allocations: 31.8 kB / 402.7 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.4688, allocations: 67.73 kB / 402.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4688, allocations: 3.938 kB / 402.8 MB, free: 6.301 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.4688, allocations: 0 / 402.8 MB, free: 6.301 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.4688, allocations: 0 / 402.8 MB, free: 6.301 MB / 318.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.0006753/0.4695, allocations: 396.7 kB / 403.1 MB, free: 5.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.4696, allocations: 8.031 kB / 403.1 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.385e-05/0.4696, allocations: 38.69 kB / 403.2 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.4697, allocations: 12.84 kB / 403.2 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.4701, allocations: 206.5 kB / 403.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.4701, allocations: 12.38 kB / 403.4 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.4702, allocations: 3.938 kB / 403.4 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004337/0.4706, allocations: 157.8 kB / 403.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4706, allocations: 0 / 403.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.4707, allocations: 0 / 403.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.4707, allocations: 0 / 403.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.4708, allocations: 39.84 kB / 403.6 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.4713, allocations: 278.5 kB / 403.9 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.4715, allocations: 91.83 kB / 404 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.4716, allocations: 38.62 kB / 404 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.4717, allocations: 3.984 kB / 404 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.4717, allocations: 46.5 kB / 404.1 MB, free: 4.781 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.4717, allocations: 0 / 404.1 MB, free: 4.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004115/0.4721, allocations: 105.5 kB / 404.2 MB, free: 4.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/0.4722, allocations: 106.8 kB / 404.3 MB, free: 4.543 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.4724, allocations: 151.6 kB / 404.4 MB, free: 4.387 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.4724, allocations: 25.95 kB / 404.4 MB, free: 4.355 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.4725, allocations: 92.14 kB / 404.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.4725, allocations: 7.906 kB / 404.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-05/0.4726, allocations: 33.61 kB / 404.6 MB, free: 4.215 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4728, allocations: 310.8 kB / 404.9 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.583e-05/0.4728, allocations: 19.98 kB / 404.9 MB, free: 3.883 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.473, allocations: 73.86 kB / 405 MB, free: 3.789 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.4731, allocations: 81.94 kB / 405 MB, free: 3.688 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4732, allocations: 0 / 405 MB, free: 3.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002775/0.4734, allocations: 105.4 kB / 405.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.4735, allocations: 7.984 kB / 405.2 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4735, allocations: 0 / 405.2 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.4735, allocations: 4 kB / 405.2 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.4737, allocations: 16.22 kB / 405.2 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.4737, allocations: 4 kB / 405.2 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.939e-05/0.4738, allocations: 7.922 kB / 405.2 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.4738, allocations: 4 kB / 405.2 MB, free: 3.535 MB / 318.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.0001372/0.4739, allocations: 125.8 kB / 405.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.4741, allocations: 69.53 kB / 405.4 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.296e-05/0.4742, allocations: 20.3 kB / 405.4 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4742, allocations: 0 / 405.4 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.4742, allocations: 4.031 kB / 405.4 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.4742, allocations: 7.938 kB / 405.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.4745, allocations: 177.9 kB / 405.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.4745, allocations: 4 kB / 405.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.272e-05/0.4746, allocations: 15.98 kB / 405.6 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4746, allocations: 3.938 kB / 405.6 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.4746, allocations: 0 / 405.6 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.4746, allocations: 4 kB / 405.6 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4746, allocations: 0 / 405.6 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.4749, allocations: 205 kB / 405.8 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.556e-05/0.475, allocations: 100.9 kB / 405.9 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.4751, allocations: 7.984 kB / 405.9 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.4752, allocations: 0 / 405.9 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.4752, allocations: 11.94 kB / 405.9 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.4753, allocations: 0 / 405.9 MB, free: 2.684 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.4754, allocations: 118.2 kB / 406 MB, free: 2.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4754, allocations: 0 / 406 MB, free: 2.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003995/0.4758, allocations: 8 kB / 406.1 MB, free: 2.562 MB / 318.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.0007947/0.4766, allocations: 0.7648 MB / 406.8 MB, free: 1.766 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002443/0.4768, allocations: 63.91 kB / 406.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4769, allocations: 0 / 406.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.997e-05/0.4769, allocations: 4.188 kB / 406.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000568/0.4775, allocations: 55.81 kB / 406.9 MB, free: 1.645 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.4798, allocations: 1.539 MB / 408.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.4802, allocations: 0.708 MB / 409.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.48e-05/0.4802, allocations: 8.656 kB / 409.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.277e-05/0.4803, allocations: 19.44 kB / 409.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4803, allocations: 0 / 409.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.5045, allocations: 2.08 MB / 411.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.84, allocations: 7.5 kB / 411.3 MB, free: 13.28 MB / 334.1 MB (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 --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) 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) Reference file matches