Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009869/0.0009869, allocations: 197.2 kB / 17.05 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 226.6 MB / 244.3 MB, free: 8.305 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007657/0.0007656, allocations: 92.83 kB / 296.4 MB, free: 7.031 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002222/0.0002222, allocations: 8 kB / 356.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2202, allocations: 51.29 MB / 407.5 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.001453/0.2217, allocations: 1.304 MB / 408.8 MB, free: 26.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006969/0.2224, allocations: 0.5554 MB / 409.4 MB, free: 26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.629e-05/0.2225, allocations: 4.438 kB / 409.4 MB, free: 25.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.2227, allocations: 17.14 kB / 409.4 MB, free: 25.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.201e-05/0.2227, allocations: 7.922 kB / 409.4 MB, free: 25.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.223, allocations: 59.39 kB / 409.4 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.932e-05/0.2231, allocations: 64.89 kB / 409.5 MB, free: 25.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.182e-05/0.2232, allocations: 14.75 kB / 409.5 MB, free: 25.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.2233, allocations: 27.92 kB / 409.5 MB, free: 25.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.2234, allocations: 27.84 kB / 409.6 MB, free: 25.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.2234, allocations: 3.938 kB / 409.6 MB, free: 25.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.709e-05/0.2235, allocations: 4 kB / 409.6 MB, free: 25.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.2235, allocations: 19.92 kB / 409.6 MB, free: 25.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.2236, allocations: 37.64 kB / 409.6 MB, free: 25.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.679e-05/0.2237, allocations: 52.52 kB / 409.7 MB, free: 25.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2237, allocations: 0.5312 kB / 409.7 MB, free: 25.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.2237, allocations: 0 / 409.7 MB, free: 25.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.2237, allocations: 0.625 kB / 409.7 MB, free: 25.66 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.0003758/0.2241, allocations: 378.6 kB / 410.1 MB, free: 25.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.2241, allocations: 8.031 kB / 410.1 MB, free: 25.24 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.2242, allocations: 19.89 kB / 410.1 MB, free: 25.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.2244, allocations: 194.3 kB / 410.3 MB, free: 25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.2244, allocations: 7.781 kB / 410.3 MB, free: 24.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.2245, allocations: 4 kB / 410.3 MB, free: 24.99 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.2247, allocations: 153.8 kB / 410.4 MB, free: 24.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2247, allocations: 0.9375 kB / 410.4 MB, free: 24.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.2248, allocations: 0 / 410.4 MB, free: 24.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2248, allocations: 4 kB / 410.4 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.2249, allocations: 44.59 kB / 410.5 MB, free: 24.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.2251, allocations: 290.4 kB / 410.8 MB, free: 24.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.2253, allocations: 83.84 kB / 410.8 MB, free: 24.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.446e-05/0.2254, allocations: 38.62 kB / 410.9 MB, free: 24.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.2254, allocations: 15.92 kB / 410.9 MB, free: 24.26 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.2254, allocations: 30.56 kB / 410.9 MB, free: 24.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.2254, allocations: 4 kB / 410.9 MB, free: 24.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.000274/0.2257, allocations: 113.7 kB / 411 MB, free: 24.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.2258, allocations: 110.8 kB / 411.2 MB, free: 23.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.797e-05/0.2258, allocations: 142.4 kB / 411.3 MB, free: 23.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.2259, allocations: 25.95 kB / 411.3 MB, free: 23.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.2259, allocations: 96.14 kB / 411.4 MB, free: 23.69 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.2259, allocations: 3.906 kB / 411.4 MB, free: 23.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.2259, allocations: 4 kB / 411.4 MB, free: 23.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.643e-05/0.226, allocations: 318.8 kB / 411.7 MB, free: 23.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.176e-05/0.226, allocations: 19.98 kB / 411.8 MB, free: 23.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.712e-05/0.2261, allocations: 69.94 kB / 411.8 MB, free: 23.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.471e-05/0.2262, allocations: 31.92 kB / 411.9 MB, free: 23.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2262, allocations: 0 / 411.9 MB, free: 23.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001627/0.2264, allocations: 109.5 kB / 412 MB, free: 23.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2264, allocations: 11.98 kB / 412 MB, free: 23.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2264, allocations: 4 kB / 412 MB, free: 23.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2264, allocations: 4 kB / 412 MB, free: 23.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.703e-05/0.2265, allocations: 12.22 kB / 412 MB, free: 23.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2265, allocations: 7.938 kB / 412 MB, free: 23.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.374e-05/0.2266, allocations: 11.98 kB / 412 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.2266, allocations: 8 kB / 412 MB, free: 23.05 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.216e-05/0.2267, allocations: 117.8 kB / 412.1 MB, free: 22.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-05/0.2268, allocations: 69.48 kB / 412.2 MB, free: 22.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.85e-05/0.2268, allocations: 20.3 kB / 412.2 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2268, allocations: 0 / 412.2 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.2269, allocations: 4 kB / 412.2 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2269, allocations: 4.031 kB / 412.2 MB, free: 22.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.227, allocations: 177.6 kB / 412.4 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.227, allocations: 0 / 412.4 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.536e-05/0.2271, allocations: 19.97 kB / 412.4 MB, free: 22.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2271, allocations: 3.953 kB / 412.4 MB, free: 22.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.2271, allocations: 7.938 kB / 412.4 MB, free: 22.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2271, allocations: 0 / 412.4 MB, free: 22.56 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2271, allocations: 0 / 412.4 MB, free: 22.56 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.2273, allocations: 205 kB / 412.6 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.2274, allocations: 93 kB / 412.7 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.2274, allocations: 11.94 kB / 412.7 MB, free: 22.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.2275, allocations: 4 kB / 412.7 MB, free: 22.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.2275, allocations: 4 kB / 412.7 MB, free: 22.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.2275, allocations: 8 kB / 412.8 MB, free: 22.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.009e-05/0.2276, allocations: 110.4 kB / 412.9 MB, free: 22.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2276, allocations: 0 / 412.9 MB, free: 22.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000218/0.2278, allocations: 8 kB / 412.9 MB, free: 22.09 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 9.095e-05/0.2279, allocations: 103.2 kB / 413 MB, free: 21.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.228, allocations: 60.22 kB / 413 MB, free: 21.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2281, allocations: 4 kB / 413 MB, free: 21.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.566e-05/0.2281, allocations: 8.172 kB / 413 MB, free: 21.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.2284, allocations: 47.89 kB / 413.1 MB, free: 21.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003886/0.2288, allocations: 264.9 kB / 413.3 MB, free: 21.56 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.229, allocations: 0.7004 MB / 414 MB, free: 20.83 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.229, allocations: 15.44 kB / 414.1 MB, free: 20.82 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.229, allocations: 0 / 414.1 MB, free: 20.82 MB / 298.7 MB Notification: Performance of Templates: time 0.002024/0.231, allocations: 1.073 MB / 415.1 MB, free: 19.75 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches