Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 189.5 kB / 24.49 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 47.91 kB / 371.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2398, allocations: 52.18 MB / 423.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003272/0.2431, allocations: 1.868 MB / 425.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.2447, allocations: 1.009 MB / 426.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.561e-05/0.2448, allocations: 7.938 kB / 426.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005603/0.2454, allocations: 151.5 kB / 426.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.2457, allocations: 115.5 kB / 426.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.2462, allocations: 201.7 kB / 426.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.2464, allocations: 175.5 kB / 426.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2465, allocations: 25.72 kB / 426.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.2466, allocations: 83.58 kB / 427 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.2468, allocations: 71.69 kB / 427 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.2468, allocations: 8 kB / 427.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.2469, allocations: 67.94 kB / 427.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.907e-05/0.247, allocations: 47.72 kB / 427.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.621e-05/0.2471, allocations: 47.67 kB / 427.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.2474, allocations: 208 kB / 427.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2474, allocations: 4 kB / 427.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.681e-06/0.2474, allocations: 4 kB / 427.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.2474, allocations: 0 / 427.4 MB, free: 10.3 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.000689/0.2481, allocations: 450.7 kB / 427.9 MB, free: 9.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.2481, allocations: 8.031 kB / 427.9 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.895e-05/0.2481, allocations: 4.188 kB / 427.9 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.2482, allocations: 34.75 kB / 427.9 MB, free: 9.766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.2482, allocations: 24.8 kB / 427.9 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.2485, allocations: 213.1 kB / 428.1 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.2485, allocations: 20 kB / 428.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.2485, allocations: 8 kB / 428.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.2489, allocations: 172.4 kB / 428.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.2489, allocations: 0 / 428.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.2489, allocations: 4 kB / 428.3 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.2489, allocations: 4 kB / 428.3 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.908e-05/0.249, allocations: 31.92 kB / 428.4 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.2494, allocations: 317.6 kB / 428.7 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.2497, allocations: 107.9 kB / 428.8 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.518e-05/0.2497, allocations: 46.56 kB / 428.8 MB, free: 8.695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.2498, allocations: 0 / 428.8 MB, free: 8.695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.2499, allocations: 83.27 kB / 428.9 MB, free: 8.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.2499, allocations: 0 / 428.9 MB, free: 8.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003562/0.2503, allocations: 149.5 kB / 429.1 MB, free: 8.449 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/0.2504, allocations: 132.5 kB / 429.2 MB, free: 8.289 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.2506, allocations: 268.9 kB / 429.5 MB, free: 8.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.2507, allocations: 29.7 kB / 429.5 MB, free: 7.984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.829e-05/0.2508, allocations: 116.1 kB / 429.6 MB, free: 7.867 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.2508, allocations: 19.83 kB / 429.6 MB, free: 7.848 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.2508, allocations: 29.72 kB / 429.6 MB, free: 7.812 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.251, allocations: 330.8 kB / 430 MB, free: 7.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.277e-05/0.251, allocations: 23.98 kB / 430 MB, free: 7.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.2512, allocations: 121.7 kB / 430.1 MB, free: 7.305 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.2513, allocations: 80.22 kB / 430.2 MB, free: 7.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2513, allocations: 0 / 430.2 MB, free: 7.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002087/0.2515, allocations: 117.7 kB / 430.3 MB, free: 7.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.2515, allocations: 4 kB / 430.3 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2515, allocations: 224 / 430.3 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2515, allocations: 12 kB / 430.3 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.703e-05/0.2516, allocations: 15.92 kB / 430.3 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2516, allocations: 11.88 kB / 430.3 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.744e-05/0.2517, allocations: 15.89 kB / 430.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.2517, allocations: 4 kB / 430.4 MB, free: 7.027 MB / 334.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.0001333/0.2518, allocations: 137.8 kB / 430.5 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.165e-05/0.2519, allocations: 65.53 kB / 430.6 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.2522, allocations: 115.5 kB / 430.7 MB, free: 6.691 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.2522, allocations: 8 kB / 430.7 MB, free: 6.684 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2522, allocations: 3.938 kB / 430.7 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2522, allocations: 0 / 430.7 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.2524, allocations: 184.6 kB / 430.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2524, allocations: 0 / 430.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.2524, allocations: 19.92 kB / 430.9 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2524, allocations: 0 / 430.9 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.026e-06/0.2524, allocations: 0 / 430.9 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2524, allocations: 4 kB / 430.9 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2524, allocations: 3.938 kB / 430.9 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.2527, allocations: 166.6 kB / 431.1 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.2528, allocations: 31.89 kB / 431.1 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.2528, allocations: 0 / 431.1 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.055e-05/0.2528, allocations: 4 kB / 431.1 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.2529, allocations: 15.92 kB / 431.1 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.2529, allocations: 4 kB / 431.1 MB, free: 6.188 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001926/0.2531, allocations: 192.5 kB / 431.3 MB, free: 6 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2531, allocations: 0 / 431.3 MB, free: 6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.2533, allocations: 31.94 kB / 431.3 MB, free: 5.969 MB / 334.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 (10): * Single equations (assignments): 8 * 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.002006/0.2553, allocations: 1.045 MB / 432.4 MB, free: 5.078 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.2555, allocations: 71.84 kB / 432.5 MB, free: 5.008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2555, allocations: 0 / 432.5 MB, free: 5.008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.991e-05/0.2556, allocations: 24 kB / 432.5 MB, free: 4.984 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.256, allocations: 66.11 kB / 432.5 MB, free: 4.922 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.2582, allocations: 1.957 MB / 434.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.2583, allocations: 119.4 kB / 434.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.917e-05/0.2584, allocations: 25.62 kB / 434.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.676e-05/0.2585, allocations: 47.42 kB / 434.7 MB, free: 2.637 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2585, allocations: 0 / 434.7 MB, free: 2.637 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.2851, allocations: 5.047 MB / 439.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.02, allocations: 11.36 kB / 439.7 MB, free: 13.68 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79247e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.356197036104277] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 11.227218984044157 11.244271698 10.993753798 Calling exit ...