Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001298/0.001298, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001528/0.001528, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.IntegerSignals.Hold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.002053/0.002053, allocations: 72.77 kB / 378.5 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2456, allocations: 53.37 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003352/0.2489, allocations: 1.944 MB / 433.9 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.2513, allocations: 1.332 MB / 435.2 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.2515, allocations: 7.938 kB / 435.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.2518, allocations: 63.67 kB / 435.3 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004181/0.2522, allocations: 139.4 kB / 435.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007336/0.253, allocations: 230.6 kB / 435.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000298/0.2533, allocations: 187.4 kB / 435.8 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.2534, allocations: 29.72 kB / 435.8 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.2535, allocations: 75.7 kB / 435.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.2537, allocations: 91.61 kB / 436 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.2537, allocations: 8 kB / 436 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.2539, allocations: 75.88 kB / 436.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.329e-05/0.254, allocations: 55.81 kB / 436.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.64e-05/0.2541, allocations: 83.42 kB / 436.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004123/0.2545, allocations: 255.7 kB / 436.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2545, allocations: 4 kB / 436.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2545, allocations: 0 / 436.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2545, allocations: 0 / 436.5 MB, free: 2.312 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008128/0.2553, allocations: 486.4 kB / 436.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2554, allocations: 8.031 kB / 437 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.828e-05/0.2554, allocations: 42.75 kB / 437 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.36e-05/0.2555, allocations: 32.73 kB / 437 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/0.2559, allocations: 233.5 kB / 437.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.2559, allocations: 8.375 kB / 437.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.256, allocations: 7.938 kB / 437.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/0.2564, allocations: 174.8 kB / 437.4 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.2564, allocations: 3.938 kB / 437.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.2564, allocations: 0 / 437.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2564, allocations: 0 / 437.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.2565, allocations: 43.97 kB / 437.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005973/0.2571, allocations: 449.6 kB / 437.9 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.2574, allocations: 138.5 kB / 438.1 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.2575, allocations: 63.41 kB / 438.1 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.2575, allocations: 4 kB / 438.1 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.2577, allocations: 101 kB / 438.2 MB, free: 344 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.2577, allocations: 0 / 438.2 MB, free: 344 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.000437/0.2582, allocations: 169.4 kB / 438.4 MB, free: 168 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/0.2583, allocations: 183.9 kB / 438.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/0.2587, allocations: 348.1 kB / 438.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.2587, allocations: 30.08 kB / 438.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.2589, allocations: 140.2 kB / 439.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.2589, allocations: 23.95 kB / 439.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/0.2589, allocations: 33.72 kB / 439.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2591, allocations: 330.8 kB / 439.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.997e-05/0.2592, allocations: 27.98 kB / 439.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.2593, allocations: 99.7 kB / 439.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.2595, allocations: 97.02 kB / 439.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2595, allocations: 4 kB / 439.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002593/0.2598, allocations: 137.4 kB / 439.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2598, allocations: 8 kB / 439.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2598, allocations: 320 / 439.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.2598, allocations: 4 kB / 439.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.2599, allocations: 19.98 kB / 439.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.2599, allocations: 4 kB / 439.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.645e-05/0.26, allocations: 23.83 kB / 439.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.26, allocations: 8.156 kB / 439.9 MB, free: 14.54 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001438/0.2602, allocations: 161.7 kB / 440 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.2603, allocations: 77.52 kB / 440.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.2605, allocations: 115.4 kB / 440.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.2606, allocations: 4 kB / 440.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2606, allocations: 0 / 440.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2606, allocations: 3.938 kB / 440.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.2608, allocations: 216.7 kB / 440.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2608, allocations: 0 / 440.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.825e-05/0.2609, allocations: 19.92 kB / 440.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/0.2609, allocations: 4 kB / 440.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.2609, allocations: 4 kB / 440.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2609, allocations: 4 kB / 440.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2609, allocations: 0 / 440.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.2612, allocations: 191.3 kB / 440.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.534e-05/0.2613, allocations: 39.78 kB / 440.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.2613, allocations: 11.94 kB / 440.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.2614, allocations: 3.984 kB / 440.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.2615, allocations: 15.92 kB / 440.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.2615, allocations: 8 kB / 440.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002699/0.2618, allocations: 251.1 kB / 441 MB, free: 13.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2618, allocations: 0 / 441 MB, free: 13.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.262, allocations: 39.92 kB / 441 MB, free: 13.3 MB / 350.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: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002007/0.264, allocations: 1.043 MB / 442.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.2643, allocations: 83.84 kB / 442.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2643, allocations: 0 / 442.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.944e-05/0.2644, allocations: 39.91 kB / 442.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.2648, allocations: 69.62 kB / 442.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.2676, allocations: 2.288 MB / 444.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.268, allocations: 0.7476 MB / 445.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.837e-05/0.2681, allocations: 21.64 kB / 445.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.2682, allocations: 67.39 kB / 445.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2682, allocations: 0 / 445.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.2998, allocations: 5.604 MB / 451 MB, free: 3.363 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.276/8.576, allocations: 7.938 kB / 451 MB, free: 3.355 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98963e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.004105905070901] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 8.719723269343376 8.737729773 8.479618121 Calling exit ...