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.001233/0.001233, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001371/0.001371, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.374/1.374, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.001439/0.001439, allocations: 43.92 kB / 378.5 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2411, allocations: 53.37 MB / 431.9 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003295/0.2444, allocations: 1.937 MB / 433.9 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.2465, allocations: 1.229 MB / 435.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.2467, allocations: 11.88 kB / 435.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000636/0.2473, allocations: 159.5 kB / 435.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004005/0.2477, allocations: 163 kB / 435.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.2482, allocations: 167.4 kB / 435.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.2484, allocations: 191.5 kB / 435.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.2486, allocations: 25.73 kB / 435.8 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.2487, allocations: 79.62 kB / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.2488, allocations: 83.62 kB / 435.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.2488, allocations: 8 kB / 436 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.249, allocations: 59.95 kB / 436 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.13e-05/0.2491, allocations: 47.78 kB / 436.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.392e-05/0.2491, allocations: 67.53 kB / 436.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.2495, allocations: 216 kB / 436.3 MB, free: 2.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2495, allocations: 4 kB / 436.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2495, allocations: 0 / 436.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.2495, allocations: 0 / 436.3 MB, free: 2.414 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.0007577/0.2502, allocations: 454.7 kB / 436.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2503, allocations: 12.03 kB / 436.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.257e-05/0.2503, allocations: 192 / 436.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.757e-05/0.2503, allocations: 38.75 kB / 436.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/0.2504, allocations: 20.8 kB / 436.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.2507, allocations: 217.1 kB / 437.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.2507, allocations: 8.125 kB / 437.1 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.2508, allocations: 8 kB / 437.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.2511, allocations: 150.7 kB / 437.2 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2511, allocations: 0 / 437.2 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.2511, allocations: 0 / 437.2 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.2511, allocations: 4 kB / 437.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.2512, allocations: 35.98 kB / 437.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000496/0.2517, allocations: 337.4 kB / 437.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.252, allocations: 107.9 kB / 437.7 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.895e-05/0.252, allocations: 42.56 kB / 437.7 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.2521, allocations: 0 / 437.7 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.2522, allocations: 83.31 kB / 437.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.2522, allocations: 0 / 437.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003776/0.2526, allocations: 141.5 kB / 438 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.53e-05/0.2527, allocations: 132.5 kB / 438.1 MB, free: 440 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.253, allocations: 277 kB / 438.4 MB, free: 156 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.2531, allocations: 25.7 kB / 438.4 MB, free: 124 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.503e-05/0.2532, allocations: 120.4 kB / 438.5 MB, free: 0 / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.2532, allocations: 20 kB / 438.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/0.2532, allocations: 29.61 kB / 438.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2534, allocations: 334.8 kB / 438.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.94e-05/0.2534, allocations: 19.94 kB / 438.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.2535, allocations: 73.92 kB / 439 MB, free: 15.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.2537, allocations: 76.27 kB / 439 MB, free: 15.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2537, allocations: 3.828 kB / 439 MB, free: 15.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002232/0.2539, allocations: 125.5 kB / 439.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2539, allocations: 6.5 kB / 439.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2539, allocations: 0 / 439.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2539, allocations: 4 kB / 439.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.782e-05/0.254, allocations: 11.98 kB / 439.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.254, allocations: 7.938 kB / 439.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.389e-05/0.2541, allocations: 7.938 kB / 439.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.2541, allocations: 8 kB / 439.2 MB, free: 15.23 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.0001298/0.2542, allocations: 149.8 kB / 439.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.774e-05/0.2543, allocations: 65.55 kB / 439.4 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.2545, allocations: 107.6 kB / 439.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2545, allocations: 64 / 439.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.2545, allocations: 7.938 kB / 439.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.2545, allocations: 4 kB / 439.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.2547, allocations: 200.6 kB / 439.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2547, allocations: 0 / 439.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/0.2548, allocations: 4 kB / 439.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.2548, allocations: 4.062 kB / 439.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.2548, allocations: 4 kB / 439.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.2548, allocations: 4 kB / 439.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.2548, allocations: 7.875 kB / 439.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.255, allocations: 150.7 kB / 439.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.126e-05/0.2551, allocations: 39.77 kB / 439.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.2551, allocations: 8 kB / 440 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.208e-05/0.2552, allocations: 4 kB / 440 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.2552, allocations: 11.92 kB / 440 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.2553, allocations: 8 kB / 440 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002013/0.2555, allocations: 196.5 kB / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2555, allocations: 0 / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003099/0.2558, allocations: 31.98 kB / 440.2 MB, free: 14.15 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.001913/0.2577, allocations: 1.002 MB / 441.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.2579, allocations: 59.92 kB / 441.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2579, allocations: 8.188 kB / 441.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.083e-05/0.258, allocations: 27.92 kB / 441.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.2583, allocations: 60.3 kB / 441.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.2606, allocations: 1.958 MB / 443.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.261, allocations: 0.7281 MB / 444 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.757e-05/0.2611, allocations: 29.45 kB / 444.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.237e-05/0.2611, allocations: 43.42 kB / 444.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2611, allocations: 0 / 444.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/0.2863, allocations: 4.9 MB / 449 MB, free: 5.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.76, allocations: 6.141 kB / 449 MB, free: 5.41 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.150029696000274] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 10.970345048001036 10.984507029 10.732104686 Calling exit ...