Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001525/0.001525, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001661/0.001661, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.44/1.44, allocations: 230.4 MB / 254.7 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 59.91 kB / 373.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1044, allocations: 53.32 MB / 426.9 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003422/0.1078, allocations: 1.917 MB / 428.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.11, allocations: 1.216 MB / 430 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.1101, allocations: 11.88 kB / 430 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006974/0.1108, allocations: 147.5 kB / 430.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004151/0.1112, allocations: 151.4 kB / 430.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.1118, allocations: 171.4 kB / 430.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.112, allocations: 191.5 kB / 430.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1121, allocations: 17.56 kB / 430.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1123, allocations: 79.62 kB / 430.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1124, allocations: 83.61 kB / 430.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.1124, allocations: 8 kB / 430.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.1125, allocations: 51.97 kB / 430.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.105e-05/0.1126, allocations: 47.83 kB / 430.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.968e-05/0.1127, allocations: 79.42 kB / 431 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.113, allocations: 211.1 kB / 431.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.113, allocations: 0 / 431.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.113, allocations: 0 / 431.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.113, allocations: 0 / 431.2 MB, free: 0.5625 MB / 350.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.1964/0.3094, allocations: 0.5168 MB / 431.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.3095, allocations: 9.312 kB / 431.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.754e-05/0.3095, allocations: 42.41 kB / 431.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.65e-05/0.3096, allocations: 23.89 kB / 431.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/0.31, allocations: 270.5 kB / 432.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.3101, allocations: 6.688 kB / 432.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.3101, allocations: 4.953 kB / 432.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/0.3104, allocations: 148.4 kB / 432.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3105, allocations: 3.938 kB / 432.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.3105, allocations: 3.188 kB / 432.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.3105, allocations: 5.062 kB / 432.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.3106, allocations: 37.61 kB / 432.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.311, allocations: 361.5 kB / 432.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.3112, allocations: 108.8 kB / 432.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.199e-05/0.3113, allocations: 41.14 kB / 432.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.3113, allocations: 6.703 kB / 432.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.3115, allocations: 75.8 kB / 432.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.3115, allocations: 0 / 432.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003613/0.3119, allocations: 140.8 kB / 433 MB, free: 10.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.3119, allocations: 135 kB / 433.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.3122, allocations: 280.1 kB / 433.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.3122, allocations: 26.83 kB / 433.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.3122, allocations: 116.9 kB / 433.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.3123, allocations: 19.17 kB / 433.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.3123, allocations: 28.67 kB / 433.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.808e-05/0.3124, allocations: 335.3 kB / 433.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.785e-05/0.3124, allocations: 23.14 kB / 434 MB, free: 9.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.229e-05/0.3125, allocations: 71.62 kB / 434 MB, free: 9.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.3126, allocations: 76.64 kB / 434.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3126, allocations: 0 / 434.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001943/0.3128, allocations: 122.2 kB / 434.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3129, allocations: 5.25 kB / 434.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3129, allocations: 2 kB / 434.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.3129, allocations: 1.969 kB / 434.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.199e-05/0.313, allocations: 19.61 kB / 434.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.313, allocations: 1.906 kB / 434.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.313, allocations: 3.812 kB / 434.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.313, allocations: 6.219 kB / 434.3 MB, free: 9.758 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.0001074/0.3132, allocations: 150.8 kB / 434.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.3132, allocations: 64 kB / 434.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.3133, allocations: 23.97 kB / 434.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3133, allocations: 7.734 kB / 434.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3133, allocations: 0 / 434.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3133, allocations: 6.031 kB / 434.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.3134, allocations: 230.3 kB / 434.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3134, allocations: 5.359 kB / 434.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.3135, allocations: 6.906 kB / 434.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3135, allocations: 1.719 kB / 434.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3135, allocations: 3.625 kB / 434.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3135, allocations: 3.938 kB / 434.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3135, allocations: 6.547 kB / 434.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.3137, allocations: 159 kB / 434.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-05/0.3138, allocations: 110 kB / 435 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.3138, allocations: 6.5 kB / 435 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.773e-05/0.3138, allocations: 7.125 kB / 435 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.3139, allocations: 7.297 kB / 435 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.3139, allocations: 9.344 kB / 435 MB, free: 9.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001803/0.3141, allocations: 198.8 kB / 435.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3141, allocations: 0 / 435.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.3143, allocations: 30.28 kB / 435.3 MB, free: 9.113 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.001678/0.316, allocations: 1.014 MB / 436.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.3162, allocations: 62.09 kB / 436.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3162, allocations: 0 / 436.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.238e-05/0.3163, allocations: 29 kB / 436.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.3167, allocations: 61.39 kB / 436.4 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.3185, allocations: 1.944 MB / 438.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.3187, allocations: 0.7317 MB / 439.1 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.899e-05/0.3188, allocations: 21.72 kB / 439.1 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.565e-05/0.3189, allocations: 51.09 kB / 439.2 MB, free: 6.438 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3189, allocations: 0 / 439.2 MB, free: 6.438 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.3478, allocations: 4.727 MB / 443.9 MB, free: 5.629 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.218/8.565, allocations: 5.172 kB / 443.9 MB, free: 5.625 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79247e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.897634082008153] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 8.688342634122819 8.701820868 8.585778804 Calling exit ...