Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.001288/0.001288, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00143/0.00143, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.734 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.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 59.89 kB / 377.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2216, allocations: 53.4 MB / 431.1 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002873/0.2244, allocations: 1.619 MB / 432.8 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.2255, allocations: 0.5337 MB / 433.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.2256, allocations: 7.938 kB / 433.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.045e-05/0.2257, allocations: 7.922 kB / 433.3 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.2258, allocations: 11.86 kB / 433.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.2261, allocations: 63.81 kB / 433.4 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.2263, allocations: 55.78 kB / 433.4 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.2264, allocations: 15.98 kB / 433.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.2265, allocations: 35.8 kB / 433.5 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.404e-05/0.2266, allocations: 15.86 kB / 433.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.2266, allocations: 8 kB / 433.5 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.991e-05/0.2266, allocations: 15.98 kB / 433.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.029e-05/0.2267, allocations: 15.92 kB / 433.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.267e-05/0.2267, allocations: 23.86 kB / 433.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.2269, allocations: 77.23 kB / 433.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2269, allocations: 0 / 433.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2269, allocations: 0 / 433.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.2269, allocations: 0 / 433.6 MB, free: 3.949 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004925/0.2274, allocations: 309.9 kB / 433.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.2274, allocations: 15.98 kB / 434 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.068e-05/0.2275, allocations: 34.75 kB / 434 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.2276, allocations: 28.86 kB / 434 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.2279, allocations: 150.2 kB / 434.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.2279, allocations: 4.375 kB / 434.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.2279, allocations: 11.94 kB / 434.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.2282, allocations: 130.7 kB / 434.3 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2282, allocations: 4 kB / 434.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.2282, allocations: 3.938 kB / 434.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2282, allocations: 4 kB / 434.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.722e-05/0.2283, allocations: 23.92 kB / 434.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.2287, allocations: 254.6 kB / 434.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.2288, allocations: 94.3 kB / 434.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.821e-05/0.2289, allocations: 47.48 kB / 434.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.2289, allocations: 8 kB / 434.7 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.2289, allocations: 34.56 kB / 434.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.2289, allocations: 0 / 434.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002868/0.2292, allocations: 97.5 kB / 434.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.596e-05/0.2293, allocations: 140.4 kB / 435 MB, free: 2.352 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.2295, allocations: 146.9 kB / 435.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.2295, allocations: 25.7 kB / 435.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.2295, allocations: 96.12 kB / 435.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.2296, allocations: 7.953 kB / 435.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.2296, allocations: 25.66 kB / 435.3 MB, free: 2.023 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2297, allocations: 318.8 kB / 435.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.471e-05/0.2298, allocations: 19.98 kB / 435.6 MB, free: 1.684 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.398e-05/0.2299, allocations: 40.28 kB / 435.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.23, allocations: 64.22 kB / 435.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.23, allocations: 0 / 435.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001629/0.2301, allocations: 85.5 kB / 435.8 MB, free: 1.461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.2302, allocations: 4 kB / 435.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2302, allocations: 0 / 435.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.2302, allocations: 4 kB / 435.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.804e-05/0.2302, allocations: 8.156 kB / 435.8 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-05/0.2303, allocations: 15.92 kB / 435.9 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.762e-05/0.2303, allocations: 4 kB / 435.9 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.2303, allocations: 0 / 435.9 MB, free: 1.426 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001037/0.2304, allocations: 125.8 kB / 436 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.273e-05/0.2305, allocations: 53.64 kB / 436 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.2306, allocations: 15.92 kB / 436 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.2306, allocations: 7.984 kB / 436.1 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2306, allocations: 3.938 kB / 436.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2306, allocations: 0 / 436.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.2308, allocations: 156.7 kB / 436.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2308, allocations: 0 / 436.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.2308, allocations: 11.94 kB / 436.2 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.2309, allocations: 4 kB / 436.2 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2309, allocations: 4 kB / 436.2 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.2309, allocations: 3.984 kB / 436.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2309, allocations: 7.938 kB / 436.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.2311, allocations: 202 kB / 436.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.2312, allocations: 15.94 kB / 436.5 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.2312, allocations: 8 kB / 436.5 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.2313, allocations: 4.188 kB / 436.5 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.2313, allocations: 7.938 kB / 436.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.2313, allocations: 7.938 kB / 436.5 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.199e-05/0.2314, allocations: 114.6 kB / 436.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2314, allocations: 0 / 436.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.2316, allocations: 12 kB / 436.6 MB, free: 0.5898 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0005362/0.2322, allocations: 0.7266 MB / 437.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001638/0.2323, allocations: 51.86 kB / 437.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2323, allocations: 0 / 437.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.17e-05/0.2324, allocations: 11.98 kB / 437.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.2327, allocations: 38.69 kB / 437.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.2343, allocations: 1.466 MB / 438.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.415e-05/0.2344, allocations: 83.39 kB / 439 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.066e-05/0.2345, allocations: 11.97 kB / 439 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.2345, allocations: 19.44 kB / 439 MB, free: 14.01 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2345, allocations: 0 / 439 MB, free: 14.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.2626, allocations: 2.46 MB / 441.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.32, allocations: 7.656 kB / 441.5 MB, free: 11.66 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.72060975804925]