Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001812/0.001812, allocations: 118.3 kB / 18.49 MB, free: 4.535 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.002045/0.002045, allocations: 222.3 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 230.4 MB / 254.7 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 63.89 kB / 373.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1141, allocations: 53.38 MB / 427.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004156/0.1182, allocations: 2.015 MB / 429.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.1206, allocations: 1.27 MB / 430.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.1208, allocations: 7.875 kB / 430.4 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006184/0.1214, allocations: 151.5 kB / 430.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004619/0.1219, allocations: 163.3 kB / 430.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000754/0.1227, allocations: 206.2 kB / 430.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000372/0.123, allocations: 231.4 kB / 431.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.1232, allocations: 32.3 kB / 431.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.1233, allocations: 103.5 kB / 431.2 MB, free: 488 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.1235, allocations: 95.53 kB / 431.3 MB, free: 392 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.1235, allocations: 16 kB / 431.3 MB, free: 376 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.1237, allocations: 63.91 kB / 431.4 MB, free: 312 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.379e-05/0.1238, allocations: 55.83 kB / 431.4 MB, free: 256 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.1239, allocations: 87.41 kB / 431.5 MB, free: 168 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004393/0.1243, allocations: 266.8 kB / 431.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1243, allocations: 0 / 431.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1243, allocations: 7.938 kB / 431.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1243, allocations: 0 / 431.8 MB, free: 15.89 MB / 366.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.001022/0.1253, allocations: 0.5582 MB / 432.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.1254, allocations: 12.02 kB / 432.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.682e-05/0.1254, allocations: 4.188 kB / 432.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.1255, allocations: 42.75 kB / 432.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.376e-05/0.1255, allocations: 28.75 kB / 432.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.1259, allocations: 298.9 kB / 432.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.126, allocations: 12.38 kB / 432.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.126, allocations: 8.375 kB / 432.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000575/0.1266, allocations: 306.4 kB / 433.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1266, allocations: 0 / 433.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.1266, allocations: 4 kB / 433.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1266, allocations: 7.938 kB / 433.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.1268, allocations: 63.91 kB / 433.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005804/0.1273, allocations: 390.3 kB / 433.5 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.1277, allocations: 172 kB / 433.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.1278, allocations: 74.55 kB / 433.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.1279, allocations: 4 kB / 433.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.1281, allocations: 83.31 kB / 433.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/0.1281, allocations: 0 / 433.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005317/0.1286, allocations: 225.4 kB / 434.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.1287, allocations: 144.5 kB / 434.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.1291, allocations: 284.9 kB / 434.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.1291, allocations: 25.7 kB / 434.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.1292, allocations: 120.6 kB / 434.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.1292, allocations: 39.78 kB / 434.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.946e-05/0.1293, allocations: 50.31 kB / 434.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1295, allocations: 338.8 kB / 435 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.215e-05/0.1295, allocations: 32.45 kB / 435.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.1297, allocations: 178 kB / 435.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.13, allocations: 203.2 kB / 435.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.13, allocations: 4 kB / 435.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003586/0.1304, allocations: 221.1 kB / 435.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/0.1304, allocations: 8 kB / 435.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.1304, allocations: 4.531 kB / 435.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.1304, allocations: 8 kB / 435.7 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1305, allocations: 27.92 kB / 435.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.1305, allocations: 11.98 kB / 435.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.1307, allocations: 15.95 kB / 435.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.1307, allocations: 12.25 kB / 435.7 MB, free: 11.51 MB / 366.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.0001711/0.1308, allocations: 171.9 kB / 435.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.131, allocations: 125.7 kB / 436 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.423e-05/0.1311, allocations: 37.7 kB / 436.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1311, allocations: 0 / 436.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.1311, allocations: 4 kB / 436.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1311, allocations: 0 / 436.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.1314, allocations: 257.4 kB / 436.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1314, allocations: 0 / 436.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.1314, allocations: 7.938 kB / 436.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.1314, allocations: 4 kB / 436.3 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.1315, allocations: 7.984 kB / 436.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/0.1315, allocations: 7.938 kB / 436.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1315, allocations: 80 / 436.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.1318, allocations: 234.5 kB / 436.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.132, allocations: 116.9 kB / 436.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.132, allocations: 8 kB / 436.7 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-05/0.1321, allocations: 4 kB / 436.7 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.1321, allocations: 7.984 kB / 436.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.1321, allocations: 12 kB / 436.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002094/0.1323, allocations: 204.5 kB / 436.9 MB, free: 10.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1323, allocations: 0 / 436.9 MB, free: 10.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003116/0.1326, allocations: 43.94 kB / 437 MB, free: 10.18 MB / 366.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.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent) * 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.002233/0.1349, allocations: 1.155 MB / 438.1 MB, free: 9.129 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004156/0.1353, allocations: 136.1 kB / 438.3 MB, free: 9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1353, allocations: 0 / 438.3 MB, free: 9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.885e-05/0.1354, allocations: 23.98 kB / 438.3 MB, free: 8.977 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005288/0.1359, allocations: 115.2 kB / 438.4 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003342/0.1392, allocations: 2.416 MB / 440.8 MB, free: 6.258 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.1397, allocations: 0.7558 MB / 441.6 MB, free: 5.477 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.1398, allocations: 30.52 kB / 441.6 MB, free: 5.445 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.1399, allocations: 67.41 kB / 441.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1399, allocations: 0 / 441.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2444/0.3843, allocations: 5.696 MB / 447.4 MB, free: 24.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.309/8.693, allocations: 6.375 kB / 447.4 MB, free: 24.73 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.78926e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.529539835988544] Failed to read output from testmodel.py, exit status != 0: ['time', 'upSample1.y', 'upSample2.y', 'and1.y'] 8.875427438004408 8.898530656 8.769395983 Calling exit ...