Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001236/0.001236, allocations: 108.7 kB / 19.8 MB, free: 2.516 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.001449/0.001449, allocations: 214.6 kB / 23 MB, free: 5.609 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.371/1.371, allocations: 230.4 MB / 256.5 MB, free: 8.434 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.IntegerSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001892/0.001892, allocations: 68.06 kB / 376.2 MB, free: 4.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2487, allocations: 53.32 MB / 429.5 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003246/0.252, allocations: 1.925 MB / 431.4 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.2541, allocations: 1.305 MB / 432.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.2542, allocations: 3.938 kB / 432.8 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.2545, allocations: 67.67 kB / 432.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.2548, allocations: 135.4 kB / 433 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006121/0.2554, allocations: 230.1 kB / 433.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.2557, allocations: 179.5 kB / 433.4 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.417e-05/0.2558, allocations: 21.55 kB / 433.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.2559, allocations: 79.64 kB / 433.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.256, allocations: 87.59 kB / 433.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.256, allocations: 12 kB / 433.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.2562, allocations: 67.95 kB / 433.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.271e-05/0.2563, allocations: 55.7 kB / 433.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.076e-05/0.2563, allocations: 75.48 kB / 433.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.2567, allocations: 243.4 kB / 434 MB, free: 2.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2567, allocations: 0 / 434 MB, free: 2.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2567, allocations: 0 / 434 MB, free: 2.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.2567, allocations: 0 / 434 MB, free: 2.945 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.0007212/0.2574, allocations: 0.5503 MB / 434.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.2574, allocations: 8.031 kB / 434.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.2575, allocations: 38.75 kB / 434.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.2575, allocations: 20.8 kB / 434.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.2579, allocations: 299.8 kB / 434.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.258, allocations: 8.375 kB / 434.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.258, allocations: 11.88 kB / 434.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.2583, allocations: 167.1 kB / 435.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2583, allocations: 0 / 435.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.2584, allocations: 0 / 435.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2584, allocations: 4 kB / 435.1 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.2585, allocations: 35.92 kB / 435.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.259, allocations: 390.3 kB / 435.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.2592, allocations: 111.9 kB / 435.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.249e-05/0.2593, allocations: 42.56 kB / 435.6 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.2594, allocations: 8.062 kB / 435.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.2595, allocations: 83.31 kB / 435.7 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.2595, allocations: 0 / 435.7 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003805/0.2599, allocations: 149.4 kB / 435.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.26, allocations: 166.4 kB / 436 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.2604, allocations: 338.6 kB / 436.4 MB, free: 276 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.2604, allocations: 29.7 kB / 436.4 MB, free: 240 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.759e-05/0.2605, allocations: 132.1 kB / 436.5 MB, free: 104 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.2605, allocations: 15.91 kB / 436.5 MB, free: 88 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.2606, allocations: 29.7 kB / 436.6 MB, free: 52 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.2607, allocations: 334.8 kB / 436.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.2608, allocations: 27.98 kB / 436.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.2609, allocations: 82.86 kB / 437 MB, free: 15.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.2611, allocations: 88.22 kB / 437.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2611, allocations: 0 / 437.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002372/0.2613, allocations: 125.7 kB / 437.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2613, allocations: 11.94 kB / 437.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2613, allocations: 0 / 437.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2614, allocations: 7.938 kB / 437.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.2615, allocations: 19.98 kB / 437.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.2615, allocations: 12.06 kB / 437.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.922e-05/0.2616, allocations: 15.88 kB / 437.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.2616, allocations: 4 kB / 437.3 MB, free: 15.28 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,table.y,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.00015/0.2617, allocations: 157.8 kB / 437.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9e-05/0.2618, allocations: 69.45 kB / 437.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.2621, allocations: 119.4 kB / 437.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2621, allocations: 4.062 kB / 437.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.2621, allocations: 4 kB / 437.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.2621, allocations: 3.938 kB / 437.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.2623, allocations: 233.6 kB / 437.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2623, allocations: 0 / 437.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.003e-05/0.2624, allocations: 19.92 kB / 437.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2624, allocations: 0 / 437.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.2624, allocations: 4 kB / 437.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.2624, allocations: 4 kB / 437.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2624, allocations: 0 / 437.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.2627, allocations: 170.5 kB / 438.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.2628, allocations: 112.9 kB / 438.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.2628, allocations: 4 kB / 438.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.368e-05/0.2629, allocations: 4 kB / 438.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.2629, allocations: 15.92 kB / 438.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.263, allocations: 4 kB / 438.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002598/0.2632, allocations: 253.9 kB / 438.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2632, allocations: 0 / 438.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.2635, allocations: 31.94 kB / 438.5 MB, free: 13.98 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,table.y,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.001909/0.2654, allocations: 1.02 MB / 439.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.2656, allocations: 79.84 kB / 439.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2656, allocations: 0 / 439.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.09e-05/0.2657, allocations: 23.98 kB / 439.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.2661, allocations: 72.88 kB / 439.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.2687, allocations: 2.228 MB / 441.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.2691, allocations: 0.7475 MB / 442.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.922e-05/0.2692, allocations: 33.52 kB / 442.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.901e-05/0.2693, allocations: 59.41 kB / 442.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2693, allocations: 0 / 442.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/0.2989, allocations: 5.375 MB / 448.1 MB, free: 4.383 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.245, allocations: 3.75 kB / 448.1 MB, free: 4.383 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.461634181003319] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 8.366206133010564 8.382726705 8.122453503 Calling exit ...