Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.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.001233/0.001233, 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.001334/0.001334, 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.444/1.444, 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.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Accelerate",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.002303/0.002303, allocations: 71.88 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1132, allocations: 53.31 MB / 426.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003167/0.1163, allocations: 1.66 MB / 428.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002921/0.1166, allocations: 75.72 kB / 428.6 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.074e-05/0.1167, allocations: 0 / 428.6 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.1168, allocations: 7.922 kB / 428.6 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.331e-05/0.1169, allocations: 15.86 kB / 428.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.117, allocations: 19.92 kB / 428.6 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.1171, allocations: 59.78 kB / 428.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1172, allocations: 19.97 kB / 428.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.149e-05/0.1173, allocations: 35.81 kB / 428.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.265e-05/0.1174, allocations: 19.92 kB / 428.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.1174, allocations: 4 kB / 428.8 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.46e-05/0.1174, allocations: 4 kB / 428.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.1174, allocations: 23.86 kB / 428.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.1175, allocations: 27.86 kB / 428.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.1176, allocations: 63.73 kB / 428.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1176, allocations: 0 / 428.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1176, allocations: 0 / 428.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.1176, allocations: 0 / 428.9 MB, free: 2.82 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005204/0.1181, allocations: 363.3 kB / 429.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1182, allocations: 12.03 kB / 429.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.403e-05/0.1182, allocations: 42.73 kB / 429.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.1182, allocations: 8.891 kB / 429.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.1185, allocations: 188.2 kB / 429.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1185, allocations: 4.375 kB / 429.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.1185, allocations: 4.375 kB / 429.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.1187, allocations: 70.23 kB / 429.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1187, allocations: 3.938 kB / 429.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.1187, allocations: 8 kB / 429.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1187, allocations: 0 / 429.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.222e-05/0.1188, allocations: 35.97 kB / 429.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006753/0.1195, allocations: 379.6 kB / 430 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.1196, allocations: 50.56 kB / 430 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.332e-05/0.1196, allocations: 20.84 kB / 430.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.1196, allocations: 8 kB / 430.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1197, allocations: 30.56 kB / 430.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.1197, allocations: 0 / 430.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007828/0.1204, allocations: 0.5131 MB / 430.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.1205, allocations: 59.34 kB / 430.7 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.1206, allocations: 125.8 kB / 430.8 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.1206, allocations: 25.7 kB / 430.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/0.1207, allocations: 96.08 kB / 430.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.1207, allocations: 31.7 kB / 430.9 MB, free: 480 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.1208, allocations: 29.7 kB / 431 MB, free: 444 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1209, allocations: 322.8 kB / 431.3 MB, free: 112 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.527e-05/0.1209, allocations: 12 kB / 431.3 MB, free: 100 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.698e-05/0.121, allocations: 61.14 kB / 431.4 MB, free: 20 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.1212, allocations: 89.06 kB / 431.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1212, allocations: 4 kB / 431.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001748/0.1213, allocations: 113.5 kB / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1214, allocations: 4 kB / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1214, allocations: 0 / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.1214, allocations: 4 kB / 431.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.082e-05/0.1215, allocations: 23.98 kB / 431.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.1215, allocations: 4.797 kB / 431.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.21e-05/0.1215, allocations: 8 kB / 431.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.1215, allocations: 4 kB / 431.6 MB, free: 15.74 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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.0001085/0.1216, allocations: 129.8 kB / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.1217, allocations: 7.953 kB / 431.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.871e-05/0.1217, allocations: 12.36 kB / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1217, allocations: 0 / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1217, allocations: 3.938 kB / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1217, allocations: 0 / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.1223, allocations: 410.6 kB / 432.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1223, allocations: 0 / 432.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.447e-05/0.1224, allocations: 27.88 kB / 432.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.1224, allocations: 4 kB / 432.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1224, allocations: 3.984 kB / 432.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1224, allocations: 4 kB / 432.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1224, allocations: 0 / 432.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.1226, allocations: 235.8 kB / 432.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.1227, allocations: 89.03 kB / 432.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.1227, allocations: 8 kB / 432.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.583e-05/0.1228, allocations: 4.406 kB / 432.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.1228, allocations: 12.23 kB / 432.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.1228, allocations: 4 kB / 432.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.383e-05/0.1229, allocations: 99.2 kB / 432.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1229, allocations: 0 / 432.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1231, allocations: 16 kB / 432.7 MB, free: 14.56 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.v) * 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 (9): * Single equations (assignments): 9 * 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.0005924/0.1237, allocations: 0.7673 MB / 433.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.1239, allocations: 56.17 kB / 433.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1239, allocations: 4 kB / 433.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.345e-05/0.1239, allocations: 31.86 kB / 433.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.1243, allocations: 8 kB / 433.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.1261, allocations: 1.669 MB / 435.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.1266, allocations: 0.6924 MB / 435.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.892e-05/0.1266, allocations: 8.422 kB / 435.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.1267, allocations: 27.42 kB / 435.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1267, allocations: 0 / 435.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.1535, allocations: 1.92 MB / 437.8 MB, free: 9.281 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.046, allocations: 7.875 kB / 437.8 MB, free: 9.277 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.521859086118639] Failed to read output from testmodel.py, exit status != 0: ['time', 'accelerate.s', 'accelerate.v'] 8.117072022985667 8.312391233 8.192121593 Calling exit ...