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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001611/0.001611, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00207/0.00207, allocations: 213.1 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.89 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2571, allocations: 53.41 MB / 431.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003076/0.2602, allocations: 1.627 MB / 432.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.2614, allocations: 0.6231 MB / 433.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.2615, allocations: 7.938 kB / 433.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.2618, allocations: 19.84 kB / 433.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.319e-05/0.2618, allocations: 7.922 kB / 433.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.2622, allocations: 87.38 kB / 433.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.2624, allocations: 71.81 kB / 433.6 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.2625, allocations: 8 kB / 433.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.2627, allocations: 51.77 kB / 433.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.2628, allocations: 23.86 kB / 433.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.2629, allocations: 4 kB / 433.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.434e-05/0.2629, allocations: 12 kB / 433.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.315e-05/0.263, allocations: 15.92 kB / 433.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.263, allocations: 35.73 kB / 433.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.2632, allocations: 76.06 kB / 433.9 MB, free: 3.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.2632, allocations: 12 kB / 433.9 MB, free: 3.969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2632, allocations: 0 / 433.9 MB, free: 3.969 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.2632, allocations: 0 / 433.9 MB, free: 3.969 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.0005596/0.2638, allocations: 313.8 kB / 434.2 MB, free: 3.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.2638, allocations: 12.03 kB / 434.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.2639, allocations: 34.75 kB / 434.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.2641, allocations: 20.88 kB / 434.2 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.2644, allocations: 158.4 kB / 434.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.2644, allocations: 384 / 434.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.2644, allocations: 11.94 kB / 434.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/0.2648, allocations: 145.8 kB / 434.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2648, allocations: 0 / 434.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.2648, allocations: 8 kB / 434.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.2648, allocations: 4 kB / 434.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.2649, allocations: 27.97 kB / 434.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.2653, allocations: 261.5 kB / 434.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.2655, allocations: 79.78 kB / 434.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.982e-05/0.2656, allocations: 46.69 kB / 435 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.2656, allocations: 0 / 435 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.2656, allocations: 38.56 kB / 435 MB, free: 2.656 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.2656, allocations: 3.938 kB / 435 MB, free: 2.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003607/0.266, allocations: 113.5 kB / 435.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.2661, allocations: 110.8 kB / 435.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.2662, allocations: 146.4 kB / 435.4 MB, free: 2.242 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.2663, allocations: 29.69 kB / 435.4 MB, free: 2.207 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.2663, allocations: 96.34 kB / 435.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.2663, allocations: 7.953 kB / 435.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.2664, allocations: 25.7 kB / 435.5 MB, free: 2.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2665, allocations: 314.8 kB / 435.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.808e-05/0.2666, allocations: 23.98 kB / 435.9 MB, free: 1.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.381e-05/0.2667, allocations: 65.94 kB / 435.9 MB, free: 1.645 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.2668, allocations: 81.92 kB / 436 MB, free: 1.543 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2668, allocations: 0 / 436 MB, free: 1.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001936/0.267, allocations: 105.5 kB / 436.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.267, allocations: 7.938 kB / 436.1 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.267, allocations: 7.984 kB / 436.1 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.267, allocations: 0 / 436.1 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.436e-05/0.2671, allocations: 12.22 kB / 436.1 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.2671, allocations: 8 kB / 436.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.571e-05/0.2672, allocations: 11.92 kB / 436.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.2672, allocations: 4 kB / 436.2 MB, free: 1.383 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 0.0001308/0.2673, allocations: 133.7 kB / 436.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.2674, allocations: 69.84 kB / 436.4 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.2675, allocations: 16.39 kB / 436.4 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.2675, allocations: 4 kB / 436.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2675, allocations: 0 / 436.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2675, allocations: 3.969 kB / 436.4 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.2677, allocations: 152.7 kB / 436.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2677, allocations: 4 kB / 436.5 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.838e-05/0.2678, allocations: 15.92 kB / 436.6 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2678, allocations: 0 / 436.6 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.2678, allocations: 4.188 kB / 436.6 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2678, allocations: 0 / 436.6 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2678, allocations: 3.938 kB / 436.6 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.268, allocations: 201.1 kB / 436.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.2681, allocations: 19.94 kB / 436.8 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.2681, allocations: 7.875 kB / 436.8 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.946e-05/0.2682, allocations: 7.984 kB / 436.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.2682, allocations: 3.938 kB / 436.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.2682, allocations: 8 kB / 436.8 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.724e-05/0.2683, allocations: 114.2 kB / 436.9 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2683, allocations: 4 kB / 436.9 MB, free: 0.543 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.2685, allocations: 8 kB / 436.9 MB, free: 0.5352 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.0007112/0.2692, allocations: 0.7649 MB / 437.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.2695, allocations: 55.91 kB / 437.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2695, allocations: 0 / 437.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.521e-05/0.2695, allocations: 4 kB / 437.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.2699, allocations: 50.52 kB / 437.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.2718, allocations: 1.545 MB / 439.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.2721, allocations: 0.7078 MB / 440.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.307e-05/0.2722, allocations: 12.42 kB / 440.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.788e-05/0.2722, allocations: 19.44 kB / 440.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2722, allocations: 0 / 440.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.3019, allocations: 2.253 MB / 442.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.05, allocations: 12.7 kB / 442.3 MB, free: 11.05 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --stepSize=1.7939e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.462601702194661]