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.001101/0.001101, allocations: 101.2 kB / 16.02 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 200.2 kB / 16.95 MB, free: 6.145 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.632/1.632, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06927/0.06927, allocations: 12.58 MB / 282.7 MB, free: 15.64 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.001713/0.001713, allocations: 87.89 kB / 343 MB, free: 3.305 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2987, allocations: 49.38 MB / 392.4 MB, free: 49.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay): time 0.003402/0.3022, allocations: 1.649 MB / 394 MB, free: 48.03 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.3035, allocations: 0.5747 MB / 394.6 MB, free: 47.63 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.3037, allocations: 1.094 kB / 394.6 MB, free: 47.63 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.304, allocations: 14.09 kB / 394.6 MB, free: 47.62 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.575e-05/0.3041, allocations: 12.52 kB / 394.6 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.3044, allocations: 61.39 kB / 394.7 MB, free: 47.58 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.3045, allocations: 67.53 kB / 394.7 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.3047, allocations: 23.19 kB / 394.8 MB, free: 47.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.3048, allocations: 42.75 kB / 394.8 MB, free: 47.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.3049, allocations: 26.73 kB / 394.8 MB, free: 47.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.305, allocations: 8.047 kB / 394.8 MB, free: 47.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.655e-05/0.305, allocations: 4 kB / 394.8 MB, free: 47.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.815e-05/0.3051, allocations: 23.11 kB / 394.9 MB, free: 47.49 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.776e-05/0.3051, allocations: 29.39 kB / 394.9 MB, free: 47.47 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.3053, allocations: 66.81 kB / 395 MB, free: 47.44 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.3053, allocations: 5.672 kB / 395 MB, free: 47.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3053, allocations: 0 / 395 MB, free: 47.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3053, allocations: 0 / 395 MB, free: 47.43 MB / 318.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.0004762/0.3058, allocations: 390.8 kB / 395.4 MB, free: 47.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3058, allocations: 9.156 kB / 395.4 MB, free: 47.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.3059, allocations: 10.73 kB / 395.4 MB, free: 47.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.3061, allocations: 200.7 kB / 395.6 MB, free: 46.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.3061, allocations: 6.125 kB / 395.6 MB, free: 46.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.3061, allocations: 7.75 kB / 395.6 MB, free: 46.81 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.3065, allocations: 153.1 kB / 395.7 MB, free: 46.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3065, allocations: 0 / 395.7 MB, free: 46.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3065, allocations: 1.562 kB / 395.7 MB, free: 46.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/0.3065, allocations: 1.188 kB / 395.7 MB, free: 46.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.3067, allocations: 27.23 kB / 395.8 MB, free: 46.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.307, allocations: 289.4 kB / 396 MB, free: 46.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.3072, allocations: 84.62 kB / 396.1 MB, free: 46.31 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.544e-05/0.3073, allocations: 44.62 kB / 396.2 MB, free: 46.28 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.3073, allocations: 4.703 kB / 396.2 MB, free: 46.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.3073, allocations: 38.69 kB / 396.2 MB, free: 46.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.3073, allocations: 0 / 396.2 MB, free: 46.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003175/0.3077, allocations: 113.4 kB / 396.3 MB, free: 46.17 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.3077, allocations: 114.5 kB / 396.4 MB, free: 46.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.3079, allocations: 147.5 kB / 396.6 MB, free: 45.92 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.3079, allocations: 26.73 kB / 396.6 MB, free: 45.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.3079, allocations: 92.12 kB / 396.7 MB, free: 45.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.308, allocations: 7.984 kB / 396.7 MB, free: 45.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.308, allocations: 22.36 kB / 396.7 MB, free: 45.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.297e-05/0.3081, allocations: 322.2 kB / 397 MB, free: 45.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-05/0.3082, allocations: 18.03 kB / 397.1 MB, free: 45.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.713e-05/0.3082, allocations: 73.14 kB / 397.1 MB, free: 45.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.3084, allocations: 78.17 kB / 397.2 MB, free: 45.3 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3084, allocations: 0 / 397.2 MB, free: 45.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002063/0.3086, allocations: 111 kB / 397.3 MB, free: 45.24 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.3086, allocations: 10.69 kB / 397.3 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.3087, allocations: 2.312 kB / 397.3 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.3087, allocations: 2.25 kB / 397.3 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.3088, allocations: 14.52 kB / 397.3 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.3088, allocations: 2.406 kB / 397.3 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.483e-05/0.3089, allocations: 8.828 kB / 397.4 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3089, allocations: 3.406 kB / 397.4 MB, free: 45.23 MB / 318.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.0001832/0.3091, allocations: 128.5 kB / 397.5 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.3092, allocations: 70.62 kB / 397.5 MB, free: 45.06 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.3093, allocations: 12.98 kB / 397.6 MB, free: 45.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3093, allocations: 2.016 kB / 397.6 MB, free: 45.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3093, allocations: 1.438 kB / 397.6 MB, free: 45.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3093, allocations: 10.14 kB / 397.6 MB, free: 45.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.3095, allocations: 183.7 kB / 397.8 MB, free: 44.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3095, allocations: 2.516 kB / 397.8 MB, free: 44.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.203e-05/0.3095, allocations: 19.73 kB / 397.8 MB, free: 44.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3096, allocations: 0 / 397.8 MB, free: 44.83 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.3096, allocations: 2.562 kB / 397.8 MB, free: 44.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.3096, allocations: 1.062 kB / 397.8 MB, free: 44.83 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3096, allocations: 5.406 kB / 397.8 MB, free: 44.83 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.3098, allocations: 194.5 kB / 398 MB, free: 44.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.428e-05/0.3099, allocations: 99.56 kB / 398.1 MB, free: 44.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.3099, allocations: 2.25 kB / 398.1 MB, free: 44.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.31, allocations: 7.984 kB / 398.1 MB, free: 44.55 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.31, allocations: 5.766 kB / 398.1 MB, free: 44.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.3101, allocations: 10.94 kB / 398.1 MB, free: 44.54 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.982e-05/0.3102, allocations: 113.5 kB / 398.2 MB, free: 44.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3102, allocations: 0 / 398.2 MB, free: 44.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.3104, allocations: 9.375 kB / 398.2 MB, free: 44.45 MB / 318.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 0.00014/0.3106, allocations: 98.53 kB / 398.3 MB, free: 44.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.3108, allocations: 65.02 kB / 398.4 MB, free: 44.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3108, allocations: 1.656 kB / 398.4 MB, free: 44.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.255e-05/0.3109, allocations: 11.91 kB / 398.4 MB, free: 44.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.3113, allocations: 43.64 kB / 398.4 MB, free: 44.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/0.3119, allocations: 236.6 kB / 398.7 MB, free: 44.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.3121, allocations: 0.7063 MB / 399.4 MB, free: 43.42 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.662e-05/0.3122, allocations: 6.406 kB / 399.4 MB, free: 43.42 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.3122, allocations: 12.09 kB / 399.4 MB, free: 43.41 MB / 318.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3122, allocations: 4 kB / 399.4 MB, free: 43.41 MB / 318.1 MB Notification: Performance of Templates: time 0.003513/0.3157, allocations: 0.8017 MB / 400.2 MB, free: 43.02 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.makefile (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) 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