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.001341/0.001341, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.00153/0.00153, allocations: 210.1 kB / 24.52 MB, free: 3.941 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.499/1.499, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.001894/0.001894, allocations: 59.91 kB / 378.5 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3483, allocations: 53.39 MB / 431.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004452/0.3528, allocations: 1.925 MB / 433.8 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003004/0.3558, allocations: 1.172 MB / 435 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/0.356, allocations: 3.938 kB / 435 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008719/0.3569, allocations: 155.5 kB / 435.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006335/0.3576, allocations: 167.4 kB / 435.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007098/0.3583, allocations: 174.6 kB / 435.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004533/0.3587, allocations: 207.4 kB / 435.7 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.3589, allocations: 21.8 kB / 435.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.3591, allocations: 83.64 kB / 435.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.3593, allocations: 87.55 kB / 435.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.3593, allocations: 12 kB / 435.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.3595, allocations: 67.94 kB / 435.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.3596, allocations: 39.84 kB / 436 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.3598, allocations: 55.61 kB / 436 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005405/0.3603, allocations: 231.8 kB / 436.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3603, allocations: 0 / 436.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3603, allocations: 4 kB / 436.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.3603, allocations: 3.938 kB / 436.3 MB, free: 2.102 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.001144/0.3615, allocations: 470.7 kB / 436.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.3615, allocations: 8.031 kB / 436.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.073e-05/0.3615, allocations: 4.188 kB / 436.7 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.658e-05/0.3616, allocations: 38.69 kB / 436.8 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.146e-05/0.3617, allocations: 24.8 kB / 436.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004544/0.3621, allocations: 217.1 kB / 437 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.3622, allocations: 8.375 kB / 437 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.3622, allocations: 4.375 kB / 437 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.3627, allocations: 213.1 kB / 437.2 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.3627, allocations: 0 / 437.2 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.3627, allocations: 0 / 437.2 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.3627, allocations: 0 / 437.2 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.3629, allocations: 43.92 kB / 437.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007374/0.3636, allocations: 346.3 kB / 437.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.3639, allocations: 130.5 kB / 437.7 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.364, allocations: 51.41 kB / 437.8 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.364, allocations: 8 kB / 437.8 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.3642, allocations: 75.33 kB / 437.9 MB, free: 288 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 2.495e-06/0.3642, allocations: 0 / 437.9 MB, free: 288 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005138/0.3648, allocations: 165.6 kB / 438 MB, free: 116 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001818/0.3649, allocations: 166.2 kB / 438.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/0.3654, allocations: 281.9 kB / 438.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.3654, allocations: 25.7 kB / 438.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.3655, allocations: 124.4 kB / 438.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.3656, allocations: 23.83 kB / 438.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-05/0.3657, allocations: 29.72 kB / 438.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.3658, allocations: 335.1 kB / 439 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.793e-05/0.3659, allocations: 31.98 kB / 439 MB, free: 15.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.3661, allocations: 135.2 kB / 439.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.3663, allocations: 101.9 kB / 439.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3663, allocations: 0 / 439.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003021/0.3666, allocations: 141.4 kB / 439.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3666, allocations: 4 kB / 439.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.3666, allocations: 4 kB / 439.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.3666, allocations: 0 / 439.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.3668, allocations: 15.94 kB / 439.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.3668, allocations: 0 / 439.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.3669, allocations: 15.98 kB / 439.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.3669, allocations: 7.938 kB / 439.5 MB, free: 14.56 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.0001855/0.3671, allocations: 146.5 kB / 439.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.3672, allocations: 85.42 kB / 439.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/0.3675, allocations: 111.4 kB / 439.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3675, allocations: 0 / 439.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.3675, allocations: 4 kB / 439.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3675, allocations: 0 / 439.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.3678, allocations: 204.6 kB / 440 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3678, allocations: 4 kB / 440 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/0.3678, allocations: 7.938 kB / 440 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3678, allocations: 12.03 kB / 440 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.3678, allocations: 4 kB / 440 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.3678, allocations: 8.062 kB / 440 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3678, allocations: 3.984 kB / 440 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.3682, allocations: 175.5 kB / 440.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.34e-05/0.3682, allocations: 31.88 kB / 440.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.3683, allocations: 7.938 kB / 440.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.3683, allocations: 8 kB / 440.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.3684, allocations: 7.984 kB / 440.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.3684, allocations: 8 kB / 440.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002443/0.3687, allocations: 209.1 kB / 440.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3687, allocations: 0 / 440.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003047/0.369, allocations: 39.88 kB / 440.5 MB, free: 13.41 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 (12): * Single equations (assignments): 10 * 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.002253/0.3712, allocations: 1.052 MB / 441.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.3715, allocations: 80.14 kB / 441.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3715, allocations: 8.062 kB / 441.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.39e-05/0.3716, allocations: 31.92 kB / 441.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.3721, allocations: 78.38 kB / 441.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003071/0.3752, allocations: 2.061 MB / 443.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.3753, allocations: 127.9 kB / 443.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.3754, allocations: 21.64 kB / 444 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.3755, allocations: 55.42 kB / 444 MB, free: 9.867 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3755, allocations: 0 / 444 MB, free: 9.867 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.4047, allocations: 5.504 MB / 449.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.34, allocations: 0 / 449.5 MB, free: 4.434 MB / 350.1 MB " [Timeout remaining time 648] (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: 13.91231656796299] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'backSample1.y'] 11.552962137036957 11.568843362 11.204962391 Calling exit ...