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.001873/0.001873, 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.002181/0.002181, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.496/1.496, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.00185/0.00185, allocations: 55.91 kB / 378.6 MB, free: 3.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.256, allocations: 53.41 MB / 432 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003912/0.2599, allocations: 1.937 MB / 433.9 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.2622, allocations: 1.215 MB / 435.1 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002213/0.2624, allocations: 7.938 kB / 435.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000774/0.2632, allocations: 159.5 kB / 435.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004609/0.2636, allocations: 151.4 kB / 435.4 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005406/0.2642, allocations: 174.9 kB / 435.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.2645, allocations: 191.4 kB / 435.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.2646, allocations: 17.75 kB / 435.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.2647, allocations: 87.62 kB / 435.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.2649, allocations: 75.62 kB / 436 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.2649, allocations: 12 kB / 436 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.2651, allocations: 63.89 kB / 436 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.017e-05/0.2651, allocations: 39.84 kB / 436.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.74e-05/0.2652, allocations: 75.53 kB / 436.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.2656, allocations: 211.5 kB / 436.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2656, allocations: 0 / 436.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2656, allocations: 0 / 436.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.2656, allocations: 3.938 kB / 436.4 MB, free: 2.293 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.0008223/0.2664, allocations: 458.7 kB / 436.8 MB, free: 1.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2665, allocations: 8.031 kB / 436.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.766e-05/0.2665, allocations: 4.188 kB / 436.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.736e-05/0.2665, allocations: 38.73 kB / 436.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/0.2666, allocations: 24.8 kB / 436.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.2669, allocations: 209.1 kB / 437.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.267, allocations: 16.36 kB / 437.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.267, allocations: 4.375 kB / 437.1 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.2673, allocations: 146.7 kB / 437.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2673, allocations: 4 kB / 437.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2673, allocations: 3.938 kB / 437.3 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2673, allocations: 4 kB / 437.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.2674, allocations: 31.92 kB / 437.3 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005198/0.268, allocations: 341.4 kB / 437.6 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.2682, allocations: 107.9 kB / 437.7 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.198e-05/0.2683, allocations: 38.56 kB / 437.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.2683, allocations: 11.98 kB / 437.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.2685, allocations: 75.33 kB / 437.9 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.793e-06/0.2685, allocations: 0 / 437.9 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003797/0.2689, allocations: 141.5 kB / 438 MB, free: 472 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.269, allocations: 136.5 kB / 438.1 MB, free: 304 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.2693, allocations: 269 kB / 438.4 MB, free: 28 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.2693, allocations: 37.95 kB / 438.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.544e-05/0.2694, allocations: 120.1 kB / 438.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.2694, allocations: 11.91 kB / 438.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.2695, allocations: 33.66 kB / 438.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2696, allocations: 330.8 kB / 438.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.347e-05/0.2697, allocations: 23.98 kB / 438.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.2698, allocations: 66 kB / 439 MB, free: 15.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.2699, allocations: 80.22 kB / 439.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2699, allocations: 0 / 439.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002201/0.2702, allocations: 117.5 kB / 439.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2702, allocations: 8 kB / 439.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2702, allocations: 0 / 439.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2702, allocations: 0 / 439.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.504e-05/0.2703, allocations: 12 kB / 439.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2703, allocations: 3.938 kB / 439.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.193e-05/0.2703, allocations: 15.92 kB / 439.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.2704, allocations: 3.938 kB / 439.2 MB, free: 15.11 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.0001494/0.2705, allocations: 155 kB / 439.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.659e-05/0.2706, allocations: 65.5 kB / 439.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.2708, allocations: 103.4 kB / 439.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2708, allocations: 4 kB / 439.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2708, allocations: 0 / 439.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2708, allocations: 0 / 439.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.271, allocations: 212.6 kB / 439.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.271, allocations: 0 / 439.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/0.2711, allocations: 12 kB / 439.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2711, allocations: 0 / 439.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.2711, allocations: 4 kB / 439.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.2711, allocations: 3.984 kB / 439.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2711, allocations: 0 / 439.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.2713, allocations: 154.6 kB / 439.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.045e-05/0.2714, allocations: 35.78 kB / 440 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.2715, allocations: 8 kB / 440 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-05/0.2715, allocations: 7.984 kB / 440 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.2716, allocations: 0 / 440 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.2716, allocations: 8.078 kB / 440 MB, free: 14.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000281/0.2719, allocations: 212.3 kB / 440.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2719, allocations: 0 / 440.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004355/0.2723, allocations: 24 kB / 440.2 MB, free: 14.04 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.002577/0.2749, allocations: 1.008 MB / 441.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003234/0.2752, allocations: 72.03 kB / 441.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2752, allocations: 0 / 441.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.2753, allocations: 16 kB / 441.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/0.276, allocations: 61.66 kB / 441.4 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.2793, allocations: 1.964 MB / 443.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.2798, allocations: 0.7242 MB / 444.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.2799, allocations: 29.72 kB / 444.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.28, allocations: 51.41 kB / 444.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of SimCode: time 8.11e-07/0.28, allocations: 3.938 kB / 444.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03463/0.3147, allocations: 4.832 MB / 449 MB, free: 5.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.47, allocations: 7.984 kB / 449 MB, free: 5.301 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.018905540986452] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'subSample1.y'] 11.687414512038231 11.71568228 11.444784336 Calling exit ...