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.SuperSample.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.001436/0.001436, allocations: 105 kB / 19.74 MB, free: 2.566 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.001577/0.001577, allocations: 217.2 kB / 22.92 MB, free: 5.539 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.302/1.302, allocations: 230.4 MB / 256.4 MB, free: 8.441 MB / 206.1 MB " [Timeout remaining time 179] 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.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",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.001801/0.001801, allocations: 63.83 kB / 376.1 MB, free: 4.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2255, allocations: 53.32 MB / 429.4 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003098/0.2286, allocations: 1.929 MB / 431.3 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.2306, allocations: 1.246 MB / 432.6 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.2307, allocations: 0 / 432.6 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005531/0.2312, allocations: 151.5 kB / 432.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003713/0.2316, allocations: 159.4 kB / 432.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.2321, allocations: 174.6 kB / 433 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.2323, allocations: 195.4 kB / 433.2 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.2324, allocations: 25.53 kB / 433.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.2325, allocations: 71.7 kB / 433.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.2326, allocations: 79.61 kB / 433.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.2327, allocations: 12 kB / 433.4 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.2328, allocations: 59.89 kB / 433.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.148e-05/0.2329, allocations: 47.78 kB / 433.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.793e-05/0.233, allocations: 71.55 kB / 433.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.2333, allocations: 207.5 kB / 433.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2333, allocations: 0 / 433.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.2333, allocations: 7.984 kB / 433.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2333, allocations: 0 / 433.8 MB, free: 3.012 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007082/0.234, allocations: 0.5116 MB / 434.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.234, allocations: 12.03 kB / 434.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.2341, allocations: 34.75 kB / 434.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.2341, allocations: 24.8 kB / 434.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.2344, allocations: 270.9 kB / 434.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.2344, allocations: 12.38 kB / 434.7 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.2345, allocations: 7.938 kB / 434.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.2348, allocations: 150.7 kB / 434.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2348, allocations: 0 / 434.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.2348, allocations: 8 kB / 434.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2348, allocations: 0 / 434.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.418e-05/0.2349, allocations: 35.92 kB / 434.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.2353, allocations: 354.4 kB / 435.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.2356, allocations: 111.9 kB / 435.3 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.666e-05/0.2356, allocations: 42.5 kB / 435.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.2357, allocations: 11.92 kB / 435.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.2358, allocations: 71.39 kB / 435.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.2358, allocations: 0 / 435.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003354/0.2361, allocations: 141.5 kB / 435.6 MB, free: 1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.437e-05/0.2362, allocations: 136.5 kB / 435.7 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.2365, allocations: 277.2 kB / 436 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.2365, allocations: 29.7 kB / 436 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.169e-05/0.2366, allocations: 120.1 kB / 436.1 MB, free: 408 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.2366, allocations: 15.91 kB / 436.1 MB, free: 392 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.2367, allocations: 33.66 kB / 436.2 MB, free: 352 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2368, allocations: 322.8 kB / 436.5 MB, free: 20 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.845e-05/0.2369, allocations: 24.05 kB / 436.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.743e-05/0.237, allocations: 78.25 kB / 436.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.2371, allocations: 76.22 kB / 436.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2371, allocations: 0 / 436.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001978/0.2373, allocations: 121.5 kB / 436.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.2373, allocations: 4 kB / 436.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2373, allocations: 3.984 kB / 436.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2373, allocations: 7.938 kB / 436.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.394e-05/0.2374, allocations: 11.94 kB / 436.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2374, allocations: 4 kB / 436.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.684e-05/0.2375, allocations: 19.86 kB / 436.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.2375, allocations: 7.984 kB / 436.8 MB, free: 15.62 MB / 350.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: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001315/0.2376, allocations: 146 kB / 437 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.444e-05/0.2377, allocations: 65.5 kB / 437.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.2379, allocations: 103.4 kB / 437.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2379, allocations: 4 kB / 437.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2379, allocations: 0 / 437.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2379, allocations: 7.875 kB / 437.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.2381, allocations: 229.5 kB / 437.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2381, allocations: 4.062 kB / 437.4 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.664e-05/0.2382, allocations: 7.938 kB / 437.4 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2382, allocations: 0 / 437.4 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.2382, allocations: 8.109 kB / 437.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2382, allocations: 4 kB / 437.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2382, allocations: 0 / 437.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.2384, allocations: 158.6 kB / 437.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.258e-05/0.2385, allocations: 108.9 kB / 437.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.2385, allocations: 8 kB / 437.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.693e-05/0.2386, allocations: 4 kB / 437.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.2386, allocations: 7.922 kB / 437.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.2386, allocations: 8 kB / 437.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001908/0.2388, allocations: 200.5 kB / 437.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2388, allocations: 0 / 437.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.2391, allocations: 27.94 kB / 437.9 MB, free: 14.43 MB / 350.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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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 (9): * Single equations (assignments): 7 * 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.001805/0.2409, allocations: 1.011 MB / 438.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.2411, allocations: 71.84 kB / 439 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2411, allocations: 0 / 439 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.299e-05/0.2411, allocations: 19.98 kB / 439 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.2415, allocations: 71.61 kB / 439.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.2436, allocations: 1.945 MB / 441 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.2439, allocations: 0.7319 MB / 441.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.283e-05/0.244, allocations: 29.5 kB / 441.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.31e-05/0.2441, allocations: 47.42 kB / 441.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2441, allocations: 0 / 441.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.2726, allocations: 4.643 MB / 446.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.226/7.499, allocations: 3.375 kB / 446.5 MB, free: 5.887 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.662331822997658]