Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001259/0.001259, allocations: 109.5 kB / 20.18 MB, free: 1.98 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.00135/0.00135, allocations: 207 kB / 23.44 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.383/1.383, allocations: 230.5 MB / 257 MB, free: 8.266 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-beta.om/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_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 71.88 kB / 377 MB, free: 3.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2296, allocations: 53.31 MB / 430.3 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002745/0.2323, allocations: 1.631 MB / 432 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009649/0.2333, allocations: 0.5803 MB / 432.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.526e-05/0.2334, allocations: 0 / 432.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.975e-05/0.2334, allocations: 3.938 kB / 432.5 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.2336, allocations: 19.86 kB / 432.6 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.2338, allocations: 71.73 kB / 432.6 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.2339, allocations: 51.78 kB / 432.7 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.474e-05/0.234, allocations: 16 kB / 432.7 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.2341, allocations: 31.84 kB / 432.7 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.59e-05/0.2342, allocations: 23.86 kB / 432.8 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.2342, allocations: 0 / 432.8 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.768e-05/0.2342, allocations: 12 kB / 432.8 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.374e-05/0.2343, allocations: 15.92 kB / 432.8 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.86e-05/0.2343, allocations: 35.73 kB / 432.8 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.2345, allocations: 64.09 kB / 432.9 MB, free: 4.734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2345, allocations: 4 kB / 432.9 MB, free: 4.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2345, allocations: 4 kB / 432.9 MB, free: 4.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.2345, allocations: 3.938 kB / 432.9 MB, free: 4.723 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.0004631/0.2349, allocations: 391 kB / 433.3 MB, free: 4.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.235, allocations: 8.031 kB / 433.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.235, allocations: 42.69 kB / 433.3 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.2351, allocations: 20.88 kB / 433.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.2354, allocations: 216.6 kB / 433.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.2354, allocations: 4.375 kB / 433.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.2354, allocations: 7.938 kB / 433.6 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.2357, allocations: 122.8 kB / 433.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2357, allocations: 4 kB / 433.7 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.2357, allocations: 4 kB / 433.7 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2357, allocations: 3.938 kB / 433.7 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.675e-05/0.2358, allocations: 23.98 kB / 433.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.2362, allocations: 291.4 kB / 434 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.2363, allocations: 86.48 kB / 434.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.33e-05/0.2364, allocations: 51.42 kB / 434.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.2364, allocations: 3.984 kB / 434.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.2365, allocations: 42.48 kB / 434.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.2365, allocations: 0 / 434.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002908/0.2368, allocations: 101.9 kB / 434.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.347e-05/0.2368, allocations: 132.5 kB / 434.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.237, allocations: 148.8 kB / 434.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.237, allocations: 33.7 kB / 434.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.2371, allocations: 88.12 kB / 434.7 MB, free: 2.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.2371, allocations: 11.95 kB / 434.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.2371, allocations: 21.67 kB / 434.7 MB, free: 2.598 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2373, allocations: 318.9 kB / 435 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.864e-05/0.2373, allocations: 12 kB / 435 MB, free: 2.266 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.241e-05/0.2374, allocations: 44.28 kB / 435.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.2375, allocations: 64.16 kB / 435.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2375, allocations: 3.938 kB / 435.1 MB, free: 2.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001592/0.2376, allocations: 81.56 kB / 435.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2377, allocations: 4 kB / 435.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2377, allocations: 8.156 kB / 435.2 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2377, allocations: 3.984 kB / 435.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.404e-05/0.2378, allocations: 19.92 kB / 435.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.2378, allocations: 7.875 kB / 435.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.498e-05/0.2378, allocations: 4 kB / 435.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.2378, allocations: 4 kB / 435.3 MB, free: 1.988 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 9.159e-05/0.2379, allocations: 121.8 kB / 435.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.135e-05/0.238, allocations: 57.58 kB / 435.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.238, allocations: 19.89 kB / 435.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.238, allocations: 4 kB / 435.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.2381, allocations: 3.938 kB / 435.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2381, allocations: 0 / 435.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.2383, allocations: 181.6 kB / 435.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2383, allocations: 4 kB / 435.7 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.222e-05/0.2383, allocations: 11.98 kB / 435.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2383, allocations: 4 kB / 435.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.2383, allocations: 4.125 kB / 435.7 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2383, allocations: 0 / 435.7 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.2383, allocations: 11.94 kB / 435.7 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.2386, allocations: 198 kB / 435.9 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.2386, allocations: 93.05 kB / 436 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.2386, allocations: 3.984 kB / 436 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.2387, allocations: 8 kB / 436 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.2387, allocations: 7.938 kB / 436 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.2388, allocations: 0 / 436 MB, free: 1.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.554e-05/0.2388, allocations: 115.2 kB / 436.1 MB, free: 1.047 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2388, allocations: 0 / 436.1 MB, free: 1.047 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000229/0.2391, allocations: 8 kB / 436.1 MB, free: 1.039 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.0004989/0.2396, allocations: 0.7266 MB / 436.8 MB, free: 280 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.2397, allocations: 48.09 kB / 436.9 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2397, allocations: 4.062 kB / 436.9 MB, free: 228 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.685e-05/0.2398, allocations: 19.92 kB / 436.9 MB, free: 208 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.2401, allocations: 35.94 kB / 436.9 MB, free: 172 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.2416, allocations: 1.472 MB / 438.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.2419, allocations: 0.7039 MB / 439.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.334e-05/0.2419, allocations: 4 kB / 439.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.242, allocations: 23.42 kB / 439.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.242, allocations: 0 / 439.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.2643, allocations: 1.884 MB / 441 MB, free: 12.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/7.947, allocations: 11.3 kB / 441 MB, free: 12.02 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.112455538008362] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 8.01557080692146 8.043362294 7.803845431 Calling exit ...