Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002701/0.002701, allocations: 207.8 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.403/1.403, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 51.86 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2544, allocations: 53.36 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002745/0.2572, allocations: 1.623 MB / 432.7 MB, free: 5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.2582, allocations: 0.5687 MB / 433.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.2583, allocations: 3.938 kB / 433.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.2585, allocations: 15.86 kB / 433.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.154e-05/0.2585, allocations: 15.88 kB / 433.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.2588, allocations: 83.78 kB / 433.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.259, allocations: 71.72 kB / 433.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.211e-05/0.2591, allocations: 11.98 kB / 433.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.2592, allocations: 35.91 kB / 433.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.104e-05/0.2593, allocations: 35.84 kB / 433.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.2593, allocations: 0 / 433.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.602e-05/0.2593, allocations: 8 kB / 433.5 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.024e-05/0.2594, allocations: 19.92 kB / 433.6 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.518e-05/0.2595, allocations: 35.78 kB / 433.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.2596, allocations: 69.36 kB / 433.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2596, allocations: 11.92 kB / 433.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2596, allocations: 0 / 433.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.2596, allocations: 0 / 433.7 MB, free: 4.016 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.0004457/0.2601, allocations: 313.8 kB / 434 MB, free: 3.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2601, allocations: 12.03 kB / 434 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.567e-05/0.2601, allocations: 38.73 kB / 434 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.2603, allocations: 20.84 kB / 434.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.2605, allocations: 146.8 kB / 434.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.2605, allocations: 12.38 kB / 434.2 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.2605, allocations: 7.938 kB / 434.2 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.2608, allocations: 153.7 kB / 434.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.2609, allocations: 0 / 434.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.2609, allocations: 0 / 434.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2609, allocations: 4 kB / 434.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.261, allocations: 31.91 kB / 434.4 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.2613, allocations: 245.7 kB / 434.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.2614, allocations: 87.69 kB / 434.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.541e-05/0.2615, allocations: 46.75 kB / 434.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.2616, allocations: 0 / 434.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.2616, allocations: 38.5 kB / 434.8 MB, free: 2.703 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.2616, allocations: 0 / 434.8 MB, free: 2.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003078/0.2619, allocations: 105.8 kB / 434.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.13e-05/0.262, allocations: 118.8 kB / 435 MB, free: 2.453 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.2621, allocations: 153.1 kB / 435.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.2621, allocations: 29.7 kB / 435.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.2622, allocations: 92.12 kB / 435.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.2622, allocations: 7.953 kB / 435.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.2622, allocations: 21.72 kB / 435.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2624, allocations: 322.8 kB / 435.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.252e-05/0.2624, allocations: 15.98 kB / 435.7 MB, free: 1.785 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.051e-05/0.2625, allocations: 62 kB / 435.7 MB, free: 1.703 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.2627, allocations: 89.86 kB / 435.8 MB, free: 1.594 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.2627, allocations: 0 / 435.8 MB, free: 1.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001905/0.2629, allocations: 105.6 kB / 435.9 MB, free: 1.484 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2629, allocations: 4 kB / 435.9 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2629, allocations: 4.188 kB / 435.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2629, allocations: 0 / 435.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.192e-05/0.263, allocations: 27.86 kB / 436 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.263, allocations: 4 kB / 436 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.603e-05/0.263, allocations: 7.938 kB / 436 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.2631, allocations: 4 kB / 436 MB, free: 1.434 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.0001082/0.2632, allocations: 129.7 kB / 436.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.2633, allocations: 85.91 kB / 436.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.2633, allocations: 12.39 kB / 436.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.2633, allocations: 4 kB / 436.2 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2633, allocations: 0 / 436.2 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2633, allocations: 7.875 kB / 436.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.2635, allocations: 144.7 kB / 436.3 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2635, allocations: 0 / 436.3 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.359e-05/0.2636, allocations: 8 kB / 436.4 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.2636, allocations: 4 kB / 436.4 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.2636, allocations: 4 kB / 436.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.2636, allocations: 3.984 kB / 436.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2636, allocations: 4.031 kB / 436.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.2638, allocations: 197.1 kB / 436.6 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.2638, allocations: 19.92 kB / 436.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.2639, allocations: 8 kB / 436.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.2639, allocations: 4 kB / 436.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.264, allocations: 7.922 kB / 436.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.264, allocations: 4 kB / 436.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.789e-05/0.2641, allocations: 107.2 kB / 436.7 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2641, allocations: 0 / 436.7 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.2643, allocations: 20 kB / 436.7 MB, free: 0.5898 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.0005939/0.2649, allocations: 0.7531 MB / 437.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.2651, allocations: 55.84 kB / 437.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2651, allocations: 0 / 437.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.626e-05/0.2651, allocations: 12.48 kB / 437.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.2655, allocations: 50.41 kB / 437.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.267, allocations: 1.547 MB / 439.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.763e-05/0.2671, allocations: 92.92 kB / 439.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.957e-05/0.2672, allocations: 12.52 kB / 439.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.2672, allocations: 27.42 kB / 439.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2672, allocations: 0 / 439.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.2949, allocations: 2.72 MB / 442 MB, free: 11.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.69, allocations: 0 / 442 MB, free: 11.29 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --stepSize=1.7939e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.040627691982081]