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.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.001814/0.001814, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.002182/0.002182, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.471/1.471, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.BackSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",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.00192/0.00192, allocations: 71.77 kB / 373.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1121, allocations: 53.31 MB / 426.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003811/0.1159, allocations: 1.943 MB / 428.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.1182, allocations: 1.247 MB / 430.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.1183, allocations: 7.938 kB / 430.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005933/0.1189, allocations: 155.5 kB / 430.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004961/0.1194, allocations: 155.4 kB / 430.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.12, allocations: 183.2 kB / 430.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.1203, allocations: 191.5 kB / 430.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1204, allocations: 29.61 kB / 430.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.1205, allocations: 83.62 kB / 430.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1207, allocations: 79.61 kB / 430.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.1207, allocations: 16 kB / 430.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.1209, allocations: 63.91 kB / 431 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.39e-05/0.1209, allocations: 39.84 kB / 431 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.541e-05/0.121, allocations: 79.47 kB / 431.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.1214, allocations: 230.9 kB / 431.3 MB, free: 384 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1214, allocations: 0 / 431.3 MB, free: 384 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1214, allocations: 0 / 431.3 MB, free: 384 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.1215, allocations: 3.938 kB / 431.4 MB, free: 380 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.2004/0.3219, allocations: 0.5224 MB / 431.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.322, allocations: 9.156 kB / 431.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.357e-05/0.322, allocations: 41.27 kB / 431.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.692e-05/0.3221, allocations: 25.67 kB / 431.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005103/0.3226, allocations: 276.2 kB / 432.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.3226, allocations: 8.844 kB / 432.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.3227, allocations: 8.625 kB / 432.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.3231, allocations: 171.1 kB / 432.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3231, allocations: 6.812 kB / 432.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.3231, allocations: 4.906 kB / 432.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3231, allocations: 2.906 kB / 432.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.3232, allocations: 38.05 kB / 432.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.3238, allocations: 380.4 kB / 432.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.3241, allocations: 125 kB / 432.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.103e-05/0.3242, allocations: 57.08 kB / 433 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.3242, allocations: 4.312 kB / 433 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.3244, allocations: 79.08 kB / 433.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.3244, allocations: 0 / 433.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004326/0.3248, allocations: 157.7 kB / 433.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.3249, allocations: 165.1 kB / 433.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/0.3252, allocations: 276.5 kB / 433.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.3253, allocations: 31.36 kB / 433.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/0.3253, allocations: 126.2 kB / 433.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.3254, allocations: 21.91 kB / 433.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.3254, allocations: 31 kB / 433.9 MB, free: 10 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.592e-05/0.3255, allocations: 336.9 kB / 434.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.575e-05/0.3255, allocations: 22.2 kB / 434.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.192e-05/0.3256, allocations: 84.75 kB / 434.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.3258, allocations: 95.56 kB / 434.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3258, allocations: 0.5938 kB / 434.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000211/0.326, allocations: 139.1 kB / 434.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.326, allocations: 3.5 kB / 434.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.326, allocations: 2.562 kB / 434.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.326, allocations: 3.875 kB / 434.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.186e-05/0.3261, allocations: 13.48 kB / 434.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3261, allocations: 4.828 kB / 434.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.425e-05/0.3262, allocations: 8.969 kB / 434.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.3262, allocations: 6.312 kB / 434.6 MB, free: 9.52 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.0001293/0.3263, allocations: 151.3 kB / 434.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.252e-05/0.3264, allocations: 78.44 kB / 434.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.3265, allocations: 21.78 kB / 434.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3265, allocations: 5.5 kB / 434.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3265, allocations: 6.891 kB / 434.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3265, allocations: 4.062 kB / 434.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.3266, allocations: 239.2 kB / 435.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3266, allocations: 0 / 435.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.3267, allocations: 14.81 kB / 435.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3267, allocations: 2.438 kB / 435.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3267, allocations: 5.406 kB / 435.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3267, allocations: 1.969 kB / 435.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3267, allocations: 1.031 kB / 435.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.3269, allocations: 177.5 kB / 435.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-05/0.327, allocations: 114.7 kB / 435.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.327, allocations: 2.625 kB / 435.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-05/0.3271, allocations: 12.55 kB / 435.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.3272, allocations: 3.594 kB / 435.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.3272, allocations: 6.625 kB / 435.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002023/0.3274, allocations: 208.3 kB / 435.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3274, allocations: 0 / 435.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.3277, allocations: 33.09 kB / 435.6 MB, free: 8.867 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.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.001763/0.3294, allocations: 1.026 MB / 436.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.3297, allocations: 79.03 kB / 436.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3297, allocations: 1.469 kB / 436.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.801e-05/0.3298, allocations: 22.44 kB / 436.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.3302, allocations: 75.11 kB / 436.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.3322, allocations: 2.064 MB / 438.9 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.3324, allocations: 0.7374 MB / 439.6 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.305e-05/0.3325, allocations: 25.25 kB / 439.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.04e-05/0.3326, allocations: 56.59 kB / 439.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3326, allocations: 3.938 kB / 439.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/0.367, allocations: 5.033 MB / 444.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/8.471, allocations: 13.25 kB / 444.8 MB, free: 5.156 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79247e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.898751228116453] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'backSample1.y'] 8.59417108213529 8.616155282 8.490056281 Calling exit ...