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.SubSample.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.00152/0.00152, 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.001977/0.001977, allocations: 208.6 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.462/1.462, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",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.001982/0.001982, allocations: 60.78 kB / 378.5 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2333, allocations: 53.37 MB / 431.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003633/0.2369, allocations: 1.935 MB / 433.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.2391, allocations: 1.224 MB / 435.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.2393, allocations: 3.938 kB / 435.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006191/0.2399, allocations: 155.5 kB / 435.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004261/0.2403, allocations: 159.4 kB / 435.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004921/0.2408, allocations: 170.6 kB / 435.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.2411, allocations: 191.5 kB / 435.7 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2412, allocations: 25.67 kB / 435.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.2413, allocations: 79.69 kB / 435.8 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.2414, allocations: 83.55 kB / 435.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.2415, allocations: 8 kB / 435.9 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.2416, allocations: 59.97 kB / 436 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.207e-05/0.2417, allocations: 47.83 kB / 436 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.73e-05/0.2418, allocations: 67.48 kB / 436.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.2421, allocations: 220 kB / 436.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2421, allocations: 0 / 436.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2421, allocations: 0 / 436.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.2421, allocations: 0 / 436.3 MB, free: 2.445 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.0008097/0.2429, allocations: 450.7 kB / 436.8 MB, free: 1.969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.243, allocations: 12.03 kB / 436.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.243, allocations: 38.69 kB / 436.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.381e-05/0.2431, allocations: 28.78 kB / 436.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.2435, allocations: 209.2 kB / 437 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.2435, allocations: 8.375 kB / 437 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.2435, allocations: 7.938 kB / 437.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.2438, allocations: 146.7 kB / 437.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2438, allocations: 0 / 437.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.2439, allocations: 7.938 kB / 437.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2439, allocations: 3.938 kB / 437.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.244, allocations: 35.97 kB / 437.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.2445, allocations: 333.4 kB / 437.6 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.2447, allocations: 107.9 kB / 437.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.331e-05/0.2448, allocations: 38.56 kB / 437.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.2448, allocations: 8 kB / 437.7 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.245, allocations: 79.31 kB / 437.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.245, allocations: 0 / 437.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000368/0.2453, allocations: 145.5 kB / 437.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.2454, allocations: 132.8 kB / 438.1 MB, free: 472 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.2457, allocations: 273 kB / 438.3 MB, free: 192 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.2458, allocations: 33.7 kB / 438.4 MB, free: 152 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.792e-05/0.2459, allocations: 116.1 kB / 438.5 MB, free: 32 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.2459, allocations: 11.89 kB / 438.5 MB, free: 20 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.2459, allocations: 33.67 kB / 438.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.2461, allocations: 330.8 kB / 438.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.771e-05/0.2462, allocations: 23.98 kB / 438.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.2463, allocations: 69.94 kB / 438.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.2464, allocations: 84.25 kB / 439 MB, free: 15.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2464, allocations: 0 / 439 MB, free: 15.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002162/0.2467, allocations: 105.5 kB / 439.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2467, allocations: 19.86 kB / 439.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2467, allocations: 0 / 439.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2467, allocations: 0 / 439.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.989e-05/0.2468, allocations: 12 kB / 439.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2468, allocations: 0 / 439.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.145e-05/0.2468, allocations: 15.98 kB / 439.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.2469, allocations: 8 kB / 439.2 MB, free: 15.27 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,sample1.u,subSample1.y,subSample1.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.0001385/0.247, allocations: 153.7 kB / 439.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.296e-05/0.2471, allocations: 61.56 kB / 439.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.2473, allocations: 107.3 kB / 439.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2473, allocations: 0 / 439.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2473, allocations: 4.375 kB / 439.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.2473, allocations: 7.922 kB / 439.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.2475, allocations: 212.7 kB / 439.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2476, allocations: 4 kB / 439.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.2476, allocations: 4 kB / 439.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2476, allocations: 0 / 439.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.2476, allocations: 4 kB / 439.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2476, allocations: 0 / 439.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2476, allocations: 0 / 439.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.2479, allocations: 162.6 kB / 439.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.705e-05/0.2479, allocations: 31.78 kB / 439.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.248, allocations: 8 kB / 439.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.178e-05/0.248, allocations: 7.984 kB / 439.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.2481, allocations: 3.938 kB / 439.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.2481, allocations: 4 kB / 439.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002182/0.2483, allocations: 208.4 kB / 440.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2483, allocations: 0 / 440.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.2485, allocations: 31.98 kB / 440.2 MB, free: 14.19 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.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.001949/0.2505, allocations: 1.011 MB / 441.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.2507, allocations: 67.91 kB / 441.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2507, allocations: 0 / 441.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.603e-05/0.2508, allocations: 19.94 kB / 441.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.2512, allocations: 57.67 kB / 441.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.2535, allocations: 1.949 MB / 443.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.254, allocations: 0.732 MB / 444 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.326e-05/0.2541, allocations: 21.47 kB / 444 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.171e-05/0.2542, allocations: 55.41 kB / 444.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2542, allocations: 4 kB / 444.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.2847, allocations: 4.715 MB / 448.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/8.481, allocations: 19.44 kB / 448.8 MB, free: 5.566 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample_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_BooleanSignals_SubSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.886520565953106] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'subSample1.y'] 8.625290745869279 8.646745967 8.398730759 Calling exit ...