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-master/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-master/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: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|fractionalDelay.y|sample.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|fractionalDelay.y|sample.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009601/0.0009598, allocations: 174.4 kB / 16.77 MB, free: 4.898 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.52/1.52, allocations: 205.4 MB / 222.9 MB, free: 8.93 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.0008267/0.0008264, allocations: 90.41 kB / 271.3 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06635/0.06635, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004035, allocations: 16 kB / 392.6 MB, free: 66.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07474/0.07516, allocations: 50.37 MB / 443 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay): time 0.001371/0.07657, allocations: 1.29 MB / 444.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006626/0.07725, allocations: 0.5389 MB / 444.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.042e-05/0.07734, allocations: 4 kB / 444.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.07754, allocations: 11.86 kB / 444.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.54e-05/0.0776, allocations: 19.92 kB / 444.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.07782, allocations: 43.89 kB / 444.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.347e-05/0.07792, allocations: 59.84 kB / 444.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.706e-05/0.07803, allocations: 23.86 kB / 445 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.447e-05/0.07813, allocations: 27.86 kB / 445 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.658e-05/0.07824, allocations: 31.83 kB / 445 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.07826, allocations: 4 kB / 445 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.118e-05/0.07828, allocations: 4 kB / 445 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.063e-05/0.07833, allocations: 19.92 kB / 445 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.07838, allocations: 53.52 kB / 445.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.888e-05/0.07845, allocations: 43.91 kB / 445.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.07846, allocations: 0 / 445.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.07847, allocations: 0 / 445.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.07848, allocations: 0 / 445.1 MB, free: 13.93 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.0003561/0.07884, allocations: 371.5 kB / 445.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.07888, allocations: 8.031 kB / 445.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.07892, allocations: 16.75 kB / 445.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.07907, allocations: 200.6 kB / 445.7 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.0791, allocations: 16.31 kB / 445.7 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.07912, allocations: 8.125 kB / 445.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.07939, allocations: 149.9 kB / 445.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.07941, allocations: 0 / 445.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.07942, allocations: 0 / 445.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.07943, allocations: 4 kB / 445.9 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.07954, allocations: 35.91 kB / 445.9 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002709/0.07982, allocations: 282.5 kB / 446.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.07994, allocations: 87.69 kB / 446.3 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.227e-05/0.08002, allocations: 50.69 kB / 446.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.08005, allocations: 7.984 kB / 446.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.08007, allocations: 34.56 kB / 446.4 MB, free: 12.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.08008, allocations: 0 / 446.4 MB, free: 12.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002713/0.08036, allocations: 113.7 kB / 446.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.08041, allocations: 110.8 kB / 446.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.082e-05/0.08051, allocations: 149.8 kB / 446.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.08053, allocations: 25.7 kB / 446.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.186e-05/0.08056, allocations: 92.12 kB / 446.9 MB, free: 11.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.08058, allocations: 11.84 kB / 446.9 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.08059, allocations: 0 / 446.9 MB, free: 11.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.856e-05/0.08065, allocations: 334.7 kB / 447.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.743e-05/0.0807, allocations: 16 kB / 447.2 MB, free: 11.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.593e-05/0.08077, allocations: 61.98 kB / 447.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.94e-05/0.08087, allocations: 85.88 kB / 447.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.08088, allocations: 0 / 447.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001543/0.08104, allocations: 117.4 kB / 447.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.08107, allocations: 4.625 kB / 447.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.08108, allocations: 0 / 447.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.0811, allocations: 4 kB / 447.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.079e-05/0.08119, allocations: 16.16 kB / 447.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.08121, allocations: 11.98 kB / 447.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.08126, allocations: 7.938 kB / 447.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.08128, allocations: 4 kB / 447.5 MB, free: 11.22 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.0001089/0.08139, allocations: 130.4 kB / 447.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.006e-05/0.08149, allocations: 73.52 kB / 447.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.08153, allocations: 8.312 kB / 447.7 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.08153, allocations: 4 kB / 447.7 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.08154, allocations: 0 / 447.7 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.08155, allocations: 7.969 kB / 447.7 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.08168, allocations: 181.5 kB / 447.9 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.08169, allocations: 4 kB / 447.9 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.171e-05/0.08176, allocations: 11.98 kB / 447.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.08177, allocations: 4 kB / 447.9 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.08178, allocations: 320 / 447.9 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.08179, allocations: 7.938 kB / 447.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.0818, allocations: 0 / 447.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.08197, allocations: 201.1 kB / 448.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.08202, allocations: 92.98 kB / 448.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.08205, allocations: 8 kB / 448.2 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.011e-05/0.08214, allocations: 4 kB / 448.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.08218, allocations: 0 / 448.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.08219, allocations: 11.94 kB / 448.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.843e-05/0.08224, allocations: 107.2 kB / 448.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.08225, allocations: 0 / 448.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002176/0.08247, allocations: 19.94 kB / 448.4 MB, free: 10.26 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 7.243e-05/0.08255, allocations: 95.19 kB / 448.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.0827, allocations: 64.53 kB / 448.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.08272, allocations: 4.062 kB / 448.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.531e-05/0.08276, allocations: 15.92 kB / 448.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.08311, allocations: 41.27 kB / 448.6 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/0.08352, allocations: 268.6 kB / 448.9 MB, free: 9.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.08366, allocations: 0.7004 MB / 449.6 MB, free: 9.004 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.0837, allocations: 15.44 kB / 449.6 MB, free: 8.992 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.08371, allocations: 0 / 449.6 MB, free: 8.992 MB / 298.7 MB Notification: Performance of Templates: time 0.001988/0.0857, allocations: 1.072 MB / 450.6 MB, free: 7.922 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.makefile (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 & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay --alarm=480 -emit_protected > 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/jenkins/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) Reference file matches