Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001403/0.001403, allocations: 118.3 kB / 18.49 MB, free: 4.535 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.001501/0.001501, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.58/1.58, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 67.89 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.104, allocations: 53.37 MB / 427.1 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003743/0.1077, allocations: 1.924 MB / 429 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.1098, allocations: 1.198 MB / 430.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.11, allocations: 7.875 kB / 430.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006134/0.1106, allocations: 155.5 kB / 430.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004679/0.1111, allocations: 155.4 kB / 430.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000535/0.1116, allocations: 170 kB / 430.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.1119, allocations: 187.4 kB / 430.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.112, allocations: 17.56 kB / 430.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.1122, allocations: 83.62 kB / 430.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.1123, allocations: 75.69 kB / 431 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.1123, allocations: 8 kB / 431 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.1125, allocations: 67.89 kB / 431.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.504e-05/0.1125, allocations: 39.84 kB / 431.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.79e-05/0.1126, allocations: 79.47 kB / 431.2 MB, free: 480 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.113, allocations: 207.1 kB / 431.4 MB, free: 272 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.113, allocations: 0 / 431.4 MB, free: 272 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.113, allocations: 0 / 431.4 MB, free: 272 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.113, allocations: 0 / 431.4 MB, free: 272 kB / 350.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.2139/0.3269, allocations: 0.5194 MB / 431.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3269, allocations: 10.25 kB / 431.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.147e-05/0.3269, allocations: 5.625 kB / 431.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.69e-05/0.327, allocations: 40.06 kB / 432 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.848e-05/0.327, allocations: 26.7 kB / 432 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.3274, allocations: 269.2 kB / 432.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.3274, allocations: 6.766 kB / 432.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.3274, allocations: 5.344 kB / 432.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.3278, allocations: 148.4 kB / 432.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3278, allocations: 0.5625 kB / 432.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3278, allocations: 4.125 kB / 432.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3278, allocations: 3.344 kB / 432.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.3279, allocations: 33.34 kB / 432.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.3285, allocations: 367.7 kB / 432.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.3287, allocations: 106.1 kB / 432.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.774e-05/0.3288, allocations: 45.56 kB / 433 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.3289, allocations: 2.094 kB / 433 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.329, allocations: 70.66 kB / 433 MB, free: 10.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.963e-06/0.329, allocations: 1.812 kB / 433 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004323/0.3295, allocations: 150.6 kB / 433.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/0.3295, allocations: 137.7 kB / 433.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.3299, allocations: 270.2 kB / 433.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.3299, allocations: 26.92 kB / 433.6 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.255e-05/0.33, allocations: 119.8 kB / 433.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.33, allocations: 13.03 kB / 433.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.276e-05/0.3301, allocations: 34.05 kB / 433.8 MB, free: 9.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.3302, allocations: 336.9 kB / 434.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.596e-05/0.3302, allocations: 21.34 kB / 434.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.916e-05/0.3303, allocations: 69.84 kB / 434.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.3304, allocations: 79.8 kB / 434.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3304, allocations: 2.906 kB / 434.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002124/0.3306, allocations: 117.8 kB / 434.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3307, allocations: 4.969 kB / 434.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3307, allocations: 1.219 kB / 434.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.3307, allocations: 3.719 kB / 434.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.263e-05/0.3308, allocations: 12.34 kB / 434.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3308, allocations: 4.359 kB / 434.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.3308, allocations: 7.422 kB / 434.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.3309, allocations: 7.438 kB / 434.4 MB, free: 9.445 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 9.999e-05/0.331, allocations: 146.5 kB / 434.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.413e-05/0.331, allocations: 70.36 kB / 434.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.627e-05/0.3311, allocations: 22.83 kB / 434.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3311, allocations: 4.312 kB / 434.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3311, allocations: 0 / 434.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3311, allocations: 0 / 434.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.3312, allocations: 230 kB / 434.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3312, allocations: 8.359 kB / 434.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.598e-05/0.3313, allocations: 13.88 kB / 434.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3313, allocations: 2.469 kB / 434.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.3313, allocations: 0.5 kB / 434.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3313, allocations: 1.312 kB / 434.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3313, allocations: 2.438 kB / 434.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.3315, allocations: 162.5 kB / 435.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.296e-05/0.3316, allocations: 104.4 kB / 435.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.3316, allocations: 11.02 kB / 435.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.608e-05/0.3316, allocations: 0.7188 kB / 435.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.3317, allocations: 12.31 kB / 435.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.3317, allocations: 7.156 kB / 435.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001643/0.3319, allocations: 198.6 kB / 435.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3319, allocations: 0 / 435.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.3321, allocations: 30.11 kB / 435.4 MB, free: 8.801 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.001785/0.3339, allocations: 1.011 MB / 436.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.3341, allocations: 64.27 kB / 436.5 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3341, allocations: 0.9688 kB / 436.5 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.827e-05/0.3342, allocations: 18.81 kB / 436.5 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.3346, allocations: 69.22 kB / 436.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.3366, allocations: 1.95 MB / 438.5 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.3367, allocations: 0.7328 MB / 439.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.613e-05/0.3368, allocations: 25.88 kB / 439.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.285e-05/0.3369, allocations: 47.11 kB / 439.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3369, allocations: 1.219 kB / 439.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.3604, allocations: 4.693 MB / 444 MB, free: 5.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.295/8.656, allocations: 15.44 kB / 444.1 MB, free: 5.23 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98963e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.305061755003408] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'subSample1.y'] 8.8374700450222 8.850803315 8.734833567999999 Calling exit ...