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.Sample1.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.001373/0.001373, 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.001556/0.001556, 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.578/1.578, 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.RealSignals.Sample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",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.001906/0.001906, allocations: 71.88 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1047, allocations: 53.31 MB / 426.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002908/0.1076, allocations: 1.602 MB / 428.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009817/0.1086, allocations: 0.5415 MB / 429 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.942e-05/0.1087, allocations: 3.938 kB / 429 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.084e-05/0.1087, allocations: 3.938 kB / 429 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.1089, allocations: 23.84 kB / 429.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.1091, allocations: 43.89 kB / 429.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.1092, allocations: 51.78 kB / 429.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.578e-05/0.1093, allocations: 8 kB / 429.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.1094, allocations: 39.84 kB / 429.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.539e-05/0.1095, allocations: 19.86 kB / 429.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.1095, allocations: 4 kB / 429.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.174e-05/0.1096, allocations: 8 kB / 429.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.54e-05/0.1096, allocations: 15.92 kB / 429.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/0.1096, allocations: 27.8 kB / 429.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.1098, allocations: 51.75 kB / 429.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1098, allocations: 4 kB / 429.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1098, allocations: 0 / 429.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1098, allocations: 0 / 429.3 MB, free: 2.402 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004948/0.1103, allocations: 379.1 kB / 429.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1103, allocations: 12.03 kB / 429.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.1104, allocations: 38.69 kB / 429.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.1105, allocations: 20.83 kB / 429.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.1108, allocations: 202.2 kB / 430 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1108, allocations: 8.375 kB / 430 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.1108, allocations: 4.375 kB / 430 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.1111, allocations: 117.2 kB / 430.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1111, allocations: 0 / 430.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1111, allocations: 0 / 430.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1111, allocations: 0 / 430.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.28e-05/0.1112, allocations: 27.92 kB / 430.1 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.1115, allocations: 265.7 kB / 430.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.1117, allocations: 138.2 kB / 430.5 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.032e-05/0.1118, allocations: 33.77 kB / 430.5 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.1118, allocations: 0 / 430.5 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.1119, allocations: 34.56 kB / 430.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1119, allocations: 0 / 430.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002561/0.1121, allocations: 81.56 kB / 430.7 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.1122, allocations: 77.23 kB / 430.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.1123, allocations: 151.1 kB / 430.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1123, allocations: 25.7 kB / 430.9 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.1124, allocations: 84.14 kB / 431 MB, free: 488 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.1124, allocations: 7.953 kB / 431 MB, free: 480 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.1124, allocations: 17.7 kB / 431 MB, free: 456 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1126, allocations: 322.8 kB / 431.3 MB, free: 124 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-05/0.1126, allocations: 11.92 kB / 431.3 MB, free: 112 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.003e-05/0.1127, allocations: 43.59 kB / 431.4 MB, free: 56 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1977/0.3104, allocations: 44.44 kB / 431.4 MB, free: 11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.3104, allocations: 0.5938 kB / 431.4 MB, free: 11 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002535/0.3107, allocations: 69.36 kB / 431.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.3107, allocations: 6.188 kB / 431.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3107, allocations: 0.8125 kB / 431.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.3108, allocations: 0.75 kB / 431.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.681e-05/0.3108, allocations: 14.66 kB / 431.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.3109, allocations: 4.594 kB / 431.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.636e-05/0.3109, allocations: 5.219 kB / 431.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.3109, allocations: 4.938 kB / 431.5 MB, free: 10.97 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001063/0.311, allocations: 119.1 kB / 431.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.124e-05/0.3111, allocations: 51.2 kB / 431.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.078e-05/0.3112, allocations: 12 kB / 431.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3112, allocations: 1.359 kB / 431.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.3112, allocations: 2.969 kB / 431.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.3112, allocations: 0.9062 kB / 431.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.3114, allocations: 174.1 kB / 431.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3114, allocations: 4 kB / 431.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.44e-05/0.3115, allocations: 9.578 kB / 431.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3115, allocations: 1.547 kB / 431.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3115, allocations: 1.312 kB / 431.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.3115, allocations: 1.188 kB / 431.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3115, allocations: 0.6875 kB / 431.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.3117, allocations: 176.1 kB / 432.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.901e-05/0.3117, allocations: 97.39 kB / 432.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.3118, allocations: 3.516 kB / 432.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.819e-05/0.3118, allocations: 3.609 kB / 432.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.3119, allocations: 1.531 kB / 432.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.3119, allocations: 3.672 kB / 432.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.622e-05/0.312, allocations: 114 kB / 432.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.312, allocations: 0.625 kB / 432.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000246/0.3122, allocations: 5.344 kB / 432.3 MB, free: 10.31 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0003845/0.3126, allocations: 0.7019 MB / 433 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.3128, allocations: 37.39 kB / 433 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.3128, allocations: 1.688 kB / 433 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.914e-05/0.3128, allocations: 8.422 kB / 433 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.3132, allocations: 22.47 kB / 433.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.3144, allocations: 1.367 MB / 434.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.3146, allocations: 0.693 MB / 435.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.466e-05/0.3146, allocations: 9.406 kB / 435.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.3147, allocations: 14.28 kB / 435.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3147, allocations: 0 / 435.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.3422, allocations: 1.609 MB / 436.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.338/8.68, allocations: 8.984 kB / 436.8 MB, free: 7.406 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_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_Sample1.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.163596145343035] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 8.74832899775356 8.763336702 8.650792097 Calling exit ...