Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.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.001339/0.001339, allocations: 121.8 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.001622/0.001622, 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.441/1.441, 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.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_InitialConditions",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: 75.81 kB / 373.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1138, allocations: 53.31 MB / 426.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004068/0.1179, allocations: 2.516 MB / 429.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005523/0.1184, allocations: 251 kB / 429.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.1186, allocations: 11.94 kB / 429.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.1187, allocations: 39.58 kB / 429.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.1189, allocations: 95.12 kB / 429.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.1191, allocations: 71.84 kB / 429.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003486/0.1195, allocations: 314.6 kB / 430.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.1197, allocations: 71.11 kB / 430.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.1198, allocations: 123.5 kB / 430.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.12, allocations: 127.5 kB / 430.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.12, allocations: 24 kB / 430.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.385e-05/0.1201, allocations: 27.94 kB / 430.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.1201, allocations: 55.83 kB / 430.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.1203, allocations: 151.3 kB / 430.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.1207, allocations: 318.6 kB / 431 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1207, allocations: 4 kB / 431 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1207, allocations: 0 / 431 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.1207, allocations: 0 / 431 MB, free: 0.6875 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009425/0.1216, allocations: 0.5767 MB / 431.6 MB, free: 60 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1217, allocations: 8.031 kB / 431.6 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.1821/0.3038, allocations: 56.97 kB / 431.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.16e-05/0.3038, allocations: 36 kB / 431.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.3042, allocations: 245.9 kB / 431.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.3042, allocations: 18.56 kB / 432 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.878e-05/0.3043, allocations: 30.91 kB / 432 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.3047, allocations: 250.6 kB / 432.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.3047, allocations: 6.844 kB / 432.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.3047, allocations: 10.66 kB / 432.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.3047, allocations: 7.312 kB / 432.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/0.305, allocations: 178.3 kB / 432.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008403/0.3058, allocations: 0.7514 MB / 433.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.3062, allocations: 256.1 kB / 433.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.3063, allocations: 114.9 kB / 433.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.3064, allocations: 3.812 kB / 433.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.3064, allocations: 38.78 kB / 433.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.803e-06/0.3064, allocations: 1.031 kB / 433.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002076/0.3085, allocations: 1.721 MB / 435.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.3085, allocations: 81.83 kB / 435.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.3086, allocations: 180.5 kB / 435.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.3086, allocations: 35.08 kB / 435.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.3087, allocations: 139.5 kB / 435.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.394e-05/0.3088, allocations: 183.5 kB / 435.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.745e-05/0.3088, allocations: 76.95 kB / 436 MB, free: 8.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.348e-05/0.3089, allocations: 338 kB / 436.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.309, allocations: 106.3 kB / 436.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.3092, allocations: 163.1 kB / 436.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.3095, allocations: 280.8 kB / 436.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3095, allocations: 6.844 kB / 436.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004408/0.31, allocations: 367.2 kB / 437.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.31, allocations: 5.844 kB / 437.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.31, allocations: 1.062 kB / 437.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.31, allocations: 4.031 kB / 437.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.3104, allocations: 102.1 kB / 437.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3104, allocations: 2.719 kB / 437.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.3105, allocations: 16.75 kB / 437.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.3105, allocations: 17.03 kB / 437.4 MB, free: 8.172 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 (58): * Single equations (assignments): 58 * 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.0001015/0.3106, allocations: 149.9 kB / 437.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.534e-05/0.3107, allocations: 33.78 kB / 437.6 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.183e-05/0.3108, allocations: 35.83 kB / 437.6 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3108, allocations: 5.156 kB / 437.6 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.3108, allocations: 0.9062 kB / 437.6 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3108, allocations: 3.156 kB / 437.6 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.3118, allocations: 0.9468 MB / 438.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3118, allocations: 1.469 kB / 438.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.3122, allocations: 100.3 kB / 438.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.3122, allocations: 7.75 kB / 438.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.3122, allocations: 8.219 kB / 438.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3122, allocations: 5 kB / 438.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3122, allocations: 1.859 kB / 438.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006083/0.3129, allocations: 0.6432 MB / 439.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.3129, allocations: 110.1 kB / 439.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.3129, allocations: 7.953 kB / 439.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.3131, allocations: 10.91 kB / 439.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.3131, allocations: 28.59 kB / 439.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.3132, allocations: 9.969 kB / 439.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.585e-05/0.3132, allocations: 134.7 kB / 439.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3132, allocations: 0 / 439.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000359/0.3136, allocations: 77.44 kB / 439.7 MB, free: 6.727 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.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 (48): * Single equations (assignments): 48 * 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.000778/0.3144, allocations: 1.203 MB / 440.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004082/0.3148, allocations: 281.2 kB / 441.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.3148, allocations: 4 kB / 441.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.315, allocations: 149.7 kB / 441.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005474/0.3155, allocations: 72.44 kB / 441.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003323/0.3188, allocations: 3.283 MB / 444.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.3191, allocations: 0.7755 MB / 445.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001571/0.3192, allocations: 39.2 kB / 445.5 MB, free: 2.621 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.3193, allocations: 95.38 kB / 445.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3193, allocations: 0 / 445.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03465/0.354, allocations: 6.17 MB / 451.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.274/8.628, allocations: 1.375 kB / 451.7 MB, free: 1.887 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.937318850308657] Failed to read output from testmodel.py, exit status != 0: ['time', 'm1.s', 'm1.v', 'm3.s', 'm3.v', 'sd1.s_rel', 'sd1.v_rel', 'sd2.s_rel', 'sd2.v_rel'] 8.697564818896353 8.714418489 8.590482554 Calling exit ...