Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.001341/0.001341, allocations: 120.1 kB / 18.5 MB, free: 4.535 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.001523/0.001523, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.567/1.567, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 55.91 kB / 373.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.11, allocations: 53.39 MB / 427.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003765/0.1138, allocations: 1.94 MB / 429 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.1161, allocations: 1.322 MB / 430.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.1163, allocations: 7.938 kB / 430.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003568/0.1166, allocations: 71.61 kB / 430.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000451/0.1171, allocations: 135.4 kB / 430.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000742/0.1178, allocations: 233.7 kB / 430.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002988/0.1181, allocations: 195.4 kB / 430.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1182, allocations: 21.67 kB / 431 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.1184, allocations: 79.69 kB / 431 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.1185, allocations: 95.53 kB / 431.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.1186, allocations: 12 kB / 431.2 MB, free: 500 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.1188, allocations: 67.95 kB / 431.2 MB, free: 432 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.272e-05/0.1189, allocations: 59.77 kB / 431.3 MB, free: 372 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.119, allocations: 83.42 kB / 431.4 MB, free: 288 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.1194, allocations: 250.9 kB / 431.6 MB, free: 36 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1194, allocations: 4 kB / 431.6 MB, free: 32 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1194, allocations: 0 / 431.6 MB, free: 32 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.1194, allocations: 0 / 431.6 MB, free: 32 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.2147/0.3341, allocations: 0.5487 MB / 432.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.3341, allocations: 9.75 kB / 432.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.179e-05/0.3341, allocations: 2.844 kB / 432.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.098e-05/0.3342, allocations: 39.84 kB / 432.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.65e-05/0.3342, allocations: 26.67 kB / 432.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.3347, allocations: 310.4 kB / 432.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.3347, allocations: 4.312 kB / 432.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.3347, allocations: 10.67 kB / 432.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/0.3351, allocations: 179.5 kB / 432.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3351, allocations: 2.062 kB / 432.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.3352, allocations: 5.625 kB / 432.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3352, allocations: 2.188 kB / 432.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.3353, allocations: 42.59 kB / 432.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.3358, allocations: 396.4 kB / 433.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.336, allocations: 142.1 kB / 433.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.787e-05/0.3361, allocations: 56.8 kB / 433.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.3362, allocations: 1.562 kB / 433.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.3364, allocations: 83.81 kB / 433.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.3364, allocations: 1.781 kB / 433.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004255/0.3368, allocations: 171.1 kB / 433.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.3369, allocations: 192.1 kB / 433.8 MB, free: 9.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.3372, allocations: 349.4 kB / 434.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.3372, allocations: 26.61 kB / 434.2 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.15e-05/0.3373, allocations: 132.8 kB / 434.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.3373, allocations: 22.8 kB / 434.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.3374, allocations: 39.64 kB / 434.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.3375, allocations: 334.4 kB / 434.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.228e-05/0.3375, allocations: 30.7 kB / 434.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.693e-05/0.3376, allocations: 103.5 kB / 434.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.3378, allocations: 103 kB / 434.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3378, allocations: 0 / 434.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002365/0.338, allocations: 145.5 kB / 435.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.338, allocations: 5.406 kB / 435.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.338, allocations: 6.094 kB / 435.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.3381, allocations: 3.625 kB / 435.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.3382, allocations: 23.36 kB / 435.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.3382, allocations: 12.3 kB / 435.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.824e-05/0.3383, allocations: 3.406 kB / 435.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.3383, allocations: 9 kB / 435.1 MB, free: 9.125 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,backSample1.y,backSample1.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 (13): * Single equations (assignments): 13 * 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.0001075/0.3384, allocations: 157.1 kB / 435.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.656e-05/0.3385, allocations: 85.91 kB / 435.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.394e-05/0.3385, allocations: 32.34 kB / 435.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.3385, allocations: 2.312 kB / 435.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.3385, allocations: 2.031 kB / 435.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.3385, allocations: 3.984 kB / 435.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.3387, allocations: 246 kB / 435.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3387, allocations: 1.062 kB / 435.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.3388, allocations: 17.2 kB / 435.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3388, allocations: 1.594 kB / 435.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.3388, allocations: 5.688 kB / 435.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.3388, allocations: 8.453 kB / 435.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.3388, allocations: 1.062 kB / 435.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.3391, allocations: 186 kB / 435.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.129e-05/0.3392, allocations: 120.8 kB / 436 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.3392, allocations: 7.625 kB / 436 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.3393, allocations: 8.625 kB / 436 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.3393, allocations: 7.062 kB / 436 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.3394, allocations: 9.047 kB / 436 MB, free: 8.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002306/0.3396, allocations: 252.7 kB / 436.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3396, allocations: 1.125 kB / 436.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002902/0.3399, allocations: 37.2 kB / 436.3 MB, free: 8.453 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001909/0.3418, allocations: 1.04 MB / 437.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002527/0.342, allocations: 84.53 kB / 437.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.342, allocations: 1.062 kB / 437.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.129e-05/0.3421, allocations: 26.97 kB / 437.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.3426, allocations: 77.84 kB / 437.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.3449, allocations: 2.321 MB / 439.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.3451, allocations: 0.7525 MB / 440.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.525e-05/0.3452, allocations: 33.16 kB / 440.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.3453, allocations: 62.66 kB / 440.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3453, allocations: 0 / 440.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.3707, allocations: 5.735 MB / 446.4 MB, free: 4.449 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.233/8.604, allocations: 15.36 kB / 446.4 MB, free: 4.438 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79104e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.219273208989762] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'backSample1.y'] 8.782984136021696 8.796692746 8.674456509 Calling exit ...