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.001585/0.001585, allocations: 195.9 kB / 17.38 MB, free: 4.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 226.6 MB / 244.7 MB, free: 8.086 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008068/0.0008068, allocations: 100.3 kB / 296.8 MB, free: 6.859 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002263/0.0002264, allocations: 4 kB / 356.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2167, allocations: 51.3 MB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.00206/0.2189, allocations: 1.312 MB / 409.4 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.22, allocations: 0.5341 MB / 409.9 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.39e-05/0.2201, allocations: 1.188 kB / 409.9 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.2203, allocations: 11.94 kB / 409.9 MB, free: 25.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.065e-05/0.2204, allocations: 11.92 kB / 409.9 MB, free: 25.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.2208, allocations: 56.5 kB / 410 MB, free: 25.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.2209, allocations: 60.69 kB / 410 MB, free: 25.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.2211, allocations: 9.5 kB / 410 MB, free: 25.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.2212, allocations: 43.84 kB / 410.1 MB, free: 25.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.2214, allocations: 23.84 kB / 410.1 MB, free: 25.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.2214, allocations: 0.9375 kB / 410.1 MB, free: 25.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.476e-05/0.2215, allocations: 8 kB / 410.1 MB, free: 25.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.859e-05/0.2216, allocations: 12.52 kB / 410.1 MB, free: 25.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.2216, allocations: 57.45 kB / 410.2 MB, free: 25.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.2218, allocations: 48.69 kB / 410.2 MB, free: 25.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.2218, allocations: 3.984 kB / 410.2 MB, free: 25.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2218, allocations: 2.75 kB / 410.2 MB, free: 25.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.2218, allocations: 0 / 410.2 MB, free: 25.48 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.0005085/0.2224, allocations: 372.2 kB / 410.6 MB, free: 25.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.2224, allocations: 12.03 kB / 410.6 MB, free: 25.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.2226, allocations: 21.45 kB / 410.6 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.2228, allocations: 204.9 kB / 410.8 MB, free: 24.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.2229, allocations: 384 / 410.8 MB, free: 24.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.2229, allocations: 14.28 kB / 410.9 MB, free: 24.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.2234, allocations: 150.7 kB / 411 MB, free: 24.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2234, allocations: 4 kB / 411 MB, free: 24.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.2234, allocations: 3.984 kB / 411 MB, free: 24.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.2234, allocations: 0 / 411 MB, free: 24.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.2236, allocations: 39.91 kB / 411.1 MB, free: 24.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.2239, allocations: 290.5 kB / 411.3 MB, free: 24.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.2241, allocations: 83.84 kB / 411.4 MB, free: 24.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.2242, allocations: 38.62 kB / 411.5 MB, free: 24.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.2243, allocations: 11.98 kB / 411.5 MB, free: 24.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.2243, allocations: 38.5 kB / 411.5 MB, free: 24.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.2243, allocations: 0 / 411.5 MB, free: 24.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003982/0.2247, allocations: 113.4 kB / 411.6 MB, free: 23.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.2248, allocations: 115.3 kB / 411.7 MB, free: 23.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.225, allocations: 145.8 kB / 411.9 MB, free: 23.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.225, allocations: 25.7 kB / 411.9 MB, free: 23.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.225, allocations: 88.14 kB / 412 MB, free: 23.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.2251, allocations: 7.906 kB / 412 MB, free: 23.49 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-06/0.2251, allocations: 4 kB / 412 MB, free: 23.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.485e-05/0.2251, allocations: 322.8 kB / 412.3 MB, free: 23.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.215e-05/0.2252, allocations: 19.98 kB / 412.3 MB, free: 23.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.529e-05/0.2253, allocations: 62 kB / 412.4 MB, free: 23.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.2255, allocations: 93.86 kB / 412.5 MB, free: 22.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2255, allocations: 0 / 412.5 MB, free: 22.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002485/0.2258, allocations: 105.5 kB / 412.6 MB, free: 22.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.2258, allocations: 8 kB / 412.6 MB, free: 22.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2258, allocations: 0 / 412.6 MB, free: 22.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.2259, allocations: 8 kB / 412.6 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.226, allocations: 20.11 kB / 412.6 MB, free: 22.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.226, allocations: 7.984 kB / 412.6 MB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.041e-05/0.2261, allocations: 16.09 kB / 412.6 MB, free: 22.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.2261, allocations: 8 kB / 412.6 MB, free: 22.77 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 0.0001251/0.2263, allocations: 121.8 kB / 412.8 MB, free: 22.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.2264, allocations: 65.53 kB / 412.8 MB, free: 22.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.2265, allocations: 16.31 kB / 412.8 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2265, allocations: 7.984 kB / 412.9 MB, free: 22.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2265, allocations: 0 / 412.9 MB, free: 22.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.2265, allocations: 3.938 kB / 412.9 MB, free: 22.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.2267, allocations: 177.6 kB / 413 MB, free: 22.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2267, allocations: 4 kB / 413 MB, free: 22.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.965e-05/0.2268, allocations: 12 kB / 413 MB, free: 22.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.2269, allocations: 0 / 413 MB, free: 22.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.2269, allocations: 7.938 kB / 413.1 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2269, allocations: 0 / 413.1 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2269, allocations: 3.984 kB / 413.1 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.2271, allocations: 212.9 kB / 413.3 MB, free: 22.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.2272, allocations: 93 kB / 413.4 MB, free: 21.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.2272, allocations: 4 kB / 413.4 MB, free: 21.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.2274, allocations: 7.984 kB / 413.4 MB, free: 21.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.2274, allocations: 4 kB / 413.4 MB, free: 21.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.2274, allocations: 7.938 kB / 413.4 MB, free: 21.92 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.616e-05/0.2275, allocations: 113.7 kB / 413.5 MB, free: 21.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2275, allocations: 0 / 413.5 MB, free: 21.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004135/0.2279, allocations: 8 kB / 413.5 MB, free: 21.8 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.0001099/0.2281, allocations: 107.2 kB / 413.6 MB, free: 21.69 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.2283, allocations: 55.91 kB / 413.7 MB, free: 21.64 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2283, allocations: 4.438 kB / 413.7 MB, free: 21.63 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.229e-05/0.2284, allocations: 4 kB / 413.7 MB, free: 21.63 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005524/0.2289, allocations: 54.33 kB / 413.7 MB, free: 21.58 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005704/0.2295, allocations: 260.6 kB / 414 MB, free: 21.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.2297, allocations: 0.7043 MB / 414.7 MB, free: 20.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.2297, allocations: 15.42 kB / 414.7 MB, free: 20.54 MB / 298.7 MB Notification: Performance of SimCode: time 3.2e-07/0.2298, allocations: 0 / 414.7 MB, free: 20.54 MB / 298.7 MB Notification: Performance of Templates: time 0.002907/0.2327, allocations: 1.077 MB / 415.8 MB, free: 19.47 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