Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001263/0.001263, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001388/0.001388, allocations: 220.2 kB / 24.53 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 67.89 kB / 378.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3187, allocations: 53.4 MB / 432 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.004014/0.3227, allocations: 1.925 MB / 433.9 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.3251, allocations: 1.246 MB / 435.1 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.3252, allocations: 7.938 kB / 435.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006898/0.3259, allocations: 159.1 kB / 435.3 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004341/0.3264, allocations: 159.4 kB / 435.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005558/0.3269, allocations: 183.4 kB / 435.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003139/0.3272, allocations: 187.5 kB / 435.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.3274, allocations: 25.72 kB / 435.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.3275, allocations: 79.7 kB / 435.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.3276, allocations: 83.55 kB / 436 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.3277, allocations: 8 kB / 436 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.3278, allocations: 63.95 kB / 436.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.567e-05/0.3279, allocations: 43.84 kB / 436.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.257e-05/0.328, allocations: 71.47 kB / 436.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000353/0.3283, allocations: 203.6 kB / 436.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3283, allocations: 7.984 kB / 436.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3283, allocations: 0 / 436.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3284, allocations: 0 / 436.4 MB, free: 2.262 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.0008496/0.3292, allocations: 454.7 kB / 436.8 MB, free: 1.781 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.3292, allocations: 12.03 kB / 436.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.017e-05/0.3293, allocations: 4.125 kB / 436.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.3293, allocations: 38.75 kB / 436.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.3294, allocations: 24.8 kB / 436.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.3297, allocations: 213.1 kB / 437.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.3297, allocations: 8.375 kB / 437.1 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.3297, allocations: 4.375 kB / 437.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.3301, allocations: 146.7 kB / 437.3 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3301, allocations: 3.938 kB / 437.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.3301, allocations: 3.938 kB / 437.3 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3301, allocations: 8 kB / 437.3 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.3302, allocations: 35.97 kB / 437.3 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.3307, allocations: 333.4 kB / 437.7 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.331, allocations: 107.9 kB / 437.8 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.226e-05/0.331, allocations: 42.56 kB / 437.8 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.3311, allocations: 4.062 kB / 437.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.3312, allocations: 75.33 kB / 437.9 MB, free: 0.582 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.3312, allocations: 0 / 437.9 MB, free: 0.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003963/0.3316, allocations: 141.5 kB / 438 MB, free: 448 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.3317, allocations: 136.5 kB / 438.1 MB, free: 280 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.3321, allocations: 273.3 kB / 438.4 MB, free: 0 / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.3321, allocations: 29.75 kB / 438.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.949e-05/0.3322, allocations: 120.1 kB / 438.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.3322, allocations: 19.89 kB / 438.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/0.3323, allocations: 25.67 kB / 438.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3324, allocations: 338.8 kB / 438.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.173e-05/0.3325, allocations: 19.94 kB / 439 MB, free: 15.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.3326, allocations: 73.98 kB / 439 MB, free: 15.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.3327, allocations: 72.23 kB / 439.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3327, allocations: 0 / 439.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002256/0.3329, allocations: 125.8 kB / 439.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.333, allocations: 4 kB / 439.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.333, allocations: 0 / 439.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.333, allocations: 4 kB / 439.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.172e-05/0.3331, allocations: 11.98 kB / 439.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.3331, allocations: 7.984 kB / 439.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.736e-05/0.3332, allocations: 7.938 kB / 439.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.3332, allocations: 15.88 kB / 439.3 MB, free: 15.07 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.0001367/0.3333, allocations: 146.6 kB / 439.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.011e-05/0.3334, allocations: 65.55 kB / 439.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.3336, allocations: 107.3 kB / 439.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3336, allocations: 0 / 439.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3336, allocations: 0 / 439.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3336, allocations: 0 / 439.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.3339, allocations: 204.6 kB / 439.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.3339, allocations: 3.984 kB / 439.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.47e-05/0.3339, allocations: 8.062 kB / 439.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3339, allocations: 4 kB / 439.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3339, allocations: 0 / 439.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3339, allocations: 0 / 439.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3339, allocations: 4 kB / 439.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.3342, allocations: 154.6 kB / 440 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/0.3342, allocations: 39.78 kB / 440 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.3343, allocations: 7.938 kB / 440 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.57e-05/0.3343, allocations: 4 kB / 440 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.3344, allocations: 11.92 kB / 440 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.3344, allocations: 8.062 kB / 440 MB, free: 14.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002232/0.3346, allocations: 204.4 kB / 440.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3346, allocations: 96 / 440.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.3349, allocations: 31.94 kB / 440.3 MB, free: 14 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.002029/0.3369, allocations: 0.9998 MB / 441.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.3371, allocations: 68.03 kB / 441.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3371, allocations: 0 / 441.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.059e-05/0.3372, allocations: 27.92 kB / 441.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.3377, allocations: 62.05 kB / 441.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.3401, allocations: 1.953 MB / 443.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.3405, allocations: 0.7359 MB / 444.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.645e-05/0.3406, allocations: 21.47 kB / 444.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.739e-05/0.3407, allocations: 47.42 kB / 444.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3407, allocations: 0 / 444.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.3688, allocations: 4.842 MB / 449 MB, free: 5.281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.32, allocations: 4.062 kB / 449 MB, free: 5.277 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.921415524033364] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 11.536975283990614 11.564640521 11.231031683 Calling exit ...