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.SampleClocked.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.001749/0.001749, allocations: 114.2 kB / 20.22 MB, free: 1.793 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.002298/0.002298, allocations: 211.6 kB / 23.48 MB, free: 5.227 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.367/1.367, allocations: 230.5 MB / 257 MB, free: 8.25 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.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",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.001835/0.001835, allocations: 67.89 kB / 377.1 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2362, allocations: 53.32 MB / 430.4 MB, free: 7.215 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002753/0.2389, allocations: 1.509 MB / 431.9 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003557/0.2393, allocations: 135.5 kB / 432 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.329e-05/0.2394, allocations: 4 kB / 432 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.217e-05/0.2394, allocations: 3.938 kB / 432 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.2395, allocations: 7.984 kB / 432 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.2397, allocations: 39.84 kB / 432.1 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.053e-05/0.2398, allocations: 23.92 kB / 432.1 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.123e-05/0.2399, allocations: 8 kB / 432.1 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.008e-05/0.2399, allocations: 11.92 kB / 432.1 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.807e-05/0.24, allocations: 11.94 kB / 432.1 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.24, allocations: 0 / 432.1 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.24, allocations: 7.938 kB / 432.1 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/0.24, allocations: 15.97 kB / 432.2 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.2401, allocations: 19.81 kB / 432.2 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.941e-05/0.2402, allocations: 39.62 kB / 432.2 MB, free: 5.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2402, allocations: 7.938 kB / 432.2 MB, free: 5.375 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2402, allocations: 0 / 432.2 MB, free: 5.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.2402, allocations: 4 kB / 432.2 MB, free: 5.371 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004306/0.2406, allocations: 359.8 kB / 432.6 MB, free: 4.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2406, allocations: 8.031 kB / 432.6 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/0.2407, allocations: 30.75 kB / 432.6 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.495e-05/0.2407, allocations: 8.891 kB / 432.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.2409, allocations: 192.2 kB / 432.8 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.241, allocations: 8.375 kB / 432.8 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.241, allocations: 4.359 kB / 432.8 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.2412, allocations: 89.61 kB / 432.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2412, allocations: 3.938 kB / 432.9 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.2412, allocations: 4 kB / 432.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.2412, allocations: 0 / 432.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.797e-05/0.2412, allocations: 15.98 kB / 432.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.2416, allocations: 253.8 kB / 433.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.925e-05/0.2417, allocations: 49.02 kB / 433.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.2417, allocations: 21.84 kB / 433.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.2417, allocations: 0 / 433.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.2417, allocations: 38.5 kB / 433.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.2418, allocations: 0 / 433.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001988/0.2419, allocations: 53.64 kB / 433.3 MB, free: 4.051 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.242, allocations: 85.03 kB / 433.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.2421, allocations: 134.1 kB / 433.6 MB, free: 3.809 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.2421, allocations: 25.7 kB / 433.6 MB, free: 3.777 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.2422, allocations: 92.08 kB / 433.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.014e-05/0.2422, allocations: 3.953 kB / 433.7 MB, free: 3.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.2422, allocations: 13.72 kB / 433.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2424, allocations: 318.8 kB / 434 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.858e-05/0.2424, allocations: 4 kB / 434 MB, free: 3.336 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.98e-05/0.2424, allocations: 17.72 kB / 434 MB, free: 3.312 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.346e-05/0.2425, allocations: 25.7 kB / 434 MB, free: 3.281 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2425, allocations: 3.938 kB / 434.1 MB, free: 3.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.337e-05/0.2426, allocations: 45.64 kB / 434.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2426, allocations: 7.984 kB / 434.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2426, allocations: 4 kB / 434.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2426, allocations: 4.125 kB / 434.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.315e-05/0.2426, allocations: 0 / 434.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.2426, allocations: 0 / 434.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.484e-05/0.2426, allocations: 4 kB / 434.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.2427, allocations: 0 / 434.1 MB, free: 3.207 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.935e-05/0.2427, allocations: 121.7 kB / 434.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.879e-05/0.2428, allocations: 45.58 kB / 434.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.2428, allocations: 11.48 kB / 434.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2428, allocations: 4.031 kB / 434.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2428, allocations: 4 kB / 434.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2428, allocations: 0 / 434.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.243, allocations: 165.6 kB / 434.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.243, allocations: 0 / 434.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-06/0.243, allocations: 0 / 434.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.243, allocations: 4 kB / 434.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.279e-06/0.243, allocations: 0 / 434.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.243, allocations: 0 / 434.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.243, allocations: 0 / 434.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.2432, allocations: 164.2 kB / 434.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.2432, allocations: 93.05 kB / 434.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.2433, allocations: 0 / 434.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.01e-05/0.2433, allocations: 0 / 434.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.2433, allocations: 7.984 kB / 434.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.2433, allocations: 0 / 434.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.481e-05/0.2434, allocations: 109.9 kB / 434.8 MB, free: 2.391 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2434, allocations: 7.969 kB / 434.8 MB, free: 2.383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002059/0.2436, allocations: 0 / 434.8 MB, free: 2.383 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004445/0.2441, allocations: 0.6859 MB / 435.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.2442, allocations: 24.02 kB / 435.5 MB, free: 1.641 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2442, allocations: 0 / 435.5 MB, free: 1.641 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.463e-05/0.2442, allocations: 7.938 kB / 435.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.2445, allocations: 16.02 kB / 435.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.2457, allocations: 1.252 MB / 436.8 MB, free: 280 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.246, allocations: 0.6885 MB / 437.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.956e-05/0.246, allocations: 3.984 kB / 437.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.2461, allocations: 11.44 kB / 437.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2461, allocations: 0 / 437.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.269, allocations: 1.336 MB / 438.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.639/7.908, allocations: 12.12 kB / 438.9 MB, free: 14.29 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_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_BooleanSignals_SampleClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.035904973978177] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 7.973274589981884 7.988658452 7.745313641 Calling exit ...