Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.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.001538/0.001538, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001941/0.001941, allocations: 211 kB / 24.53 MB, free: 4.07 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.487/1.487, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 63.89 kB / 378.6 MB, free: 3.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3167, allocations: 53.41 MB / 432 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003845/0.3205, allocations: 1.909 MB / 433.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.3232, allocations: 1.316 MB / 435.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/0.3234, allocations: 11.94 kB / 435.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004523/0.3239, allocations: 71.66 kB / 435.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005049/0.3244, allocations: 127.4 kB / 435.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009489/0.3253, allocations: 226.9 kB / 435.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000396/0.3257, allocations: 183.5 kB / 435.8 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.3259, allocations: 29.67 kB / 435.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.3261, allocations: 79.69 kB / 435.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.3262, allocations: 83.61 kB / 436 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.3262, allocations: 12 kB / 436 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.3265, allocations: 75.88 kB / 436.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.3266, allocations: 47.84 kB / 436.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.3267, allocations: 79.47 kB / 436.2 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004741/0.3271, allocations: 247.8 kB / 436.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3271, allocations: 0 / 436.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3271, allocations: 0 / 436.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.3272, allocations: 4 kB / 436.4 MB, free: 2.23 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.0008679/0.328, allocations: 478.5 kB / 436.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.3281, allocations: 12.03 kB / 436.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.593e-05/0.3281, allocations: 192 / 436.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.981e-05/0.3281, allocations: 42.69 kB / 437 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.304e-05/0.3282, allocations: 20.8 kB / 437 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.3287, allocations: 245.4 kB / 437.2 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.3287, allocations: 8.375 kB / 437.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.3287, allocations: 4.375 kB / 437.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.3291, allocations: 159.5 kB / 437.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3291, allocations: 4 kB / 437.4 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.3292, allocations: 4 kB / 437.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3292, allocations: 0 / 437.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.3293, allocations: 35.92 kB / 437.4 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006374/0.3299, allocations: 357.4 kB / 437.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.3302, allocations: 119.8 kB / 437.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.867e-05/0.3303, allocations: 42.56 kB / 437.9 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.3304, allocations: 4 kB / 438 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.3306, allocations: 79.38 kB / 438 MB, free: 464 kB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.3306, allocations: 0 / 438 MB, free: 464 kB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004672/0.331, allocations: 149.4 kB / 438.2 MB, free: 308 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.3312, allocations: 162.5 kB / 438.3 MB, free: 108 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004289/0.3316, allocations: 337.9 kB / 438.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.3316, allocations: 29.7 kB / 438.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.3317, allocations: 128.1 kB / 438.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.3318, allocations: 23.95 kB / 438.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.004e-05/0.3318, allocations: 25.72 kB / 438.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.332, allocations: 338.8 kB / 439.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.391e-05/0.3321, allocations: 23.98 kB / 439.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.3322, allocations: 98.77 kB / 439.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.3324, allocations: 88.16 kB / 439.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.3324, allocations: 4 kB / 439.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002417/0.3326, allocations: 121.5 kB / 439.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.3326, allocations: 8 kB / 439.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3326, allocations: 320 / 439.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3327, allocations: 0 / 439.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.3328, allocations: 23.92 kB / 439.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.3328, allocations: 8 kB / 439.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.891e-05/0.3329, allocations: 12.06 kB / 439.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.3329, allocations: 11.92 kB / 439.6 MB, free: 14.77 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,shiftSample1.y,shiftSample1.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.0001552/0.333, allocations: 146.6 kB / 439.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.3332, allocations: 77.44 kB / 439.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.3334, allocations: 115.3 kB / 439.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3334, allocations: 0 / 439.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3334, allocations: 0 / 439.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3334, allocations: 8.062 kB / 439.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.3337, allocations: 220.5 kB / 440.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3337, allocations: 0 / 440.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.918e-05/0.3338, allocations: 12 kB / 440.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.3338, allocations: 3.984 kB / 440.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3338, allocations: 0 / 440.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3338, allocations: 4 kB / 440.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3338, allocations: 0 / 440.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.3341, allocations: 170.6 kB / 440.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.825e-05/0.3342, allocations: 43.83 kB / 440.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.3342, allocations: 4 kB / 440.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.612e-05/0.3343, allocations: 3.984 kB / 440.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.3343, allocations: 11.98 kB / 440.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.3344, allocations: 4 kB / 440.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002669/0.3346, allocations: 253.1 kB / 440.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3346, allocations: 4 kB / 440.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.3349, allocations: 35.92 kB / 440.7 MB, free: 13.59 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,shiftSample1.y,sample1.y,shiftSample1.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.002135/0.337, allocations: 1.019 MB / 441.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.3373, allocations: 67.89 kB / 441.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3373, allocations: 7.938 kB / 441.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.335e-05/0.3374, allocations: 23.98 kB / 441.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.3378, allocations: 73.5 kB / 441.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.3407, allocations: 2.235 MB / 444.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.3411, allocations: 0.7398 MB / 444.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.3412, allocations: 29.47 kB / 444.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.3413, allocations: 67.34 kB / 444.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3413, allocations: 0 / 444.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.3699, allocations: 5.565 MB / 450.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.53, allocations: 2.969 kB / 450.5 MB, free: 3.793 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79104e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.093697747972328] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 11.744986544013955 11.766500136 11.435024366 Calling exit ...