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.001437/0.001437, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001888/0.001888, allocations: 207.5 kB / 24.53 MB, free: 4.07 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.486/1.486, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.002029/0.002029, allocations: 55.91 kB / 378.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3139, allocations: 53.41 MB / 432 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003897/0.3178, allocations: 1.963 MB / 433.9 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.3201, allocations: 1.262 MB / 435.2 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.3203, allocations: 7.938 kB / 435.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007014/0.321, allocations: 159.5 kB / 435.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004431/0.3214, allocations: 159.3 kB / 435.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005924/0.322, allocations: 179.5 kB / 435.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.3223, allocations: 203.4 kB / 435.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.3225, allocations: 21.8 kB / 435.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.3226, allocations: 91.56 kB / 436 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.3227, allocations: 75.67 kB / 436.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.3228, allocations: 15.94 kB / 436.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.3229, allocations: 63.91 kB / 436.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.159e-05/0.323, allocations: 51.81 kB / 436.2 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.3231, allocations: 71.5 kB / 436.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.3235, allocations: 223.9 kB / 436.5 MB, free: 2.164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3235, allocations: 4 kB / 436.5 MB, free: 2.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3235, allocations: 3.938 kB / 436.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3235, allocations: 0 / 436.5 MB, free: 2.156 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.0008399/0.3244, allocations: 458.7 kB / 436.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3244, allocations: 12.03 kB / 436.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.897e-05/0.3244, allocations: 4.125 kB / 437 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.413e-05/0.3245, allocations: 42.73 kB / 437 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.971e-05/0.3245, allocations: 20.8 kB / 437 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.3249, allocations: 229 kB / 437.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.3249, allocations: 4.375 kB / 437.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.3249, allocations: 8.375 kB / 437.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.3253, allocations: 171.5 kB / 437.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3254, allocations: 0 / 437.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3254, allocations: 4 kB / 437.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.3254, allocations: 7.922 kB / 437.4 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.3255, allocations: 39.92 kB / 437.5 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/0.326, allocations: 350.3 kB / 437.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.3263, allocations: 130.5 kB / 437.9 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.902e-05/0.3264, allocations: 55.42 kB / 438 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.3264, allocations: 4 kB / 438 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.3266, allocations: 79.31 kB / 438.1 MB, free: 372 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.3266, allocations: 0 / 438.1 MB, free: 372 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004062/0.327, allocations: 161.4 kB / 438.2 MB, free: 204 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.3271, allocations: 158.2 kB / 438.4 MB, free: 8 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.3275, allocations: 277.9 kB / 438.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.3275, allocations: 38.02 kB / 438.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.3276, allocations: 124.4 kB / 438.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.3276, allocations: 19.91 kB / 438.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.3277, allocations: 29.72 kB / 438.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3279, allocations: 338.8 kB / 439.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.236e-05/0.3279, allocations: 27.92 kB / 439.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.328, allocations: 83.34 kB / 439.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.3282, allocations: 102 kB / 439.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-06/0.3282, allocations: 0 / 439.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002356/0.3285, allocations: 129.3 kB / 439.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3285, allocations: 8 kB / 439.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3285, allocations: 0 / 439.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3285, allocations: 4 kB / 439.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.515e-05/0.3286, allocations: 12.17 kB / 439.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.3286, allocations: 11.94 kB / 439.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.216e-05/0.3287, allocations: 8 kB / 439.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.3287, allocations: 7.938 kB / 439.6 MB, free: 14.72 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.0001463/0.3288, allocations: 142.7 kB / 439.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.3289, allocations: 77.48 kB / 439.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.3292, allocations: 123.2 kB / 439.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.3292, allocations: 8.094 kB / 439.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3292, allocations: 0 / 439.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3292, allocations: 0 / 439.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.3294, allocations: 208.5 kB / 440.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3294, allocations: 4 kB / 440.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.022e-05/0.3295, allocations: 7.984 kB / 440.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3295, allocations: 0 / 440.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.3295, allocations: 4 kB / 440.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3295, allocations: 0 / 440.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3295, allocations: 0 / 440.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.3298, allocations: 191.3 kB / 440.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.938e-05/0.3298, allocations: 27.89 kB / 440.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.3299, allocations: 4 kB / 440.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.486e-05/0.3299, allocations: 7.984 kB / 440.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.33, allocations: 8 kB / 440.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.33, allocations: 8 kB / 440.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002179/0.3302, allocations: 213.1 kB / 440.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3302, allocations: 0 / 440.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.3305, allocations: 31.94 kB / 440.6 MB, free: 13.58 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.002083/0.3326, allocations: 1.018 MB / 441.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.3328, allocations: 71.84 kB / 441.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.3328, allocations: 4 kB / 441.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.031e-05/0.3329, allocations: 24.36 kB / 441.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.3334, allocations: 90.25 kB / 441.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.3361, allocations: 2.058 MB / 443.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.3365, allocations: 0.732 MB / 444.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.957e-05/0.3366, allocations: 33.83 kB / 444.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.3367, allocations: 47.42 kB / 444.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3367, allocations: 0 / 444.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.3654, allocations: 5.215 MB / 449.9 MB, free: 4.312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.29, allocations: 0 / 449.9 MB, free: 4.312 MB / 350.1 MB " [Timeout remaining time 649] (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.876066824013833] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'backSample1.y'] 11.50035863002995 11.515884041 11.189168788 Calling exit ...