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.002349/0.002349, allocations: 105 kB / 17.06 MB, free: 6.023 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.00231/0.00231, allocations: 195 kB / 18 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.16/2.16, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001914, allocations: 43.94 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.545/0.5469, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.007476/0.5545, allocations: 1.606 MB / 401.8 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.5569, allocations: 0.5399 MB / 402.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002552/0.5572, allocations: 7.938 kB / 402.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004623/0.5578, allocations: 15.86 kB / 402.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.558, allocations: 3.938 kB / 402.4 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007206/0.5588, allocations: 59.81 kB / 402.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.5591, allocations: 71.77 kB / 402.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.5593, allocations: 15.98 kB / 402.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.5596, allocations: 35.78 kB / 402.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.5598, allocations: 35.84 kB / 402.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.5599, allocations: 4 kB / 402.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.236e-05/0.5599, allocations: 4 kB / 402.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.5601, allocations: 19.92 kB / 402.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.5602, allocations: 27.81 kB / 402.7 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.5605, allocations: 71.72 kB / 402.7 MB, free: 6.301 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.5605, allocations: 3.938 kB / 402.8 MB, free: 6.297 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.5606, allocations: 0 / 402.8 MB, free: 6.297 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.5606, allocations: 0 / 402.8 MB, free: 6.297 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.001078/0.5617, allocations: 399.8 kB / 403.1 MB, free: 5.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.502e-05/0.5618, allocations: 12.03 kB / 403.2 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.279e-05/0.5619, allocations: 34.75 kB / 403.2 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.733e-05/0.562, allocations: 12.78 kB / 403.2 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007036/0.5627, allocations: 206 kB / 403.4 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.5627, allocations: 384 / 403.4 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.5628, allocations: 7.938 kB / 403.4 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006918/0.5635, allocations: 157.7 kB / 403.6 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.5635, allocations: 0 / 403.6 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.5636, allocations: 0 / 403.6 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.5636, allocations: 4 kB / 403.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.5638, allocations: 43.83 kB / 403.6 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007193/0.5646, allocations: 286.5 kB / 403.9 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.5649, allocations: 79.84 kB / 404 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.565, allocations: 46.62 kB / 404 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/0.5651, allocations: 0 / 404 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/0.5652, allocations: 34.56 kB / 404 MB, free: 4.789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 5.18e-06/0.5652, allocations: 0 / 404 MB, free: 4.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005964/0.5658, allocations: 109.4 kB / 404.2 MB, free: 4.676 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.5659, allocations: 115 kB / 404.3 MB, free: 4.539 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.5662, allocations: 144 kB / 404.4 MB, free: 4.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.5663, allocations: 25.7 kB / 404.4 MB, free: 4.359 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.5664, allocations: 96.12 kB / 404.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.5664, allocations: 7.906 kB / 404.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.823e-05/0.5665, allocations: 25.62 kB / 404.6 MB, free: 4.223 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.5667, allocations: 322.8 kB / 404.9 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.5669, allocations: 19.98 kB / 404.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.567, allocations: 65.88 kB / 405 MB, free: 3.793 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.5673, allocations: 81.92 kB / 405 MB, free: 3.691 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5673, allocations: 4 kB / 405 MB, free: 3.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003422/0.5677, allocations: 105.5 kB / 405.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.5677, allocations: 8 kB / 405.2 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.5678, allocations: 256 / 405.2 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.5678, allocations: 4 kB / 405.2 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.568, allocations: 19.98 kB / 405.2 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.568, allocations: 0 / 405.2 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.5681, allocations: 11.94 kB / 405.2 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.5682, allocations: 4 kB / 405.2 MB, free: 3.531 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.0001947/0.5684, allocations: 129.9 kB / 405.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/0.5686, allocations: 77.53 kB / 405.4 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.242e-05/0.5687, allocations: 16.3 kB / 405.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.5687, allocations: 0 / 405.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.5687, allocations: 0 / 405.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.5687, allocations: 3.938 kB / 405.4 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.5693, allocations: 181.6 kB / 405.6 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.5693, allocations: 0 / 405.6 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.5694, allocations: 8 kB / 405.6 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.5694, allocations: 3.938 kB / 405.6 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.5695, allocations: 4 kB / 405.6 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.5695, allocations: 8.016 kB / 405.6 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.5695, allocations: 0 / 405.6 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.5699, allocations: 201 kB / 405.8 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.57, allocations: 100.9 kB / 405.9 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.5701, allocations: 0 / 405.9 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.5702, allocations: 15.98 kB / 405.9 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.5703, allocations: 3.938 kB / 405.9 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.5703, allocations: 4 kB / 405.9 MB, free: 2.68 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.5704, allocations: 110.1 kB / 406 MB, free: 2.574 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5704, allocations: 0 / 406 MB, free: 2.574 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004051/0.5709, allocations: 16 kB / 406.1 MB, free: 2.559 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.001108/0.572, allocations: 0.757 MB / 406.8 MB, free: 1.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.5723, allocations: 59.91 kB / 406.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5723, allocations: 0.5 kB / 406.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.003e-05/0.5724, allocations: 16.17 kB / 406.9 MB, free: 1.695 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005818/0.5729, allocations: 48.08 kB / 406.9 MB, free: 1.648 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.5755, allocations: 1.546 MB / 408.5 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.576, allocations: 0.7041 MB / 409.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.426e-05/0.5761, 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.174e-05/0.5761, allocations: 23.42 kB / 409.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5762, allocations: 0 / 409.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.603, allocations: 2.079 MB / 411.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.48, allocations: 4.625 kB / 411.3 MB, free: 13.27 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