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/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: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009122/0.0009121, allocations: 174.9 kB / 16.11 MB, free: 5.574 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.364/1.364, allocations: 205 MB / 221.9 MB, free: 9.133 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.0007383/0.0007383, allocations: 84.58 kB / 269.9 MB, free: 8.664 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.07336/0.07336, allocations: 12.57 MB / 330.4 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004197, allocations: 16 kB / 391.2 MB, free: 66.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08416/0.08459, allocations: 49.97 MB / 441.1 MB, free: 16.28 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay): time 0.001376/0.08601, allocations: 1.313 MB / 442.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006326/0.08666, allocations: 0.5736 MB / 443 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.037e-05/0.08674, allocations: 0 / 443 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.08695, allocations: 15.94 kB / 443 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.628e-05/0.08701, allocations: 15.91 kB / 443.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.08722, allocations: 55.77 kB / 443.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.354e-05/0.08732, allocations: 59.84 kB / 443.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.711e-05/0.08741, allocations: 15.97 kB / 443.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.334e-05/0.08749, allocations: 31.86 kB / 443.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.08758, allocations: 31.84 kB / 443.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.0876, allocations: 0 / 443.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.08762, allocations: 4 kB / 443.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.152e-05/0.08768, allocations: 19.91 kB / 443.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.08771, allocations: 27.81 kB / 443.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.513e-05/0.08779, allocations: 63.94 kB / 443.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.0878, allocations: 0 / 443.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.08781, allocations: 0 / 443.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.08782, allocations: 0 / 443.4 MB, free: 14.04 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.0003356/0.08816, allocations: 379.2 kB / 443.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.0882, allocations: 8.031 kB / 443.7 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.675e-05/0.08823, allocations: 42.67 kB / 443.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.08826, allocations: 12.75 kB / 443.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.08839, allocations: 192.8 kB / 444 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.08842, allocations: 4.375 kB / 444 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.08843, allocations: 11.88 kB / 444 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.0887, allocations: 157.7 kB / 444.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.08872, allocations: 0 / 444.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.08873, allocations: 0 / 444.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.08874, allocations: 0 / 444.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.243e-05/0.08884, allocations: 43.91 kB / 444.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002218/0.08907, allocations: 282.6 kB / 444.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.747e-05/0.08917, allocations: 83.72 kB / 444.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.728e-05/0.08925, allocations: 42.75 kB / 444.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.08928, allocations: 15.91 kB / 444.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.0893, allocations: 38.5 kB / 444.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.08931, allocations: 0 / 444.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002431/0.08956, allocations: 117.5 kB / 444.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.0896, allocations: 102.8 kB / 444.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.08969, allocations: 153.7 kB / 445 MB, free: 12.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.874e-06/0.0897, allocations: 25.7 kB / 445 MB, free: 12.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.429e-05/0.08973, allocations: 88.39 kB / 445.1 MB, free: 12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.08975, allocations: 15.91 kB / 445.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/0.08978, allocations: 17.7 kB / 445.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.195e-05/0.08982, allocations: 314.8 kB / 445.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.644e-05/0.08987, allocations: 23.92 kB / 445.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.127e-05/0.08993, allocations: 66 kB / 445.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.199e-05/0.09003, allocations: 81.92 kB / 445.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.09004, allocations: 0 / 445.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001421/0.09019, allocations: 113.4 kB / 445.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.09021, allocations: 4.219 kB / 445.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.09022, allocations: 8 kB / 445.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.09023, allocations: 0 / 445.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.925e-05/0.09032, allocations: 16.17 kB / 445.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.09033, allocations: 4 kB / 445.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.814e-05/0.09038, allocations: 19.8 kB / 445.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.0904, allocations: 4 kB / 445.8 MB, free: 11.27 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 ($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 9.655e-05/0.0905, allocations: 126.7 kB / 445.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-05/0.09059, allocations: 73.44 kB / 446 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.09063, allocations: 20.33 kB / 446 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.09064, allocations: 0 / 446 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.09064, allocations: 0 / 446 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.09065, allocations: 11.92 kB / 446 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.09077, allocations: 177.6 kB / 446.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.09078, allocations: 0 / 446.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-05/0.09084, allocations: 8 kB / 446.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.09085, allocations: 4 kB / 446.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.09087, allocations: 3.984 kB / 446.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.09087, allocations: 0 / 446.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.09088, allocations: 8.312 kB / 446.2 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.09104, allocations: 201 kB / 446.4 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.09109, allocations: 97 kB / 446.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.09111, allocations: 7.984 kB / 446.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.54e-05/0.09118, allocations: 8 kB / 446.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.09121, allocations: 7.938 kB / 446.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.09122, allocations: 4 kB / 446.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.458e-05/0.09127, allocations: 112 kB / 446.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09127, allocations: 0 / 446.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002059/0.09148, allocations: 8 kB / 446.7 MB, free: 10.3 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 (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.0003546/0.09184, allocations: 0.7726 MB / 447.4 MB, free: 9.496 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.09199, allocations: 60.09 kB / 447.5 MB, free: 9.438 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.092, allocations: 0 / 447.5 MB, free: 9.438 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.158e-05/0.09204, allocations: 12 kB / 447.5 MB, free: 9.426 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.09236, allocations: 46.56 kB / 447.6 MB, free: 9.383 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.09342, allocations: 1.578 MB / 449.1 MB, free: 7.676 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.09355, allocations: 0.7043 MB / 449.8 MB, free: 6.945 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.91e-05/0.09358, allocations: 8.656 kB / 449.8 MB, free: 6.938 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.09363, allocations: 19.44 kB / 449.9 MB, free: 6.918 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.09363, allocations: 4 kB / 449.9 MB, free: 6.914 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1689/0.2626, allocations: 1.794 MB / 451.7 MB, free: 5.117 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.2628, allocations: 239.9 kB / 451.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.233, allocations: 0 / 451.9 MB, free: 4.852 MB / 298.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins1/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