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.001778/0.001778, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002207/0.002207, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 8.074 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.002663/0.002663, allocations: 64.77 kB / 378.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2609, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003442/0.2644, allocations: 1.929 MB / 433.8 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.2665, allocations: 1.243 MB / 435.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.2666, allocations: 7.938 kB / 435.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005783/0.2672, allocations: 151.5 kB / 435.2 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003762/0.2675, allocations: 163.4 kB / 435.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.268, allocations: 171 kB / 435.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000278/0.2683, allocations: 195.5 kB / 435.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.2684, allocations: 21.73 kB / 435.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.2685, allocations: 79.69 kB / 435.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.2687, allocations: 83.55 kB / 435.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.2687, allocations: 12 kB / 436 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.2688, allocations: 63.95 kB / 436 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.936e-05/0.2689, allocations: 39.84 kB / 436.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.684e-05/0.269, allocations: 71.48 kB / 436.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003234/0.2693, allocations: 216 kB / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2693, allocations: 0 / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2693, allocations: 0 / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.2693, allocations: 0 / 436.3 MB, free: 2.473 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.000787/0.2701, allocations: 450.7 kB / 436.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.2701, allocations: 8.031 kB / 436.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.524e-05/0.2702, allocations: 46.69 kB / 436.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.2703, allocations: 20.8 kB / 436.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.2706, allocations: 221 kB / 437.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.2706, allocations: 8.375 kB / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.2706, allocations: 7.938 kB / 437.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.271, allocations: 146.7 kB / 437.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.271, allocations: 0 / 437.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.271, allocations: 3.984 kB / 437.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.271, allocations: 7.938 kB / 437.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.2711, allocations: 31.98 kB / 437.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.2716, allocations: 337.4 kB / 437.6 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.2719, allocations: 99.89 kB / 437.7 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.968e-05/0.2719, allocations: 46.56 kB / 437.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.272, allocations: 4 kB / 437.7 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.2721, allocations: 71.33 kB / 437.8 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.2721, allocations: 0 / 437.8 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003704/0.2725, allocations: 149.5 kB / 438 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.2726, allocations: 132.5 kB / 438.1 MB, free: 500 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.2729, allocations: 273 kB / 438.4 MB, free: 220 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.273, allocations: 29.7 kB / 438.4 MB, free: 184 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.147e-05/0.273, allocations: 116.1 kB / 438.5 MB, free: 64 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.2731, allocations: 15.89 kB / 438.5 MB, free: 48 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.2731, allocations: 33.92 kB / 438.5 MB, free: 8 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.2733, allocations: 334.8 kB / 438.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.676e-05/0.2734, allocations: 20 kB / 438.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.2735, allocations: 69.92 kB / 439 MB, free: 15.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.2736, allocations: 80.52 kB / 439 MB, free: 15.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2736, allocations: 0 / 439 MB, free: 15.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002254/0.2738, allocations: 113.5 kB / 439.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2738, allocations: 7.938 kB / 439.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.2739, allocations: 4 kB / 439.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2739, allocations: 8.062 kB / 439.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.98e-05/0.2739, allocations: 15.98 kB / 439.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.2739, allocations: 0 / 439.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.999e-05/0.274, allocations: 11.88 kB / 439.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.274, allocations: 4 kB / 439.2 MB, free: 15.3 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.0001497/0.2742, allocations: 145.8 kB / 439.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.252e-05/0.2743, allocations: 69.55 kB / 439.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.2745, allocations: 111.5 kB / 439.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2745, allocations: 0 / 439.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2745, allocations: 4 kB / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2745, allocations: 3.938 kB / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.2748, allocations: 204.6 kB / 439.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2748, allocations: 4 kB / 439.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.777e-05/0.2748, allocations: 11.92 kB / 439.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2748, allocations: 0 / 439.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.2748, allocations: 0 / 439.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.2748, allocations: 4 kB / 439.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2748, allocations: 128 / 439.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.2751, allocations: 166.6 kB / 439.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.2751, allocations: 31.78 kB / 439.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.2752, allocations: 8 kB / 440 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.868e-05/0.2752, allocations: 0 / 440 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.2753, allocations: 11.92 kB / 440 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.2753, allocations: 8 kB / 440 MB, free: 14.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002188/0.2755, allocations: 204.4 kB / 440.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2755, allocations: 0 / 440.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.2758, allocations: 28 kB / 440.2 MB, free: 14.21 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.002055/0.2778, allocations: 1.01 MB / 441.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.278, allocations: 59.92 kB / 441.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.278, allocations: 0 / 441.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.626e-05/0.2781, allocations: 23.92 kB / 441.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.2785, allocations: 65.64 kB / 441.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.281, allocations: 1.952 MB / 443.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.2814, allocations: 0.732 MB / 444 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.76e-05/0.2815, allocations: 25.47 kB / 444.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.332e-05/0.2816, allocations: 47.42 kB / 444.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2816, allocations: 0 / 444.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.314, allocations: 4.766 MB / 448.9 MB, free: 5.562 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.212/8.526, allocations: 14.44 kB / 448.9 MB, free: 5.555 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.976850457955152] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 8.671738212928176 8.697132123 8.423526787 Calling exit ...