Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001639/0.001639, allocations: 108.5 kB / 19.8 MB, free: 2.5 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.002007/0.002007, allocations: 220.5 kB / 23 MB, free: 5.582 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.452/1.452, allocations: 230.5 MB / 256.5 MB, free: 8.168 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.BooleanSignals.Hold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.001865/0.001865, allocations: 67.89 kB / 376.2 MB, free: 3.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2403, allocations: 53.31 MB / 429.5 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003479/0.2437, allocations: 1.947 MB / 431.5 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.2459, allocations: 1.243 MB / 432.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.246, allocations: 4 kB / 432.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005927/0.2466, allocations: 155.5 kB / 432.9 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004011/0.247, allocations: 155.4 kB / 433 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.2475, allocations: 179.4 kB / 433.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.2478, allocations: 199.4 kB / 433.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.2479, allocations: 17.69 kB / 433.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.248, allocations: 83.61 kB / 433.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.2481, allocations: 83.61 kB / 433.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.2482, allocations: 8 kB / 433.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.2483, allocations: 59.97 kB / 433.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.97e-05/0.2484, allocations: 51.77 kB / 433.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.398e-05/0.2485, allocations: 75.48 kB / 433.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.2488, allocations: 211.5 kB / 434 MB, free: 2.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2488, allocations: 4 kB / 434 MB, free: 2.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2488, allocations: 0 / 434 MB, free: 2.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.2488, allocations: 0 / 434 MB, free: 2.91 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.0008286/0.2497, allocations: 0.5309 MB / 434.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.2497, allocations: 12.02 kB / 434.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.553e-05/0.2497, allocations: 38.75 kB / 434.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.2498, allocations: 20.8 kB / 434.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.2502, allocations: 282.9 kB / 434.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.2502, allocations: 12.31 kB / 434.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.2502, allocations: 7.938 kB / 434.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.2506, allocations: 159.6 kB / 435 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2506, allocations: 0 / 435 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.2506, allocations: 4 kB / 435 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.2506, allocations: 4 kB / 435 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.2507, allocations: 39.91 kB / 435.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006125/0.2513, allocations: 458.5 kB / 435.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.2516, allocations: 126.5 kB / 435.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.636e-05/0.2517, allocations: 51.42 kB / 435.7 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.2517, allocations: 0 / 435.7 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.2519, allocations: 97.03 kB / 435.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.2519, allocations: 0 / 435.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004248/0.2524, allocations: 165.4 kB / 435.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.2525, allocations: 162.2 kB / 436.1 MB, free: 488 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.2528, allocations: 281.3 kB / 436.4 MB, free: 192 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.2528, allocations: 29.7 kB / 436.4 MB, free: 156 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.182e-05/0.2529, allocations: 120.4 kB / 436.5 MB, free: 28 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.2529, allocations: 23.95 kB / 436.6 MB, free: 4 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/0.253, allocations: 33.86 kB / 436.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2532, allocations: 330.8 kB / 436.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.188e-05/0.2532, allocations: 23.98 kB / 436.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.2534, allocations: 81.92 kB / 437 MB, free: 15.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.2535, allocations: 93.11 kB / 437.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2535, allocations: 3.938 kB / 437.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002285/0.2537, allocations: 125.5 kB / 437.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2538, allocations: 4 kB / 437.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2538, allocations: 4 kB / 437.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.2538, allocations: 0 / 437.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.919e-05/0.2539, allocations: 23.86 kB / 437.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.2539, allocations: 0 / 437.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.846e-05/0.254, allocations: 23.8 kB / 437.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.254, allocations: 8 kB / 437.3 MB, free: 15.2 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.0001392/0.2541, allocations: 141.8 kB / 437.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-05/0.2542, allocations: 69.53 kB / 437.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.2544, allocations: 115.3 kB / 437.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.2544, allocations: 4 kB / 437.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.2545, allocations: 3.938 kB / 437.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.2545, allocations: 8.062 kB / 437.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.2547, allocations: 222 kB / 437.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2547, allocations: 4 kB / 437.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.026e-05/0.2547, allocations: 12 kB / 437.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.2547, allocations: 0 / 437.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.2548, allocations: 7.984 kB / 437.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2548, allocations: 0 / 437.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.341e-05/0.2548, allocations: 7.938 kB / 437.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.255, allocations: 175.4 kB / 438 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.2551, allocations: 108.9 kB / 438.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.2552, allocations: 4 kB / 438.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.551e-05/0.2552, allocations: 11.98 kB / 438.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.2553, allocations: 11.92 kB / 438.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.2553, allocations: 4 kB / 438.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002088/0.2555, allocations: 204.5 kB / 438.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2555, allocations: 0 / 438.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00028/0.2558, allocations: 35.94 kB / 438.4 MB, free: 13.96 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.001983/0.2578, allocations: 1.021 MB / 439.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.258, allocations: 75.84 kB / 439.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.258, allocations: 0 / 439.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.847e-05/0.2581, allocations: 27.98 kB / 439.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.2585, allocations: 81.95 kB / 439.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.261, allocations: 2.021 MB / 441.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.2614, allocations: 0.7435 MB / 442.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.179e-05/0.2615, allocations: 25.47 kB / 442.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.785e-05/0.2616, allocations: 51.42 kB / 442.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.2616, allocations: 0 / 442.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.2909, allocations: 4.845 MB / 447.3 MB, free: 5.102 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/8.177, allocations: 0 / 447.3 MB, free: 5.102 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.546895727020456] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 8.307479861978209 8.332971031 8.079132314 Calling exit ...