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.HoldWithDAeffects2.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.001299/0.001299, allocations: 120.4 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.001406/0.001406, allocations: 208.9 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.508/1.508, 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.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",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.001959/0.001959, allocations: 75.81 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.128, allocations: 53.31 MB / 426.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003317/0.1313, allocations: 1.879 MB / 428.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.1329, allocations: 0.6936 MB / 429.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.133, allocations: 11.94 kB / 429.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.1332, allocations: 23.73 kB / 429.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.1333, allocations: 31.72 kB / 429.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.1337, allocations: 111.7 kB / 429.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.1339, allocations: 139.6 kB / 429.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.1341, allocations: 49.7 kB / 429.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.1343, allocations: 63.7 kB / 429.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.834e-05/0.1344, allocations: 47.72 kB / 429.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.1344, allocations: 12 kB / 429.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.463e-05/0.1344, allocations: 20 kB / 430 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.925e-05/0.1345, allocations: 31.84 kB / 430 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.647e-05/0.1346, allocations: 67.59 kB / 430.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.1348, allocations: 151.2 kB / 430.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1348, allocations: 0 / 430.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1348, allocations: 0 / 430.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1348, allocations: 0 / 430.2 MB, free: 1.508 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.0006611/0.1355, allocations: 454.8 kB / 430.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1355, allocations: 12.03 kB / 430.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.885e-05/0.1356, allocations: 46.73 kB / 430.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.1357, allocations: 28.83 kB / 430.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.1362, allocations: 252.1 kB / 431 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.1362, allocations: 7.938 kB / 431 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.1362, allocations: 12 kB / 431 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000615/0.1369, allocations: 286.3 kB / 431.3 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1369, allocations: 3.938 kB / 431.3 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1369, allocations: 0 / 431.3 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.1369, allocations: 4 kB / 431.3 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.1371, allocations: 71.89 kB / 431.4 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2232/0.3603, allocations: 427.4 kB / 431.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007105/0.361, allocations: 286.3 kB / 432.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.3612, allocations: 101 kB / 432.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.3613, allocations: 14.22 kB / 432.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.3613, allocations: 33.95 kB / 432.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 3.416e-06/0.3613, allocations: 0 / 432.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.0008372/0.3622, allocations: 228.8 kB / 432.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.3623, allocations: 201 kB / 432.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.3625, allocations: 183.8 kB / 432.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.3625, allocations: 26.8 kB / 432.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.3626, allocations: 103.1 kB / 432.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.3626, allocations: 16.33 kB / 432.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.81e-05/0.3627, allocations: 37.59 kB / 433 MB, free: 10.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.238e-05/0.3628, allocations: 330.7 kB / 433.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3629, allocations: 21.59 kB / 433.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.363, allocations: 138.4 kB / 433.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.3633, allocations: 173.2 kB / 433.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.3633, allocations: 1.094 kB / 433.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004499/0.3638, allocations: 180.7 kB / 433.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.3638, allocations: 6.75 kB / 433.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.3638, allocations: 5.609 kB / 433.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.81e-05/0.3638, allocations: 6.062 kB / 433.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.364, allocations: 37.12 kB / 433.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.3641, allocations: 7.344 kB / 433.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.3642, allocations: 22.23 kB / 433.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.3642, allocations: 12.28 kB / 433.9 MB, free: 9.527 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001346/0.3644, allocations: 136.3 kB / 434 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004286/0.3648, allocations: 147.8 kB / 434.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.509e-05/0.3649, allocations: 27.42 kB / 434.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.3649, allocations: 1.344 kB / 434.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.3649, allocations: 5.625 kB / 434.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.3649, allocations: 1.781 kB / 434.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.3653, allocations: 221.7 kB / 434.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.3653, allocations: 3.375 kB / 434.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.3655, allocations: 36.44 kB / 434.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.3655, allocations: 2.312 kB / 434.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.3655, allocations: 11.28 kB / 434.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.3655, allocations: 2.969 kB / 434.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3655, allocations: 4.219 kB / 434.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004738/0.366, allocations: 372.9 kB / 434.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.3661, allocations: 112.9 kB / 435 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.3662, allocations: 8.031 kB / 435 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.3664, allocations: 13.28 kB / 435 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.3664, allocations: 2.094 kB / 435 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.3665, allocations: 4.875 kB / 435 MB, free: 8.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.3666, allocations: 135 kB / 435.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3666, allocations: 0 / 435.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005803/0.3672, allocations: 27.02 kB / 435.2 MB, free: 8.738 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: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0009845/0.3682, allocations: 0.9615 MB / 436.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004365/0.3686, allocations: 118.5 kB / 436.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3686, allocations: 2.438 kB / 436.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.771e-05/0.3687, allocations: 13.45 kB / 436.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009937/0.3697, allocations: 103.8 kB / 436.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.3725, allocations: 2.078 MB / 438.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.3727, allocations: 0.7272 MB / 439.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.3728, allocations: 17.44 kB / 439.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.373, allocations: 46.19 kB / 439.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.373, allocations: 0 / 439.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03206/0.405, allocations: 3.543 MB / 442.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/8.571, allocations: 5 kB / 442.8 MB, free: 5.164 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.981577516067773] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'hold1.y', '// shiftSample1.y'] 8.642467093188316 8.665979734 8.526528458 Calling exit ...