Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001382/0.001382, 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.001431/0.001431, allocations: 220.5 kB / 24.53 MB, free: 4.008 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.541/1.541, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 59.89 kB / 378.6 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3241, allocations: 53.4 MB / 432 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.005387/0.3295, allocations: 1.929 MB / 433.9 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003674/0.3332, allocations: 1.239 MB / 435.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003401/0.3335, allocations: 3.938 kB / 435.1 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.3346, allocations: 159.5 kB / 435.3 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007482/0.3354, allocations: 151.4 kB / 435.4 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009425/0.3363, allocations: 179 kB / 435.6 MB, free: 3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005505/0.3369, allocations: 199.4 kB / 435.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.3371, allocations: 21.73 kB / 435.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.3373, allocations: 79.69 kB / 435.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.3376, allocations: 79.56 kB / 436 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.552e-05/0.3376, allocations: 8 kB / 436 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002792/0.3379, allocations: 55.95 kB / 436 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.338, allocations: 43.84 kB / 436.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.3381, allocations: 83.47 kB / 436.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006001/0.3387, allocations: 215.5 kB / 436.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3387, allocations: 0 / 436.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3387, allocations: 0 / 436.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.3388, allocations: 0 / 436.4 MB, free: 2.234 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.001241/0.34, allocations: 454.7 kB / 436.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.272e-05/0.3401, allocations: 8.031 kB / 436.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.624e-05/0.3401, allocations: 192 / 436.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.737e-05/0.3402, allocations: 38.75 kB / 436.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.3403, allocations: 24.8 kB / 436.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006663/0.341, allocations: 217.1 kB / 437.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.341, allocations: 8.375 kB / 437.1 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.341, allocations: 4.375 kB / 437.1 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006761/0.3417, allocations: 154.6 kB / 437.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.3417, allocations: 3.984 kB / 437.3 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.3417, allocations: 4 kB / 437.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3417, allocations: 0 / 437.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.3419, allocations: 31.98 kB / 437.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008481/0.3428, allocations: 341.4 kB / 437.6 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/0.3431, allocations: 99.89 kB / 437.7 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.3432, allocations: 46.56 kB / 437.8 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.612e-05/0.3433, allocations: 8.062 kB / 437.8 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.3435, allocations: 75.31 kB / 437.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.395e-06/0.3435, allocations: 0 / 437.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005574/0.3441, allocations: 145.7 kB / 438 MB, free: 416 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.3442, allocations: 132.5 kB / 438.1 MB, free: 252 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004798/0.3447, allocations: 269.1 kB / 438.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.3447, allocations: 29.7 kB / 438.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.3448, allocations: 116.1 kB / 438.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.3449, allocations: 15.89 kB / 438.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.635e-05/0.345, allocations: 33.67 kB / 438.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.3452, allocations: 338.8 kB / 438.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.766e-05/0.3453, allocations: 27.92 kB / 439 MB, free: 15.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.3454, allocations: 62 kB / 439 MB, free: 15.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.3456, allocations: 80.25 kB / 439.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3456, allocations: 3.938 kB / 439.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003315/0.3459, allocations: 113.5 kB / 439.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.346, allocations: 10.44 kB / 439.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.346, allocations: 7.984 kB / 439.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.346, allocations: 0 / 439.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.3461, allocations: 16.12 kB / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.3461, allocations: 0 / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.3462, allocations: 7.938 kB / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.3463, allocations: 11.92 kB / 439.3 MB, free: 15.05 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,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.0001961/0.3464, allocations: 146.8 kB / 439.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.3466, allocations: 65.56 kB / 439.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.3469, allocations: 107.3 kB / 439.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3469, allocations: 4.062 kB / 439.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.3469, allocations: 4 kB / 439.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.3469, allocations: 0 / 439.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.3472, allocations: 204.5 kB / 439.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.3472, allocations: 4 kB / 439.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.3473, allocations: 4 kB / 439.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3473, allocations: 0 / 439.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.3473, allocations: 0 / 439.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3473, allocations: 4 kB / 439.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3473, allocations: 0 / 439.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.3476, allocations: 162.6 kB / 439.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.3477, allocations: 35.77 kB / 440 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/0.3478, allocations: 11.94 kB / 440 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.617e-05/0.3479, allocations: 3.984 kB / 440 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.3479, allocations: 4 kB / 440 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.3479, allocations: 4 kB / 440 MB, free: 14.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000314/0.3483, allocations: 208.4 kB / 440.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3483, allocations: 4 kB / 440.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004336/0.3487, allocations: 27.98 kB / 440.2 MB, free: 13.98 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,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.002852/0.3515, allocations: 1.011 MB / 441.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003979/0.3519, allocations: 59.92 kB / 441.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.352, allocations: 4 kB / 441.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.3521, allocations: 23.92 kB / 441.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.3526, allocations: 61.69 kB / 441.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.3563, allocations: 1.961 MB / 443.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.3567, allocations: 0.7242 MB / 444.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001376/0.3568, allocations: 25.48 kB / 444.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.357, allocations: 51.41 kB / 444.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.357, allocations: 0 / 444.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03767/0.3946, allocations: 4.891 MB / 449 MB, free: 5.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.3, allocations: 7.75 kB / 449.1 MB, free: 5.195 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79247e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.983214073989075] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 11.517748799989931 11.532567474 11.190518979 Calling exit ...