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.001312/0.001312, allocations: 105.1 kB / 21.22 MB, free: 0.6211 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.001471/0.001471, allocations: 209.2 kB / 24.52 MB, free: 3.91 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.486/1.486, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.001952/0.001952, allocations: 71.89 kB / 378.5 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3325, allocations: 53.41 MB / 431.9 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003758/0.3363, allocations: 1.878 MB / 433.8 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002346/0.3386, allocations: 1.165 MB / 435 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.3388, allocations: 3.938 kB / 435 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008596/0.3397, allocations: 151.5 kB / 435.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005271/0.3402, allocations: 167.3 kB / 435.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006013/0.3408, allocations: 174.7 kB / 435.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.3411, allocations: 191.5 kB / 435.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.3413, allocations: 25.72 kB / 435.7 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.3414, allocations: 75.64 kB / 435.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.3415, allocations: 83.61 kB / 435.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.3415, allocations: 8 kB / 435.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.3417, allocations: 59.95 kB / 435.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.737e-05/0.3418, allocations: 51.78 kB / 435.9 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.648e-05/0.3419, allocations: 51.59 kB / 436 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000393/0.3423, allocations: 209.4 kB / 436.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3423, allocations: 0 / 436.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3423, allocations: 4 kB / 436.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.3423, allocations: 0 / 436.2 MB, free: 2.16 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.0008646/0.3431, allocations: 458.7 kB / 436.6 MB, free: 1.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3432, allocations: 8.031 kB / 436.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.46e-05/0.3432, allocations: 4.188 kB / 436.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.081e-05/0.3433, allocations: 34.75 kB / 436.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.103e-05/0.3433, allocations: 28.78 kB / 436.7 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.3437, allocations: 201.2 kB / 436.9 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.3437, allocations: 16.38 kB / 436.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.3437, allocations: 8.312 kB / 436.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003861/0.3441, allocations: 176.4 kB / 437.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3441, allocations: 0 / 437.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.3441, allocations: 4 kB / 437.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3441, allocations: 4 kB / 437.1 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.3442, allocations: 27.98 kB / 437.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005688/0.3448, allocations: 333.4 kB / 437.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.3451, allocations: 107.9 kB / 437.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.045e-05/0.3452, allocations: 42.56 kB / 437.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.3452, allocations: 3.984 kB / 437.6 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.3454, allocations: 79.33 kB / 437.7 MB, free: 468 kB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.3454, allocations: 0 / 437.7 MB, free: 468 kB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004004/0.3458, allocations: 145.6 kB / 437.8 MB, free: 316 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.3459, allocations: 144.4 kB / 438 MB, free: 140 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.3462, allocations: 273.1 kB / 438.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.3463, allocations: 29.7 kB / 438.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.3464, allocations: 120.2 kB / 438.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.3464, allocations: 15.89 kB / 438.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.237e-05/0.3465, allocations: 37.61 kB / 438.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3466, allocations: 334.8 kB / 438.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-05/0.3467, allocations: 16 kB / 438.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.3468, allocations: 125.4 kB / 438.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.347, allocations: 84.31 kB / 439 MB, free: 15.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.347, allocations: 0 / 439 MB, free: 15.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002195/0.3472, allocations: 117.7 kB / 439.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3472, allocations: 4 kB / 439.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.3472, allocations: 8.062 kB / 439.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.3472, allocations: 4.125 kB / 439.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.53e-05/0.3473, allocations: 12 kB / 439.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3473, allocations: 3.984 kB / 439.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.329e-05/0.3474, allocations: 15.83 kB / 439.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.3474, allocations: 11.94 kB / 439.2 MB, free: 14.86 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.0001536/0.3476, allocations: 138.6 kB / 439.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.121e-05/0.3477, allocations: 65.53 kB / 439.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.3479, allocations: 111.4 kB / 439.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3479, allocations: 4.062 kB / 439.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.348, allocations: 0 / 439.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.348, allocations: 4 kB / 439.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.3482, allocations: 196.6 kB / 439.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3482, allocations: 0 / 439.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.3482, allocations: 11.92 kB / 439.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3482, allocations: 4 kB / 439.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3482, allocations: 0 / 439.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3482, allocations: 0 / 439.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.3483, allocations: 7.984 kB / 439.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.3486, allocations: 166.6 kB / 439.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.777e-05/0.3486, allocations: 35.78 kB / 439.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.3487, allocations: 7.938 kB / 439.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-05/0.3487, allocations: 8 kB / 439.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.3488, allocations: 4.078 kB / 439.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.3488, allocations: 7.938 kB / 439.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002368/0.349, allocations: 208.4 kB / 440.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.349, allocations: 0 / 440.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.3493, allocations: 31.98 kB / 440.2 MB, free: 13.78 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 (10): * Single equations (assignments): 8 * 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.002224/0.3515, allocations: 1.033 MB / 441.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002589/0.3518, allocations: 71.84 kB / 441.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3518, allocations: 0 / 441.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.07e-05/0.3519, allocations: 27.98 kB / 441.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.3523, allocations: 56.14 kB / 441.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.3549, allocations: 1.982 MB / 443.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.355, allocations: 115.6 kB / 443.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.818e-05/0.3551, allocations: 21.48 kB / 443.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.3552, allocations: 63.34 kB / 443.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3552, allocations: 0 / 443.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.3839, allocations: 5.09 MB / 448.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.32, allocations: 11.86 kB / 448.6 MB, free: 5.363 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.886070645065047] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 11.545505658956245 11.573622213 11.226123489 Calling exit ...