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.001333/0.001333, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.002371/0.002371, allocations: 220.8 kB / 23 MB, free: 5.609 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.498/1.498, allocations: 230.5 MB / 256.5 MB, free: 8.414 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.001916/0.001916, allocations: 71.97 kB / 376.2 MB, free: 4.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2675, allocations: 53.32 MB / 429.5 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003488/0.271, allocations: 1.891 MB / 431.4 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.2724, allocations: 0.7012 MB / 432.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.2725, allocations: 11.94 kB / 432.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.2727, allocations: 23.8 kB / 432.2 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.2728, allocations: 27.78 kB / 432.2 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.2733, allocations: 114.4 kB / 432.3 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.2735, allocations: 143.6 kB / 432.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.2736, allocations: 45.69 kB / 432.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.2738, allocations: 59.72 kB / 432.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.2739, allocations: 51.66 kB / 432.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.2739, allocations: 12 kB / 432.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.274, allocations: 23.94 kB / 432.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.085e-05/0.2741, allocations: 35.89 kB / 432.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.749e-05/0.2742, allocations: 63.55 kB / 432.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.2744, allocations: 139.8 kB / 432.9 MB, free: 4.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.2744, allocations: 4 kB / 432.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2744, allocations: 4 kB / 432.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.2744, allocations: 0 / 432.9 MB, free: 4.199 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007369/0.2752, allocations: 458.7 kB / 433.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2752, allocations: 12.03 kB / 433.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.752e-05/0.2753, allocations: 42.73 kB / 433.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.2754, allocations: 28.83 kB / 433.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.2758, allocations: 253 kB / 433.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.2758, allocations: 11.94 kB / 433.7 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.2759, allocations: 8 kB / 433.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006347/0.2765, allocations: 273.7 kB / 433.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2765, allocations: 4 kB / 433.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.2765, allocations: 4 kB / 433.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.2765, allocations: 4 kB / 434 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.2768, allocations: 79.81 kB / 434 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.2773, allocations: 427.5 kB / 434.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004858/0.2778, allocations: 286.2 kB / 434.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.2779, allocations: 100.2 kB / 434.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.278, allocations: 4 kB / 434.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.278, allocations: 42.44 kB / 434.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.278, allocations: 4 kB / 434.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005857/0.2786, allocations: 213.9 kB / 435.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.2787, allocations: 199.9 kB / 435.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.2789, allocations: 174.9 kB / 435.4 MB, free: 1.293 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.2789, allocations: 33.7 kB / 435.5 MB, free: 1.254 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.816e-05/0.279, allocations: 108 kB / 435.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.2791, allocations: 11.97 kB / 435.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-05/0.2791, allocations: 41.66 kB / 435.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.2793, allocations: 327.2 kB / 436 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/0.2794, allocations: 27.92 kB / 436 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.2796, allocations: 133.5 kB / 436.1 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.2798, allocations: 161.6 kB / 436.3 MB, free: 352 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2798, allocations: 7.875 kB / 436.3 MB, free: 344 kB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002905/0.2801, allocations: 173.4 kB / 436.5 MB, free: 164 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.2801, allocations: 7.938 kB / 436.5 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2801, allocations: 7.938 kB / 436.5 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.2801, allocations: 4 kB / 436.5 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.2802, allocations: 35.92 kB / 436.5 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.2802, allocations: 4 kB / 436.5 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.17e-05/0.2803, allocations: 11.98 kB / 436.5 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.2804, allocations: 12 kB / 436.5 MB, free: 80 kB / 334.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.0001465/0.2805, allocations: 138 kB / 436.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/0.2809, allocations: 145.4 kB / 436.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.168e-05/0.2809, allocations: 21.39 kB / 436.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.2809, allocations: 7.938 kB / 436.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2809, allocations: 4 kB / 436.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2809, allocations: 0 / 436.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.2812, allocations: 217.5 kB / 437.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2812, allocations: 4.031 kB / 437.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.2814, allocations: 39.97 kB / 437.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.2814, allocations: 3.938 kB / 437.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.2814, allocations: 4 kB / 437.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2814, allocations: 0 / 437.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2814, allocations: 4 kB / 437.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004757/0.2819, allocations: 357.1 kB / 437.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.757e-05/0.282, allocations: 112.9 kB / 437.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.282, allocations: 0 / 437.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.2821, allocations: 15.98 kB / 437.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.2822, allocations: 4 kB / 437.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.2822, allocations: 15.98 kB / 437.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.2823, allocations: 128.4 kB / 437.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2823, allocations: 0 / 437.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003115/0.2826, allocations: 24 kB / 437.8 MB, free: 14.74 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.000761/0.2834, allocations: 0.9014 MB / 438.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002953/0.2837, allocations: 112.4 kB / 438.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.2837, allocations: 4 kB / 438.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.119e-05/0.2837, allocations: 7.984 kB / 438.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006174/0.2843, allocations: 99.05 kB / 438.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.287, allocations: 2.083 MB / 441 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.2874, allocations: 0.7241 MB / 441.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.091e-05/0.2875, allocations: 25.72 kB / 441.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.446e-05/0.2876, allocations: 39.42 kB / 441.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2876, allocations: 0 / 441.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.3151, allocations: 3.409 MB / 445.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/8.083, allocations: 8 kB / 445.2 MB, free: 7.188 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 --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.463406569004292] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'hold1.y', '// shiftSample1.y'] 8.154796884016832 8.179282058 7.900185422 Calling exit ...