Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001413/0.001413, allocations: 117 kB / 18.49 MB, free: 4.566 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.001602/0.001602, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.533/1.533, allocations: 230.4 MB / 254.7 MB, free: 15.18 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.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.89 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.124, allocations: 53.38 MB / 427.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003751/0.1277, allocations: 1.947 MB / 429 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.13, allocations: 1.243 MB / 430.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.1302, allocations: 15.88 kB / 430.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006775/0.1309, allocations: 151.5 kB / 430.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004589/0.1313, allocations: 151.4 kB / 430.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005807/0.1319, allocations: 178.5 kB / 430.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.1322, allocations: 195.5 kB / 430.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.1323, allocations: 25.67 kB / 430.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.1325, allocations: 91.62 kB / 431 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.1326, allocations: 87.53 kB / 431.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.1326, allocations: 12 kB / 431.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.1328, allocations: 55.97 kB / 431.2 MB, free: 476 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.737e-05/0.1329, allocations: 39.84 kB / 431.2 MB, free: 436 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.133, allocations: 83.41 kB / 431.3 MB, free: 352 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003712/0.1334, allocations: 223 kB / 431.5 MB, free: 128 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1334, allocations: 0 / 431.5 MB, free: 128 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1334, allocations: 0 / 431.5 MB, free: 128 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1334, allocations: 4 kB / 431.5 MB, free: 124 kB / 350.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.0009543/0.1343, allocations: 0.531 MB / 432.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.1344, allocations: 8.031 kB / 432.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.877e-05/0.1344, allocations: 12.06 kB / 432.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.966e-05/0.1344, allocations: 34.75 kB / 432.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.1345, allocations: 24.8 kB / 432.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.1349, allocations: 279 kB / 432.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.1349, allocations: 12.31 kB / 432.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.135, allocations: 4.375 kB / 432.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.1354, allocations: 177 kB / 432.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1354, allocations: 0 / 432.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.1354, allocations: 4 kB / 432.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.1354, allocations: 0 / 432.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.1355, allocations: 43.91 kB / 432.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006088/0.1362, allocations: 375.3 kB / 433 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.1365, allocations: 130.5 kB / 433.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.1366, allocations: 55.42 kB / 433.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.628e-05/0.1366, allocations: 7.984 kB / 433.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.1368, allocations: 75.31 kB / 433.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.1368, allocations: 0 / 433.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004914/0.1373, allocations: 161.5 kB / 433.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/0.1375, allocations: 162.2 kB / 433.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/0.1379, allocations: 282.6 kB / 433.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.1379, allocations: 29.7 kB / 433.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.138, allocations: 120.4 kB / 434 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/0.1381, allocations: 28.14 kB / 434 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.866e-05/0.1382, allocations: 33.72 kB / 434.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.1384, allocations: 334.8 kB / 434.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.947e-05/0.1385, allocations: 23.98 kB / 434.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.1386, allocations: 79.72 kB / 434.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.1387, allocations: 97.91 kB / 434.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1387, allocations: 0 / 434.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002393/0.139, allocations: 133.4 kB / 434.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.139, allocations: 4 kB / 434.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.139, allocations: 4 kB / 434.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.139, allocations: 0 / 434.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.968e-05/0.1391, allocations: 19.92 kB / 434.8 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1391, allocations: 7.938 kB / 434.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.978e-05/0.1392, allocations: 8 kB / 434.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.1392, allocations: 12.12 kB / 434.8 MB, free: 12.48 MB / 366.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.0001487/0.1394, allocations: 141.8 kB / 434.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.1395, allocations: 81.48 kB / 435 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.642e-05/0.1396, allocations: 25.7 kB / 435 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1396, allocations: 4 kB / 435 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1396, allocations: 0 / 435 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1396, allocations: 0 / 435 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.1398, allocations: 249.6 kB / 435.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1399, allocations: 0 / 435.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.1399, allocations: 12.3 kB / 435.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1399, allocations: 0 / 435.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.1399, allocations: 8 kB / 435.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1399, allocations: 0 / 435.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1399, allocations: 0 / 435.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.1402, allocations: 179.5 kB / 435.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.1403, allocations: 108.9 kB / 435.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.1403, allocations: 8 kB / 435.6 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.1404, allocations: 7.984 kB / 435.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.1404, allocations: 0 / 435.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.1405, allocations: 12 kB / 435.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002264/0.1407, allocations: 209.9 kB / 435.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1407, allocations: 4 kB / 435.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.141, allocations: 31.94 kB / 435.8 MB, free: 11.3 MB / 366.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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.002122/0.1431, allocations: 1.017 MB / 436.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000275/0.1434, allocations: 75.84 kB / 436.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1434, allocations: 0 / 436.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.484e-05/0.1435, allocations: 23.98 kB / 437 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.1439, allocations: 75.64 kB / 437 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.1465, allocations: 2.062 MB / 439.1 MB, free: 8.023 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005451/0.147, allocations: 0.7358 MB / 439.8 MB, free: 7.262 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.1472, allocations: 29.52 kB / 439.9 MB, free: 7.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.1473, allocations: 59.3 kB / 439.9 MB, free: 7.172 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1473, allocations: 0 / 439.9 MB, free: 7.172 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.1709, allocations: 5.074 MB / 445 MB, free: 2.219 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.301/8.472, allocations: 11.98 kB / 445 MB, free: 2.207 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79247e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.30238956696121] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'backSample1.y'] 8.674911591981072 8.883052735 8.747296476 Calling exit ...