Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001243/0.001243, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.001406/0.001406, allocations: 214.9 kB / 24.52 MB, free: 3.684 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.448/1.448, allocations: 230.5 MB / 258.2 MB, free: 7.75 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.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 59.91 kB / 378.5 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3268, allocations: 53.4 MB / 431.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004353/0.3311, allocations: 1.877 MB / 433.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.3334, allocations: 1.223 MB / 435 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.3336, allocations: 7.938 kB / 435 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.3339, allocations: 75.66 kB / 435.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003754/0.3343, allocations: 127.4 kB / 435.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006729/0.335, allocations: 234.3 kB / 435.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002719/0.3352, allocations: 187.5 kB / 435.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.3353, allocations: 15.86 kB / 435.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.3355, allocations: 87.62 kB / 435.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.3356, allocations: 87.61 kB / 435.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.3356, allocations: 8 kB / 435.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.3358, allocations: 71.95 kB / 435.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.3359, allocations: 51.81 kB / 435.9 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.889e-05/0.336, allocations: 59.55 kB / 436 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.3364, allocations: 254.9 kB / 436.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3364, allocations: 0 / 436.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3364, allocations: 0 / 436.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3364, allocations: 0 / 436.2 MB, free: 2.125 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.0007885/0.3372, allocations: 478.5 kB / 436.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.3373, allocations: 12.02 kB / 436.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.122e-05/0.3373, allocations: 192 / 436.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.3373, allocations: 38.75 kB / 436.8 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.229e-05/0.3374, allocations: 24.8 kB / 436.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/0.3378, allocations: 229.5 kB / 437 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.3379, allocations: 8.375 kB / 437 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.3379, allocations: 8.375 kB / 437 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.3383, allocations: 214.9 kB / 437.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3383, allocations: 0 / 437.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3383, allocations: 0 / 437.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3383, allocations: 0 / 437.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.3384, allocations: 43.91 kB / 437.3 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.339, allocations: 357.4 kB / 437.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.3393, allocations: 119.9 kB / 437.7 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.3394, allocations: 42.56 kB / 437.8 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.3394, allocations: 4 kB / 437.8 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.3396, allocations: 83.31 kB / 437.9 MB, free: 296 kB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.3396, allocations: 0 / 437.9 MB, free: 296 kB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004195/0.34, allocations: 157.6 kB / 438 MB, free: 132 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.3401, allocations: 166.2 kB / 438.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/0.3405, allocations: 338.1 kB / 438.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.3405, allocations: 25.7 kB / 438.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.3407, allocations: 132.1 kB / 438.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.3407, allocations: 23.83 kB / 438.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/0.3407, allocations: 33.7 kB / 438.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3409, allocations: 334.8 kB / 439 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.449e-05/0.341, allocations: 24.05 kB / 439.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.3412, allocations: 175.8 kB / 439.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.3413, allocations: 88.22 kB / 439.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3413, allocations: 0 / 439.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002478/0.3416, allocations: 129.5 kB / 439.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3416, allocations: 8 kB / 439.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3416, allocations: 0 / 439.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3416, allocations: 3.938 kB / 439.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.3417, allocations: 19.98 kB / 439.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3417, allocations: 128 / 439.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.765e-05/0.3418, allocations: 11.94 kB / 439.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.3418, allocations: 11.94 kB / 439.5 MB, free: 14.5 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.0001449/0.342, allocations: 154.5 kB / 439.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.617e-05/0.3421, allocations: 69.52 kB / 439.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.3424, allocations: 135.3 kB / 439.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3424, allocations: 0 / 439.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3424, allocations: 0 / 439.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3424, allocations: 7.984 kB / 439.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.3426, allocations: 200.7 kB / 440.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3426, allocations: 4 kB / 440.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-05/0.3427, allocations: 12 kB / 440.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3427, allocations: 0 / 440.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.3427, allocations: 4 kB / 440.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/0.3427, allocations: 8.047 kB / 440.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3427, allocations: 4 kB / 440.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.343, allocations: 174.5 kB / 440.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.139e-05/0.3431, allocations: 35.88 kB / 440.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.3431, allocations: 11.94 kB / 440.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.85e-05/0.3432, allocations: 7.984 kB / 440.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.3432, allocations: 11.98 kB / 440.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.3433, allocations: 4 kB / 440.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002603/0.3435, allocations: 253.1 kB / 440.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3435, allocations: 0 / 440.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.3438, allocations: 39.92 kB / 440.6 MB, free: 13.3 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.002215/0.346, allocations: 1.041 MB / 441.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002435/0.3463, allocations: 79.91 kB / 441.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3463, allocations: 0 / 441.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.89e-05/0.3463, allocations: 27.92 kB / 441.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.3468, allocations: 74.34 kB / 441.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.3496, allocations: 2.249 MB / 444.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.3497, allocations: 135.9 kB / 444.2 MB, free: 9.684 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.96e-05/0.3498, allocations: 29.61 kB / 444.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.3499, allocations: 63.42 kB / 444.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3499, allocations: 4 kB / 444.3 MB, free: 9.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.3786, allocations: 5.788 MB / 450.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.43, allocations: 8.062 kB / 450.1 MB, free: 3.855 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.936093871016055] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 11.65051135898102 11.678773976 11.337274773 Calling exit ...