Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008591/0.000859, allocations: 172.8 kB / 16.76 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.178/1.178, allocations: 205.4 MB / 222.9 MB, free: 9.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007442/0.0007443, allocations: 93.34 kB / 271.3 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05889/0.05889, allocations: 12.19 MB / 331.8 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003575, allocations: 16 kB / 392.2 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07004/0.07041, allocations: 50.29 MB / 442.5 MB, free: 16.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay): time 0.001272/0.07171, allocations: 1.29 MB / 443.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006221/0.07234, allocations: 0.5662 MB / 444.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.57e-05/0.07242, allocations: 0 / 444.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.0726, allocations: 7.938 kB / 444.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.055e-05/0.07264, allocations: 15.91 kB / 444.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.07285, allocations: 59.89 kB / 444.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.844e-05/0.07294, allocations: 67.7 kB / 444.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.708e-05/0.07303, allocations: 19.97 kB / 444.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.283e-05/0.07312, allocations: 31.86 kB / 444.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.232e-05/0.07321, allocations: 27.84 kB / 444.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.07323, allocations: 4 kB / 444.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.07325, allocations: 0 / 444.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.0733, allocations: 19.92 kB / 444.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.07334, allocations: 57.5 kB / 444.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.026e-05/0.0734, allocations: 39.92 kB / 444.7 MB, free: 14.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.07341, allocations: 3.938 kB / 444.7 MB, free: 14.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.07342, allocations: 0 / 444.7 MB, free: 14.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.786e-06/0.07343, allocations: 0 / 444.7 MB, free: 14.31 MB / 298.7 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.0003281/0.07376, allocations: 379.5 kB / 445.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.0738, allocations: 8.031 kB / 445.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.357e-05/0.07383, allocations: 30.75 kB / 445.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.306e-05/0.07386, allocations: 20.69 kB / 445.1 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.07399, allocations: 200.8 kB / 445.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.07402, allocations: 8.312 kB / 445.3 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.07403, allocations: 7.938 kB / 445.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.07432, allocations: 153.8 kB / 445.5 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.07434, allocations: 4 kB / 445.5 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.07435, allocations: 7.938 kB / 445.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.07436, allocations: 0 / 445.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.793e-05/0.07447, allocations: 35.97 kB / 445.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002271/0.0747, allocations: 286.5 kB / 445.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.274e-05/0.0748, allocations: 79.84 kB / 445.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.873e-05/0.07488, allocations: 46.62 kB / 445.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.07491, allocations: 7.984 kB / 445.9 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.291e-05/0.07493, allocations: 30.56 kB / 446 MB, free: 12.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.07493, allocations: 0 / 446 MB, free: 12.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002527/0.07519, allocations: 113.5 kB / 446.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.07525, allocations: 119 kB / 446.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.755e-05/0.07533, allocations: 149.6 kB / 446.4 MB, free: 12.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.07535, allocations: 29.64 kB / 446.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.63e-05/0.07538, allocations: 92.14 kB / 446.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.0754, allocations: 7.906 kB / 446.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.07541, allocations: 4 kB / 446.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.717e-05/0.07545, allocations: 318.8 kB / 446.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.783e-05/0.0755, allocations: 19.98 kB / 446.8 MB, free: 11.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-05/0.07556, allocations: 65.94 kB / 446.9 MB, free: 11.83 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.977e-05/0.07567, allocations: 93.86 kB / 447 MB, free: 11.72 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.07568, allocations: 0 / 447 MB, free: 11.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001497/0.07583, allocations: 105.5 kB / 447.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.07586, allocations: 4 kB / 447.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.07587, allocations: 4 kB / 447.1 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.07588, allocations: 0 / 447.1 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.655e-05/0.07597, allocations: 23.92 kB / 447.1 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.07599, allocations: 0 / 447.1 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.978e-05/0.07604, allocations: 16.09 kB / 447.1 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.07606, allocations: 8 kB / 447.1 MB, free: 11.55 MB / 298.7 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 (fractionalDelay.first,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.165e-05/0.07615, allocations: 130.5 kB / 447.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.976e-05/0.07625, allocations: 73.44 kB / 447.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.07628, allocations: 20.3 kB / 447.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.07629, allocations: 3.984 kB / 447.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.0763, allocations: 0 / 447.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.07631, allocations: 8.25 kB / 447.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.07643, allocations: 177.7 kB / 447.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.07643, allocations: 4 kB / 447.5 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.147e-05/0.0765, allocations: 15.94 kB / 447.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.07651, allocations: 0 / 447.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.07652, allocations: 0 / 447.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.07653, allocations: 4 kB / 447.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.07653, allocations: 3.984 kB / 447.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.07669, allocations: 201.1 kB / 447.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.07674, allocations: 97 kB / 447.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.07676, allocations: 0 / 447.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.07683, allocations: 11.98 kB / 447.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.07687, allocations: 7.938 kB / 447.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.07688, allocations: 0 / 447.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.394e-05/0.07693, allocations: 123.1 kB / 448 MB, free: 10.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.07693, allocations: 0 / 448 MB, free: 10.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002116/0.07715, allocations: 8 kB / 448 MB, free: 10.58 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003615/0.07751, allocations: 0.7531 MB / 448.8 MB, free: 9.793 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.07766, allocations: 63.84 kB / 448.8 MB, free: 9.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.07767, allocations: 0 / 448.8 MB, free: 9.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.623e-05/0.07771, allocations: 16.67 kB / 448.8 MB, free: 9.715 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.07804, allocations: 51.83 kB / 448.9 MB, free: 9.664 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007534/0.0788, allocations: 0.6728 MB / 449.6 MB, free: 8.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.805e-05/0.07891, allocations: 0.7004 MB / 450.3 MB, free: 8.184 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.07896, allocations: 19.44 kB / 450.3 MB, free: 8.168 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.07896, allocations: 0 / 450.3 MB, free: 8.168 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.367/2.446, allocations: 1.322 MB / 451.6 MB, free: 6.848 MB / 298.7 MB (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,fractionalDelay.y,sample.y Variables in the result:fractionalDelay.first,fractionalDelay.n,fractionalDelay.resolution,fractionalDelay.shift,fractionalDelay.u,fractionalDelay.u_buffer[1],fractionalDelay.u_buffer[2],fractionalDelay.y,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,previous(fractionalDelay.first),previous(fractionalDelay.u_buffer[1]),sample.u,sample.y,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,time