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.BackSample.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.001728/0.001728, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002255/0.002255, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.477/1.477, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.BackSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",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.00201/0.00201, allocations: 56.78 kB / 378.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2794, allocations: 53.37 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004879/0.2843, allocations: 1.964 MB / 433.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003105/0.2874, allocations: 1.255 MB / 435.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002226/0.2876, allocations: 11.94 kB / 435.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008487/0.2884, allocations: 155.5 kB / 435.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006134/0.289, allocations: 163.4 kB / 435.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007735/0.2898, allocations: 174.2 kB / 435.6 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004084/0.2902, allocations: 203.4 kB / 435.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.2904, allocations: 25.8 kB / 435.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.2906, allocations: 87.62 kB / 435.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.2908, allocations: 87.55 kB / 436 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.2908, allocations: 8 kB / 436 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.291, allocations: 67.95 kB / 436.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.371e-05/0.2911, allocations: 39.84 kB / 436.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.2912, allocations: 79.42 kB / 436.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004898/0.2917, allocations: 223.9 kB / 436.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2917, allocations: 0 / 436.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2917, allocations: 0 / 436.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.2917, allocations: 3.938 kB / 436.4 MB, free: 2.367 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001089/0.2928, allocations: 466.7 kB / 436.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.2929, allocations: 11.97 kB / 436.9 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.803e-05/0.293, allocations: 42.73 kB / 436.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.69e-05/0.293, allocations: 20.8 kB / 437 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005282/0.2936, allocations: 225.1 kB / 437.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.2936, allocations: 8.312 kB / 437.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.638e-05/0.2936, allocations: 15.94 kB / 437.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005042/0.2941, allocations: 165.9 kB / 437.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.2941, allocations: 0 / 437.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.2942, allocations: 4 kB / 437.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.2942, allocations: 4 kB / 437.4 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.2943, allocations: 43.91 kB / 437.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006878/0.295, allocations: 338.4 kB / 437.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.2954, allocations: 138.5 kB / 437.9 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.2955, allocations: 51.36 kB / 437.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.2956, allocations: 8 kB / 437.9 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.2958, allocations: 75.33 kB / 438 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.754e-06/0.2958, allocations: 0 / 438 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005593/0.2964, allocations: 157.8 kB / 438.2 MB, free: 428 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001841/0.2966, allocations: 166.2 kB / 438.3 MB, free: 224 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005516/0.2971, allocations: 285.8 kB / 438.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.2971, allocations: 33.64 kB / 438.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.2973, allocations: 124.4 kB / 438.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.2973, allocations: 19.84 kB / 438.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.563e-05/0.2974, allocations: 29.7 kB / 438.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.2976, allocations: 338.8 kB / 439.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.815e-05/0.2977, allocations: 20 kB / 439.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.2979, allocations: 83.89 kB / 439.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.2981, allocations: 97.97 kB / 439.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2981, allocations: 0 / 439.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003426/0.2984, allocations: 133.4 kB / 439.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.2985, allocations: 8 kB / 439.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2985, allocations: 0 / 439.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.2985, allocations: 7.938 kB / 439.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.2986, allocations: 11.98 kB / 439.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.2986, allocations: 4 kB / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.2987, allocations: 7.938 kB / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.2987, allocations: 8 kB / 439.5 MB, free: 14.94 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.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 (13): * Single equations (assignments): 13 * 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.0001944/0.2989, allocations: 154.8 kB / 439.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.2991, allocations: 77.48 kB / 439.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/0.2994, allocations: 107.4 kB / 439.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.2994, allocations: 4 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2994, allocations: 0 / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.2994, allocations: 3.938 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.2997, allocations: 208.5 kB / 440.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.2997, allocations: 4 kB / 440.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.2998, allocations: 12.03 kB / 440.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2998, allocations: 0 / 440.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.2998, allocations: 8.109 kB / 440.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.2998, allocations: 4 kB / 440.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.2998, allocations: 4 kB / 440.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.3002, allocations: 179.4 kB / 440.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/0.3004, allocations: 39.92 kB / 440.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.3004, allocations: 4 kB / 440.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.855e-05/0.3005, allocations: 4 kB / 440.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.3006, allocations: 15.86 kB / 440.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.3006, allocations: 4 kB / 440.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003325/0.3009, allocations: 205.2 kB / 440.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3009, allocations: 0 / 440.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004626/0.3014, allocations: 39.92 kB / 440.6 MB, free: 13.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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 (11): * Single equations (assignments): 9 * 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.002671/0.3041, allocations: 1.014 MB / 441.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003171/0.3044, allocations: 75.91 kB / 441.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3044, allocations: 0 / 441.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.349e-05/0.3045, allocations: 23.92 kB / 441.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006088/0.3051, allocations: 76.94 kB / 441.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003818/0.3089, allocations: 2.05 MB / 443.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/0.3094, allocations: 0.7359 MB / 444.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.3096, allocations: 25.61 kB / 444.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.3097, allocations: 55.42 kB / 444.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3097, allocations: 0 / 444.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03708/0.3468, allocations: 5.115 MB / 449.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.237/8.583, allocations: 4 kB / 449.7 MB, free: 4.637 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample_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_BackSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.000262802932411] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'backSample1.y'] 8.728635108098388 8.75206241 8.455825775 Calling exit ...