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.UpSample.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.001416/0.001416, allocations: 106.5 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.001529/0.001529, allocations: 213.2 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.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.UpSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",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.001982/0.001982, allocations: 56.78 kB / 378.5 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2568, allocations: 53.37 MB / 431.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003613/0.2604, allocations: 2.022 MB / 433.9 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.2626, allocations: 1.292 MB / 435.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.2628, allocations: 7.938 kB / 435.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005903/0.2633, allocations: 159.4 kB / 435.4 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004018/0.2637, allocations: 163.3 kB / 435.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006064/0.2644, allocations: 214.8 kB / 435.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.2647, allocations: 231.4 kB / 436 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.2648, allocations: 36.56 kB / 436 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.2649, allocations: 99.55 kB / 436.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.2651, allocations: 103.5 kB / 436.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.2651, allocations: 12 kB / 436.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.2653, allocations: 63.95 kB / 436.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.336e-05/0.2653, allocations: 71.7 kB / 436.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.686e-05/0.2654, allocations: 87.41 kB / 436.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.2658, allocations: 263.7 kB / 436.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2658, allocations: 0 / 436.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2658, allocations: 0 / 436.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.2658, allocations: 0 / 436.7 MB, free: 2.062 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008627/0.2667, allocations: 490.5 kB / 437.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.2667, allocations: 12.02 kB / 437.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.691e-05/0.2668, allocations: 50.75 kB / 437.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.224e-05/0.2668, allocations: 28.75 kB / 437.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.2672, allocations: 233 kB / 437.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.2672, allocations: 8.375 kB / 437.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.2673, allocations: 15.94 kB / 437.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/0.2678, allocations: 306.4 kB / 437.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.2678, allocations: 4 kB / 437.8 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.2679, allocations: 4 kB / 437.8 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.2679, allocations: 4 kB / 437.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.268, allocations: 59.91 kB / 437.9 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.2685, allocations: 353.4 kB / 438.2 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.2689, allocations: 164 kB / 438.4 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.269, allocations: 74.55 kB / 438.5 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.269, allocations: 12.05 kB / 438.5 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.2692, allocations: 75.39 kB / 438.6 MB, free: 20 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.2692, allocations: 0 / 438.6 MB, free: 20 kB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005385/0.2697, allocations: 225.4 kB / 438.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.2699, allocations: 144.5 kB / 438.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.2702, allocations: 289 kB / 439.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.2702, allocations: 29.7 kB / 439.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.481e-05/0.2703, allocations: 120.6 kB / 439.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.2703, allocations: 40.14 kB / 439.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.279e-05/0.2704, allocations: 49.94 kB / 439.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.2706, allocations: 334.8 kB / 439.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.806e-05/0.2707, allocations: 36.44 kB / 439.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.2709, allocations: 178 kB / 440 MB, free: 14.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.2711, allocations: 203.5 kB / 440.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.2711, allocations: 4 kB / 440.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003805/0.2715, allocations: 221.5 kB / 440.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2715, allocations: 12.09 kB / 440.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.2716, allocations: 4 kB / 440.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2716, allocations: 4 kB / 440.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.2717, allocations: 31.86 kB / 440.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.2717, allocations: 11.94 kB / 440.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.2718, allocations: 19.89 kB / 440.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.2718, allocations: 8 kB / 440.5 MB, free: 13.9 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,and1.y,and1.u2,and1.u1,upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001706/0.272, allocations: 171.8 kB / 440.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.2722, allocations: 125.4 kB / 440.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.2724, allocations: 115.3 kB / 440.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2724, allocations: 4 kB / 440.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2724, allocations: 0 / 440.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.2724, allocations: 7.938 kB / 440.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.2727, allocations: 216.6 kB / 441.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2727, allocations: 4 kB / 441.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.2727, allocations: 8 kB / 441.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.2727, allocations: 11.92 kB / 441.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.2727, allocations: 4 kB / 441.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.2727, allocations: 4 kB / 441.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2727, allocations: 128 / 441.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.2731, allocations: 232.4 kB / 441.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.968e-05/0.2732, allocations: 43.81 kB / 441.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.2732, allocations: 8 kB / 441.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.056e-05/0.2733, allocations: 8 kB / 441.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.2734, allocations: 11.98 kB / 441.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.2734, allocations: 4 kB / 441.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002323/0.2736, allocations: 212.3 kB / 441.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2736, allocations: 0 / 441.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003273/0.2739, allocations: 47.92 kB / 441.7 MB, free: 12.6 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: 20 ($whenCondition1,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.002264/0.2762, allocations: 1.153 MB / 442.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003311/0.2765, allocations: 132.5 kB / 443 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2765, allocations: 0 / 443 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.63e-05/0.2766, allocations: 31.92 kB / 443 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.2771, allocations: 120.1 kB / 443.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.2801, allocations: 2.393 MB / 445.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.2806, allocations: 0.7597 MB / 446.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.2807, allocations: 26.28 kB / 446.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.2808, allocations: 67.41 kB / 446.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2808, allocations: 0 / 446.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03657/0.3174, allocations: 5.847 MB / 452.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.313/8.631, allocations: 15.94 kB / 452.2 MB, free: 2.02 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.78926e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.04938358394429] Failed to read output from testmodel.py, exit status != 0: ['time', 'upSample1.y', 'upSample2.y', 'and1.y'] 8.77691707899794 8.805046197 8.534272321 Calling exit ...