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.001498/0.001498, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.001715/0.001715, allocations: 217 kB / 23 MB, free: 5.578 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.471/1.471, allocations: 230.5 MB / 256.5 MB, free: 8.23 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.001945/0.001945, allocations: 75.77 kB / 376.2 MB, free: 4.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2748, allocations: 53.32 MB / 429.5 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003576/0.2784, allocations: 1.952 MB / 431.5 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.2806, allocations: 1.259 MB / 432.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.2808, allocations: 7.938 kB / 432.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006616/0.2814, allocations: 154.7 kB / 432.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000444/0.2819, allocations: 159.4 kB / 433.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.2824, allocations: 171.4 kB / 433.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.2827, allocations: 203.4 kB / 433.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.2828, allocations: 25.66 kB / 433.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.283, allocations: 79.64 kB / 433.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.2831, allocations: 79.61 kB / 433.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.2831, allocations: 12 kB / 433.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.2833, allocations: 67.89 kB / 433.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.361e-05/0.2834, allocations: 43.78 kB / 433.7 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.689e-05/0.2835, allocations: 71.55 kB / 433.8 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.2839, allocations: 231.3 kB / 434 MB, free: 2.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.2839, allocations: 0 / 434 MB, free: 2.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2839, allocations: 8 kB / 434 MB, free: 2.895 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.2839, allocations: 3.938 kB / 434 MB, free: 2.891 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.0009001/0.2848, allocations: 0.5232 MB / 434.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.2848, allocations: 8.031 kB / 434.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.612e-05/0.2849, allocations: 42.73 kB / 434.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.2849, allocations: 20.8 kB / 434.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.2853, allocations: 294.8 kB / 434.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.2853, allocations: 4.375 kB / 434.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.2854, allocations: 11.94 kB / 434.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.2857, allocations: 166.6 kB / 435.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2858, allocations: 4 kB / 435.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.2858, allocations: 4 kB / 435.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.2858, allocations: 4 kB / 435.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.2859, allocations: 31.92 kB / 435.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005372/0.2864, allocations: 375.2 kB / 435.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.2867, allocations: 130.5 kB / 435.6 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.2868, allocations: 63.42 kB / 435.7 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.2868, allocations: 8 kB / 435.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.287, allocations: 71.39 kB / 435.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.287, allocations: 0 / 435.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004021/0.2874, allocations: 169.4 kB / 435.9 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.2875, allocations: 162.2 kB / 436.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.2878, allocations: 278.5 kB / 436.4 MB, free: 264 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.2878, allocations: 33.7 kB / 436.4 MB, free: 224 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.846e-05/0.2879, allocations: 124.3 kB / 436.5 MB, free: 92 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.288, allocations: 20.22 kB / 436.5 MB, free: 72 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.307e-05/0.288, allocations: 37.7 kB / 436.6 MB, free: 28 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.2882, allocations: 330.8 kB / 436.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.695e-05/0.2883, allocations: 20 kB / 436.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.2884, allocations: 83.7 kB / 437 MB, free: 15.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.2886, allocations: 97.91 kB / 437.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2886, allocations: 3.938 kB / 437.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002326/0.2888, allocations: 129.4 kB / 437.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2888, allocations: 8 kB / 437.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2888, allocations: 0 / 437.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.2888, allocations: 4 kB / 437.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.246e-05/0.2889, allocations: 23.92 kB / 437.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.2889, allocations: 0 / 437.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.449e-05/0.289, allocations: 7.938 kB / 437.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.289, allocations: 8.188 kB / 437.3 MB, free: 15.26 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.0001469/0.2892, allocations: 146.1 kB / 437.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.2893, allocations: 77.48 kB / 437.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.2895, allocations: 115.2 kB / 437.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.2895, allocations: 4 kB / 437.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.2895, allocations: 0 / 437.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.2895, allocations: 7.938 kB / 437.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.2898, allocations: 241.6 kB / 437.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2898, allocations: 0 / 437.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/0.2898, allocations: 4 kB / 437.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2898, allocations: 0 / 437.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.2898, allocations: 11.98 kB / 437.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2898, allocations: 0 / 437.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2898, allocations: 4 kB / 437.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.2901, allocations: 175.4 kB / 438 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.2902, allocations: 109 kB / 438.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.2902, allocations: 4 kB / 438.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.488e-05/0.2903, allocations: 7.984 kB / 438.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.2903, allocations: 11.94 kB / 438.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.2903, allocations: 4 kB / 438.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000207/0.2906, allocations: 206 kB / 438.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2906, allocations: 4 kB / 438.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.2908, allocations: 35.92 kB / 438.4 MB, free: 14 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.001964/0.2928, allocations: 1.025 MB / 439.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002352/0.293, allocations: 75.84 kB / 439.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.293, allocations: 0 / 439.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.176e-05/0.2931, allocations: 23.98 kB / 439.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.2935, allocations: 77.02 kB / 439.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.296, allocations: 2.055 MB / 441.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.2964, allocations: 0.7359 MB / 442.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000102/0.2965, allocations: 37.69 kB / 442.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.778e-05/0.2966, allocations: 51.42 kB / 442.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2966, allocations: 0 / 442.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.3261, allocations: 5.027 MB / 447.5 MB, free: 4.926 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.185, allocations: 3.938 kB / 447.5 MB, free: 4.922 MB / 350.1 MB " [Timeout remaining time 652] (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 --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: 10.554962352005532] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'backSample1.y'] 8.327941917988937 8.34312998 8.055712451 Calling exit ...