Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 121 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 213.5 kB / 21.45 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.409/1.409, allocations: 230.6 MB / 254.8 MB, free: 15.08 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 51.92 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1019, allocations: 53.33 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003653/0.1055, allocations: 1.912 MB / 428.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.1077, allocations: 1.22 MB / 430.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.1078, allocations: 11.94 kB / 430.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006234/0.1085, allocations: 151.5 kB / 430.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003901/0.1088, allocations: 151.4 kB / 430.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.1093, allocations: 163.5 kB / 430.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.1096, allocations: 195.5 kB / 430.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1097, allocations: 21.55 kB / 430.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1098, allocations: 83.62 kB / 430.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.1099, allocations: 79.61 kB / 431 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.1099, allocations: 8 kB / 431 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.1101, allocations: 55.91 kB / 431 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.286e-05/0.1101, allocations: 47.83 kB / 431.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.371e-05/0.1102, allocations: 71.48 kB / 431.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.1105, allocations: 215 kB / 431.4 MB, free: 404 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1105, allocations: 8 kB / 431.4 MB, free: 396 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1105, allocations: 0 / 431.4 MB, free: 396 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1105, allocations: 4 kB / 431.4 MB, free: 392 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.2255/0.336, allocations: 0.5124 MB / 431.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.336, allocations: 7.25 kB / 431.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.799e-05/0.3361, allocations: 2.562 kB / 431.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.965e-05/0.3361, allocations: 37.56 kB / 431.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.872e-05/0.3362, allocations: 23.34 kB / 432 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.3365, allocations: 271.3 kB / 432.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.3366, allocations: 12.84 kB / 432.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.3366, allocations: 4.844 kB / 432.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.3369, allocations: 151.1 kB / 432.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3369, allocations: 1.125 kB / 432.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3369, allocations: 6.766 kB / 432.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.337, allocations: 1.281 kB / 432.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.3371, allocations: 34.52 kB / 432.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.3375, allocations: 356.4 kB / 432.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.3377, allocations: 110.7 kB / 432.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.38e-05/0.3378, allocations: 45.33 kB / 432.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.3378, allocations: 7.062 kB / 432.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.338, allocations: 72.58 kB / 433 MB, free: 10.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.338, allocations: 0.8438 kB / 433 MB, free: 10.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003668/0.3383, allocations: 145.4 kB / 433.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.3384, allocations: 132.7 kB / 433.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.3387, allocations: 272.7 kB / 433.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.3387, allocations: 32.58 kB / 433.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/0.3387, allocations: 116.2 kB / 433.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.3388, allocations: 18.41 kB / 433.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.3388, allocations: 32.5 kB / 433.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.05e-05/0.3389, allocations: 336 kB / 434.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.829e-05/0.3389, allocations: 14.91 kB / 434.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.711e-05/0.339, allocations: 76.52 kB / 434.2 MB, free: 9.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.3391, allocations: 78.09 kB / 434.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3391, allocations: 0 / 434.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001877/0.3393, allocations: 114.1 kB / 434.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3393, allocations: 5.656 kB / 434.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3393, allocations: 5.438 kB / 434.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.3394, allocations: 5.719 kB / 434.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.224e-05/0.3394, allocations: 14.78 kB / 434.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.3394, allocations: 3.047 kB / 434.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.397e-05/0.3395, allocations: 7.359 kB / 434.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3395, allocations: 7 kB / 434.4 MB, free: 9.617 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 9.667e-05/0.3396, allocations: 147.5 kB / 434.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-05/0.3397, allocations: 69.7 kB / 434.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.602e-05/0.3397, allocations: 23.75 kB / 434.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3397, allocations: 7.031 kB / 434.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3397, allocations: 2.844 kB / 434.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3397, allocations: 0 / 434.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.3399, allocations: 231.6 kB / 434.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3399, allocations: 2 kB / 434.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.3399, allocations: 7.359 kB / 434.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3399, allocations: 0 / 434.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3399, allocations: 8.969 kB / 434.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3399, allocations: 0 / 434.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3399, allocations: 1.719 kB / 434.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.3401, allocations: 162.3 kB / 435.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.219e-05/0.3402, allocations: 111.6 kB / 435.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.3402, allocations: 5.25 kB / 435.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.625e-05/0.3403, allocations: 4.312 kB / 435.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.3403, allocations: 8.078 kB / 435.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.3403, allocations: 5.875 kB / 435.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001583/0.3405, allocations: 196.9 kB / 435.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3405, allocations: 0 / 435.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.3407, allocations: 40.78 kB / 435.4 MB, free: 8.961 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.001687/0.3424, allocations: 1.007 MB / 436.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.3426, allocations: 65.06 kB / 436.5 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3426, allocations: 1.188 kB / 436.5 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.024e-05/0.3427, allocations: 22.83 kB / 436.5 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.3431, allocations: 66.05 kB / 436.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.3449, allocations: 1.96 MB / 438.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.345, allocations: 0.7254 MB / 439.3 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.443e-05/0.3451, allocations: 24.2 kB / 439.3 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.3452, allocations: 57 kB / 439.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3452, allocations: 0 / 439.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.3693, allocations: 4.745 MB / 444.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.04/8.409, allocations: 6.219 kB / 444.1 MB, free: 5.406 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_1_0_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_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.806057013978716] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 8.584397952014115 8.602685175 8.488044489 Calling exit ...