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.001721/0.001721, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.002058/0.002058, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.481/1.481, allocations: 230.5 MB / 254.8 MB, free: 15.25 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.001956/0.001956, allocations: 67.83 kB / 373.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1079, allocations: 53.34 MB / 427 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003772/0.1117, allocations: 2.514 MB / 429.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005501/0.1123, allocations: 255 kB / 429.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.1124, allocations: 4 kB / 429.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.1125, allocations: 51.44 kB / 429.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.1127, allocations: 95.19 kB / 429.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.1129, allocations: 59.92 kB / 430 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.1132, allocations: 318.5 kB / 430.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.1134, allocations: 71.12 kB / 430.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.1136, allocations: 131.5 kB / 430.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.1137, allocations: 123.5 kB / 430.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.1138, allocations: 28 kB / 430.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.455e-05/0.1138, allocations: 24 kB / 430.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.754e-05/0.1139, allocations: 59.77 kB / 430.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.114, allocations: 155.2 kB / 430.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003652/0.1144, allocations: 318.6 kB / 431.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.788e-06/0.1144, allocations: 0 / 431.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1144, allocations: 0 / 431.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1144, allocations: 0 / 431.2 MB, free: 0.7305 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.0008626/0.1153, allocations: 0.5689 MB / 431.7 MB, free: 112 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1153, allocations: 8.031 kB / 431.7 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.089e-05/0.1154, allocations: 66.66 kB / 431.8 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.9e-05/0.1155, allocations: 30.3 kB / 431.8 MB, free: 0 / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.1158, allocations: 247.9 kB / 432.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.1159, allocations: 24.94 kB / 432.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.69e-05/0.1159, allocations: 32.33 kB / 432.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004332/0.1164, allocations: 261.5 kB / 432.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1164, allocations: 0 / 432.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.1164, allocations: 12 kB / 432.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.1164, allocations: 8 kB / 432.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003198/0.1167, allocations: 171.9 kB / 432.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.1178, allocations: 0.7463 MB / 433.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004148/0.1182, allocations: 256.9 kB / 433.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.1184, allocations: 121.7 kB / 433.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1185, allocations: 4 kB / 433.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.1185, allocations: 42.5 kB / 433.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 1.512e-06/0.1185, allocations: 0 / 433.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.002911/0.1214, allocations: 1.712 MB / 435.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/0.1215, allocations: 85.05 kB / 435.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.1217, allocations: 182.3 kB / 435.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.1217, allocations: 37.7 kB / 435.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.1218, allocations: 144.7 kB / 435.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.122, allocations: 182.4 kB / 436.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.1221, allocations: 82.2 kB / 436.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1223, allocations: 338.8 kB / 436.5 MB, free: 11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.1224, allocations: 105.1 kB / 436.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.1227, allocations: 157.5 kB / 436.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.1231, allocations: 278.2 kB / 437 MB, free: 10.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1231, allocations: 0 / 437 MB, free: 10.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005633/0.1236, allocations: 366.3 kB / 437.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1236, allocations: 11.94 kB / 437.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.1237, allocations: 0 / 437.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.1237, allocations: 8.062 kB / 437.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.1241, allocations: 103.8 kB / 437.5 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.1241, allocations: 4 kB / 437.5 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.1242, allocations: 4 kB / 437.5 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.1242, allocations: 19.94 kB / 437.5 MB, free: 9.934 MB / 366.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.000169/0.1244, allocations: 150.3 kB / 437.7 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.639e-05/0.1245, allocations: 31.84 kB / 437.7 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.723e-05/0.1246, allocations: 37.81 kB / 437.7 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1246, allocations: 8 kB / 437.7 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.1246, allocations: 7.984 kB / 437.7 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.1246, allocations: 3.984 kB / 437.8 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.126, allocations: 0.9437 MB / 438.7 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.126, allocations: 0 / 438.7 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004237/0.1264, allocations: 99.95 kB / 438.8 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.1264, allocations: 4 kB / 438.8 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.1264, allocations: 12 kB / 438.8 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.1264, allocations: 3.984 kB / 438.8 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1264, allocations: 4 kB / 438.8 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008023/0.1272, allocations: 0.6428 MB / 439.5 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.06e-05/0.1273, allocations: 100.9 kB / 439.6 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.1274, allocations: 12 kB / 439.6 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.1275, allocations: 12 kB / 439.6 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.1276, allocations: 27.95 kB / 439.6 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.1276, allocations: 15.94 kB / 439.6 MB, free: 7.715 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.1277, allocations: 136.3 kB / 439.8 MB, free: 7.582 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1277, allocations: 0 / 439.8 MB, free: 7.582 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003726/0.1281, allocations: 76 kB / 439.8 MB, free: 7.508 MB / 366.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.001138/0.1292, allocations: 1.189 MB / 441 MB, free: 6.281 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004908/0.1297, allocations: 286.9 kB / 441.3 MB, free: 6.004 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1297, allocations: 7.875 kB / 441.3 MB, free: 5.996 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.1299, allocations: 143.6 kB / 441.4 MB, free: 5.855 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005764/0.1305, allocations: 68.2 kB / 441.5 MB, free: 5.789 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/0.1346, allocations: 3.287 MB / 444.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.135, allocations: 0.7803 MB / 445.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.1352, allocations: 34.95 kB / 445.6 MB, free: 1.543 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.1353, allocations: 98.78 kB / 445.7 MB, free: 1.449 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1353, allocations: 0 / 445.7 MB, free: 1.449 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2159/0.3512, allocations: 6.152 MB / 451.9 MB, free: 24.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/8.659, allocations: 4.188 kB / 451.9 MB, free: 24.44 MB / 366.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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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: 11.161090589594096] 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.731055506970733 8.747857755 8.630697131 Calling exit ...