Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.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 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 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 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: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|fractionalDelay.y|sample.y",fileNamePrefix="Modelica_Synchronous_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_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007013/0.0007013, allocations: 102.8 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007745/0.0007746, allocations: 181.7 kB / 16.97 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.4 MB / 223.1 MB, free: 5.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06299/0.06299, allocations: 12.61 MB / 284 MB, free: 8.805 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006254/0.0006255, allocations: 24 kB / 345.2 MB, free: 20.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07294/0.07357, allocations: 50.38 MB / 395.6 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay): time 0.001569/0.07517, allocations: 1.325 MB / 396.9 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000774/0.07597, allocations: 0.562 MB / 397.4 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.136e-05/0.07606, allocations: 4 kB / 397.4 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.07623, allocations: 7.922 kB / 397.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.921e-05/0.07629, allocations: 7.938 kB / 397.5 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.07655, allocations: 55.88 kB / 397.5 MB, free: 476 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.901e-05/0.07666, allocations: 67.78 kB / 397.6 MB, free: 408 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.942e-05/0.07675, allocations: 19.98 kB / 397.6 MB, free: 388 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.772e-05/0.07684, allocations: 35.78 kB / 397.6 MB, free: 352 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.594e-05/0.07693, allocations: 23.86 kB / 397.7 MB, free: 328 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.07695, allocations: 4 kB / 397.7 MB, free: 324 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-06/0.07697, allocations: 0 / 397.7 MB, free: 324 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.635e-05/0.07703, allocations: 15.92 kB / 397.7 MB, free: 308 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.07708, allocations: 53.5 kB / 397.7 MB, free: 248 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.559e-05/0.07718, allocations: 64 kB / 397.8 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.07719, allocations: 0 / 397.8 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.07719, allocations: 0 / 397.8 MB, free: 184 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.0772, allocations: 0 / 397.8 MB, free: 184 kB / 286.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.0003821/0.07759, allocations: 383.1 kB / 398.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.07763, allocations: 8.031 kB / 398.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.07767, allocations: 16.75 kB / 398.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.07783, allocations: 196.7 kB / 398.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.07785, allocations: 384 / 398.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.07787, allocations: 12.12 kB / 398.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.07817, allocations: 145.9 kB / 398.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.07819, allocations: 3.938 kB / 398.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.0782, allocations: 3.984 kB / 398.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.07821, allocations: 0 / 398.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.07832, allocations: 35.98 kB / 398.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.07862, allocations: 286.4 kB / 398.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.07875, allocations: 87.84 kB / 398.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.568e-05/0.07884, allocations: 42.62 kB / 399 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.07886, allocations: 3.984 kB / 399 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.07889, allocations: 34.56 kB / 399 MB, free: 14.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.0789, allocations: 7.875 kB / 399 MB, free: 14.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002792/0.07918, allocations: 117.4 kB / 399.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.07925, allocations: 110.8 kB / 399.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.07936, allocations: 141.8 kB / 399.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.07938, allocations: 25.7 kB / 399.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.07943, allocations: 96.39 kB / 399.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.07945, allocations: 7.906 kB / 399.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.07948, allocations: 17.7 kB / 399.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.859e-05/0.07958, allocations: 318.8 kB / 399.8 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.036e-05/0.07963, allocations: 19.98 kB / 399.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.719e-05/0.07971, allocations: 69.92 kB / 399.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.07984, allocations: 89.92 kB / 400 MB, free: 13.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.07985, allocations: 0 / 400 MB, free: 13.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000167/0.08002, allocations: 105.5 kB / 400.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.08004, allocations: 8.219 kB / 400.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.08005, allocations: 256 / 400.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.08007, allocations: 7.984 kB / 400.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.791e-05/0.08016, allocations: 23.94 kB / 400.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.08018, allocations: 4 kB / 400.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.285e-05/0.08023, allocations: 15.86 kB / 400.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.08025, allocations: 4 kB / 400.2 MB, free: 13.46 MB / 302.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.0001016/0.08036, allocations: 125.8 kB / 400.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.08046, allocations: 73.59 kB / 400.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.0805, allocations: 12.3 kB / 400.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.08051, allocations: 4 kB / 400.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.08052, allocations: 0 / 400.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.08053, allocations: 3.938 kB / 400.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.08068, allocations: 181.5 kB / 400.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.08069, allocations: 4 kB / 400.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.267e-05/0.08076, allocations: 15.92 kB / 400.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.08077, allocations: 4 kB / 400.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.08078, allocations: 0 / 400.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.08079, allocations: 4.031 kB / 400.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.0808, allocations: 0 / 400.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.08099, allocations: 197.1 kB / 400.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.08106, allocations: 93 kB / 400.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.08108, allocations: 16.11 kB / 400.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.08116, allocations: 4 kB / 400.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.08119, allocations: 7.875 kB / 400.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.0812, allocations: 7.938 kB / 400.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.428e-05/0.08127, allocations: 112 kB / 401 MB, free: 12.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08127, allocations: 0 / 401 MB, free: 12.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.0815, allocations: 12 kB / 401 MB, free: 12.49 MB / 302.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 7.071e-05/0.08158, allocations: 91.25 kB / 401.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001545/0.08174, allocations: 63.91 kB / 401.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.08175, allocations: 4 kB / 401.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.78e-05/0.08179, allocations: 7.984 kB / 401.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.08213, allocations: 45.11 kB / 401.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.08253, allocations: 254.7 kB / 401.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.08276, allocations: 0.6965 MB / 402.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.978e-05/0.08279, allocations: 8.906 kB / 402.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.08282, allocations: 11.44 kB / 402.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.08283, allocations: 0 / 402.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of Templates: time 0.002367/0.0852, allocations: 0.773 MB / 403 MB, free: 10.48 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_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_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches