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: 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/Complex 3.2.3+maint.om/package.mo): time 0.00135/0.00135, allocations: 177.6 kB / 8.045 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.3 MB / 213.8 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009356/0.0009356, allocations: 90.61 kB / 261.8 MB, free: 1.688 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.06971/0.06971, allocations: 12.6 MB / 322.3 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.848e-05/1.85e-05, allocations: 4 kB / 378.9 MB, free: 6.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2497, allocations: 50.37 MB / 429.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1014/0.3511, allocations: 77.81 MB / 0.4952 GB, free: 4.426 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.3514, allocations: 79.95 kB / 0.4953 GB, free: 4.348 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00553/0.3569, allocations: 2.079 MB / 0.4973 GB, free: 2.266 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.357, allocations: 0 / 0.4973 GB, free: 2.266 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.357, allocations: 0 / 0.4973 GB, free: 2.266 MB / 346.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.0003153/0.3573, allocations: 362.3 kB / 0.4977 GB, free: 1.867 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.3574, allocations: 8.031 kB / 0.4977 GB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.3574, allocations: 15.81 kB / 0.4977 GB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.3576, allocations: 206.8 kB / 0.4979 GB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3576, allocations: 7.891 kB / 0.4979 GB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.3577, allocations: 4 kB / 0.4979 GB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.996e-05/0.3577, allocations: 24 kB / 0.4979 GB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.358, allocations: 133.8 kB / 0.4981 GB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.358, allocations: 0 / 0.4981 GB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.358, allocations: 4 kB / 0.4981 GB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3581, allocations: 0 / 0.4981 GB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.3584, allocations: 267.1 kB / 0.4983 GB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.073e-05/0.3585, allocations: 71.78 kB / 0.4984 GB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.3585, allocations: 38.77 kB / 0.4984 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.3586, allocations: 3.938 kB / 0.4984 GB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.3586, allocations: 39.83 kB / 0.4985 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.3586, allocations: 0 / 0.4985 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001918/0.3588, allocations: 77.53 kB / 0.4985 GB, free: 0.8281 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.3589, allocations: 114.8 kB / 0.4987 GB, free: 0.6914 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.507e-05/0.359, allocations: 129.5 kB / 0.4988 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.359, allocations: 25.7 kB / 0.4988 GB, free: 0.5273 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/0.359, allocations: 88.14 kB / 0.4989 GB, free: 448 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.3591, allocations: 11.97 kB / 0.4989 GB, free: 436 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.3591, allocations: 0 / 0.4989 GB, free: 436 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.386e-05/0.3592, allocations: 318.8 kB / 0.4992 GB, free: 108 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.086e-05/0.3592, allocations: 8 kB / 0.4992 GB, free: 100 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.047e-05/0.3592, allocations: 61.94 kB / 0.4993 GB, free: 16 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.766e-05/0.3593, allocations: 20.05 kB / 0.4993 GB, free: 15.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3593, allocations: 0 / 0.4993 GB, free: 15.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000121/0.3594, allocations: 89.36 kB / 0.4994 GB, free: 15.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.3594, allocations: 4.219 kB / 0.4994 GB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3595, allocations: 8 kB / 0.4994 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.3595, allocations: 0 / 0.4994 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.893e-05/0.3596, allocations: 19.98 kB / 0.4994 GB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3596, allocations: 192 / 0.4994 GB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.221e-05/0.3596, allocations: 4 kB / 0.4994 GB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.3597, allocations: 11.88 kB / 0.4994 GB, free: 15.86 MB / 362.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 () * 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 6.841e-05/0.3597, allocations: 112.9 kB / 0.4995 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.599e-05/0.3598, allocations: 65.53 kB / 0.4996 GB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.3599, allocations: 16.44 kB / 0.4996 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3599, allocations: 3.938 kB / 0.4996 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3599, allocations: 4 kB / 0.4996 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.3599, allocations: 0 / 0.4996 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.36, allocations: 150.2 kB / 0.4998 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3601, allocations: 4 kB / 0.4998 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.269e-05/0.3601, allocations: 8 kB / 0.4998 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3601, allocations: 7.984 kB / 0.4998 GB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.3602, allocations: 3.953 kB / 0.4998 GB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3602, allocations: 0 / 0.4998 GB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3602, allocations: 8 kB / 0.4998 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.3603, allocations: 208.5 kB / 0.5 GB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-05/0.3604, allocations: 96.98 kB / 0.5001 GB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.3604, allocations: 4 kB / 0.5001 GB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.3605, allocations: 4 kB / 0.5001 GB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.3605, allocations: 4 kB / 0.5001 GB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3605, allocations: 3.938 kB / 0.5001 GB, free: 15.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.406e-05/0.3606, allocations: 108.5 kB / 0.5002 GB, free: 14.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3606, allocations: 4 kB / 0.5002 GB, free: 14.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002256/0.3608, allocations: 11.98 kB / 0.5002 GB, free: 14.94 MB / 362.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 () * 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.0001216/0.361, allocations: 91.25 kB / 0.5003 GB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.3611, allocations: 44.02 kB / 0.5003 GB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3611, allocations: 0 / 0.5003 GB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.499e-05/0.3611, allocations: 7.984 kB / 0.5004 GB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.3614, allocations: 40.19 kB / 0.5004 GB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.3617, allocations: 137.8 kB / 0.5005 GB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.3621, allocations: 0.7086 MB / 0.5012 GB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.805e-05/0.3621, allocations: 8.672 kB / 0.5012 GB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.3621, allocations: 15.42 kB / 0.5012 GB, free: 13.83 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3621, allocations: 0 / 0.5012 GB, free: 13.83 MB / 362.7 MB Notification: Performance of Templates: time 0.002548/0.3647, allocations: 0.6977 MB / 0.5019 GB, free: 13.13 MB / 362.7 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) "" Variables in the reference:Time,fractionalDelay.y,sample.y Variables in the result:fractionalDelay.n,fractionalDelay.resolution,fractionalDelay.shift,fractionalDelay.y,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample.y,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,time