Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001647/0.001647, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001938/0.001938, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.57/1.57, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",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.001938/0.001938, allocations: 67.89 kB / 373.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1162, allocations: 53.32 MB / 426.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003328/0.1196, allocations: 1.882 MB / 428.8 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.1209, allocations: 0.7014 MB / 429.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.121, allocations: 7.938 kB / 429.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.1212, allocations: 27.67 kB / 429.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.1213, allocations: 23.8 kB / 429.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.1218, allocations: 107.7 kB / 429.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.122, allocations: 139.6 kB / 429.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.1221, allocations: 49.69 kB / 429.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.1223, allocations: 63.72 kB / 429.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.934e-05/0.1223, allocations: 47.72 kB / 429.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.1224, allocations: 12 kB / 429.9 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.973e-05/0.1224, allocations: 16 kB / 430 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.437e-05/0.1225, allocations: 35.84 kB / 430 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.554e-05/0.1225, allocations: 59.61 kB / 430.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.1228, allocations: 155.2 kB / 430.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.1228, allocations: 3.938 kB / 430.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1228, allocations: 0 / 430.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1228, allocations: 4 kB / 430.2 MB, free: 1.492 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006619/0.1235, allocations: 454.8 kB / 430.7 MB, free: 1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1235, allocations: 12.03 kB / 430.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.454e-05/0.1236, allocations: 42.73 kB / 430.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.1237, allocations: 24.84 kB / 430.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.1241, allocations: 252.1 kB / 431 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.1241, allocations: 11.94 kB / 431 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.1241, allocations: 12 kB / 431 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000573/0.1247, allocations: 278.8 kB / 431.3 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1247, allocations: 0 / 431.3 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.1247, allocations: 4 kB / 431.3 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.1248, allocations: 4 kB / 431.3 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.125, allocations: 75.81 kB / 431.4 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2163/0.3413, allocations: 425.1 kB / 431.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006344/0.3419, allocations: 283 kB / 432.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.3422, allocations: 105.5 kB / 432.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.3422, allocations: 2.891 kB / 432.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.3422, allocations: 44.92 kB / 432.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.314e-06/0.3422, allocations: 0 / 432.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009937/0.3432, allocations: 218.9 kB / 432.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/0.3434, allocations: 196.3 kB / 432.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.3437, allocations: 184.5 kB / 432.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.3437, allocations: 26.36 kB / 432.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.905e-05/0.3438, allocations: 103.1 kB / 432.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.3438, allocations: 14.67 kB / 432.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.138e-05/0.3439, allocations: 40.31 kB / 433 MB, free: 10.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.344, allocations: 330.7 kB / 433.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3441, allocations: 24.17 kB / 433.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.3443, allocations: 130.6 kB / 433.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/0.3446, allocations: 157.3 kB / 433.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3446, allocations: 1.719 kB / 433.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004489/0.345, allocations: 171.2 kB / 433.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.345, allocations: 6.281 kB / 433.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.3451, allocations: 3.75 kB / 433.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.557e-05/0.3451, allocations: 5.188 kB / 433.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.3453, allocations: 37.45 kB / 433.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.306e-05/0.3454, allocations: 11.44 kB / 433.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.3455, allocations: 13.25 kB / 433.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.3456, allocations: 15.34 kB / 433.9 MB, free: 9.555 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001693/0.3457, allocations: 132.3 kB / 434 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000419/0.3462, allocations: 139 kB / 434.1 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.481e-05/0.3462, allocations: 24.72 kB / 434.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3462, allocations: 4.125 kB / 434.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.3462, allocations: 5.781 kB / 434.2 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.3463, allocations: 9.75 kB / 434.2 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.3467, allocations: 218.9 kB / 434.4 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3467, allocations: 7.312 kB / 434.4 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.3469, allocations: 35.05 kB / 434.4 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.3469, allocations: 3.25 kB / 434.4 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.3469, allocations: 6.406 kB / 434.4 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.3469, allocations: 9.25 kB / 434.4 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3469, allocations: 0 / 434.4 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005155/0.3474, allocations: 354.5 kB / 434.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.3475, allocations: 113.3 kB / 434.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.3476, allocations: 7.547 kB / 434.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.3478, allocations: 15.88 kB / 434.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.3478, allocations: 3.406 kB / 434.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.3479, allocations: 8.031 kB / 434.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.348, allocations: 130.5 kB / 435.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.348, allocations: 0 / 435.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005802/0.3486, allocations: 19.72 kB / 435.1 MB, free: 8.773 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.000697/0.3493, allocations: 0.9029 MB / 436 MB, free: 8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004182/0.3497, allocations: 110.8 kB / 436.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3497, allocations: 1.125 kB / 436.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.998e-05/0.3498, allocations: 13.48 kB / 436.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.3508, allocations: 105.4 kB / 436.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.3537, allocations: 2.067 MB / 438.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.3539, allocations: 0.7287 MB / 439 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.492e-05/0.354, allocations: 17.47 kB / 439 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.3541, allocations: 41.45 kB / 439.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3541, allocations: 0 / 439.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.3851, allocations: 3.432 MB / 442.5 MB, free: 5.207 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.373, allocations: 7.531 kB / 442.5 MB, free: 5.203 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98486e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.877024005167186] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'hold1.y', '// shiftSample1.y'] 8.442867838777602 8.455193122 8.329540077 Calling exit ...