Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001559/0.001559, allocations: 112.4 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001735/0.001735, allocations: 204 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 63.89 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2445, allocations: 50.54 MB / 409.9 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002614/0.2471, allocations: 1.609 MB / 411.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009872/0.2481, allocations: 0.5998 MB / 412.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.259e-05/0.2482, allocations: 7.938 kB / 412.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.2484, allocations: 19.8 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.596e-05/0.2485, allocations: 19.86 kB / 412.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.2488, allocations: 79.78 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.249, allocations: 71.77 kB / 412.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.698e-05/0.2491, allocations: 15.98 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.2492, allocations: 35.86 kB / 412.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.514e-05/0.2493, allocations: 27.84 kB / 412.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.2493, allocations: 4 kB / 412.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.403e-05/0.2494, allocations: 15.98 kB / 412.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.2494, allocations: 19.92 kB / 412.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.2495, allocations: 31.75 kB / 412.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.2496, allocations: 75.7 kB / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2497, allocations: 4 kB / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2497, allocations: 0 / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.2497, allocations: 0 / 412.6 MB, free: 14.9 MB / 334.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.0004543/0.2501, allocations: 396.1 kB / 412.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2502, allocations: 12.03 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.2503, allocations: 20.83 kB / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.2506, allocations: 201.8 kB / 413.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.2506, allocations: 384 / 413.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.2507, allocations: 12.12 kB / 413.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.251, allocations: 149.8 kB / 413.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.251, allocations: 4 kB / 413.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.251, allocations: 4 kB / 413.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.251, allocations: 0 / 413.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.2511, allocations: 31.91 kB / 413.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.2515, allocations: 286.5 kB / 413.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.2516, allocations: 79.72 kB / 413.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.057e-05/0.2517, allocations: 46.75 kB / 413.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.2517, allocations: 4 kB / 413.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.2518, allocations: 38.5 kB / 413.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.2518, allocations: 0 / 413.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002989/0.2521, allocations: 109.4 kB / 413.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.2521, allocations: 119 kB / 414 MB, free: 13.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.2523, allocations: 149.8 kB / 414.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.2523, allocations: 25.7 kB / 414.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.2524, allocations: 96.11 kB / 414.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.2524, allocations: 7.906 kB / 414.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.2524, allocations: 25.7 kB / 414.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2525, allocations: 326.7 kB / 414.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.535e-05/0.2526, allocations: 19.92 kB / 414.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-05/0.2527, allocations: 66 kB / 414.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.2528, allocations: 77.92 kB / 414.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2528, allocations: 3.938 kB / 414.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001899/0.253, allocations: 105.5 kB / 414.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.2531, allocations: 4.219 kB / 414.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.2531, allocations: 8 kB / 414.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.2531, allocations: 0 / 414.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.214e-05/0.2532, allocations: 15.98 kB / 415 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.2532, allocations: 11.92 kB / 415 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.389e-05/0.2533, allocations: 7.938 kB / 415 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.2533, allocations: 7.984 kB / 415 MB, free: 12.15 MB / 334.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 9.837e-05/0.2534, allocations: 125.8 kB / 415.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.2535, allocations: 77.42 kB / 415.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.2535, allocations: 16.33 kB / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2536, allocations: 4.312 kB / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2536, allocations: 0 / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2536, allocations: 3.938 kB / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.2537, allocations: 185.6 kB / 415.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2538, allocations: 4 kB / 415.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.515e-05/0.2538, allocations: 8 kB / 415.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.2538, allocations: 0 / 415.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.2539, allocations: 7.984 kB / 415.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2539, allocations: 0 / 415.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2539, allocations: 0 / 415.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.2541, allocations: 201 kB / 415.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.333e-05/0.2542, allocations: 97 kB / 415.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.2542, allocations: 3.984 kB / 415.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.2543, allocations: 4 kB / 415.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.2543, allocations: 4.188 kB / 415.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.2543, allocations: 7.938 kB / 415.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.133e-05/0.2544, allocations: 119.2 kB / 415.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2544, allocations: 0 / 415.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.2547, allocations: 8 kB / 415.8 MB, free: 11.18 MB / 334.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.0001136/0.2548, allocations: 99.25 kB / 415.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.255, allocations: 64.16 kB / 416 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.255, allocations: 0 / 416 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.706e-05/0.255, allocations: 11.98 kB / 416 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.2554, allocations: 43.95 kB / 416.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.2559, allocations: 238.7 kB / 416.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.2561, allocations: 0.7042 MB / 417 MB, free: 9.957 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.2562, allocations: 15.44 kB / 417 MB, free: 9.941 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2562, allocations: 0 / 417 MB, free: 9.941 MB / 334.1 MB Notification: Performance of Templates: time 0.00253/0.2587, allocations: 1.109 MB / 418.1 MB, free: 8.844 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches