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.0015/0.0015, allocations: 117.4 kB / 18.45 MB, free: 4.59 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.001527/0.001527, allocations: 214.5 kB / 21.41 MB, free: 1.637 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.497/1.497, allocations: 227.7 MB / 251.9 MB, free: 15.88 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.001932/0.001932, allocations: 79.8 kB / 365.2 MB, free: 216 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1112, allocations: 50.54 MB / 415.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003744/0.1149, allocations: 2.496 MB / 418.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005154/0.1155, allocations: 259 kB / 418.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1156, allocations: 7.938 kB / 418.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.1158, allocations: 43.56 kB / 418.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.116, allocations: 95.19 kB / 418.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.1162, allocations: 55.92 kB / 418.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000354/0.1165, allocations: 318.5 kB / 419 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.1168, allocations: 103.1 kB / 419.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.1169, allocations: 119.5 kB / 419.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.1171, allocations: 131.4 kB / 419.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.327e-05/0.1172, allocations: 24 kB / 419.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.97e-05/0.1172, allocations: 27.94 kB / 419.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.97e-05/0.1173, allocations: 55.78 kB / 419.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.1175, allocations: 151.2 kB / 419.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003874/0.1179, allocations: 318.6 kB / 419.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1179, allocations: 4 kB / 419.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1179, allocations: 0 / 419.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1179, allocations: 0 / 419.9 MB, free: 9.426 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.0008872/0.1188, allocations: 0.5689 MB / 420.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.1188, allocations: 12.03 kB / 420.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.64e-05/0.1189, allocations: 66.72 kB / 420.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.119, allocations: 32.75 kB / 420.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.1193, allocations: 251.9 kB / 420.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.1194, allocations: 16.94 kB / 420.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-05/0.1194, allocations: 32.31 kB / 420.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.1198, allocations: 255.1 kB / 421.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.1199, allocations: 11.92 kB / 421.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.1199, allocations: 12 kB / 421.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1199, allocations: 4 kB / 421.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.1202, allocations: 175.9 kB / 421.3 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.1213, allocations: 0.7463 MB / 422.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.1217, allocations: 274.2 kB / 422.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.1219, allocations: 129.6 kB / 422.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.1219, allocations: 4 kB / 422.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.122, allocations: 38.56 kB / 422.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.443e-06/0.122, allocations: 0 / 422.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.00269/0.1247, allocations: 1.722 MB / 424.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.1247, allocations: 81.11 kB / 424.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.1249, allocations: 178.3 kB / 424.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.125, allocations: 37.7 kB / 424.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1251, allocations: 136.8 kB / 424.7 MB, free: 4.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.1252, allocations: 186.4 kB / 424.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.1253, allocations: 74.27 kB / 424.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1255, allocations: 342.8 kB / 425.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.1257, allocations: 109.1 kB / 425.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.1259, allocations: 153.5 kB / 425.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.1263, allocations: 278.2 kB / 425.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1264, allocations: 3.938 kB / 425.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005407/0.1269, allocations: 370.2 kB / 426.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1269, allocations: 7.938 kB / 426.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1269, allocations: 4 kB / 426.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.127, allocations: 0 / 426.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.1273, allocations: 107.8 kB / 426.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1273, allocations: 0 / 426.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.1275, allocations: 12 kB / 426.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.1275, allocations: 20.06 kB / 426.3 MB, free: 2.598 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.0001507/0.1277, allocations: 149.7 kB / 426.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.089e-05/0.1277, allocations: 35.75 kB / 426.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.594e-05/0.1278, allocations: 41.86 kB / 426.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.1278, allocations: 4 kB / 426.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.1279, allocations: 4 kB / 426.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.1279, allocations: 7.984 kB / 426.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.1292, allocations: 0.936 MB / 427.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1292, allocations: 4 kB / 427.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.1296, allocations: 95.89 kB / 427.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.1296, allocations: 7.938 kB / 427.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.1297, allocations: 4 kB / 427.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1297, allocations: 4 kB / 427.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.139e-05/0.1297, allocations: 3.938 kB / 427.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007933/0.1305, allocations: 0.6467 MB / 428.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.623e-05/0.1306, allocations: 108.9 kB / 428.3 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.1306, allocations: 8 kB / 428.4 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.1308, allocations: 12 kB / 428.4 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.1308, allocations: 27.97 kB / 428.4 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.1309, allocations: 11.98 kB / 428.4 MB, free: 392 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.131, allocations: 140.2 kB / 428.5 MB, free: 252 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.131, allocations: 0 / 428.5 MB, free: 252 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003595/0.1314, allocations: 80 kB / 428.6 MB, free: 172 kB / 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.001224/0.1326, allocations: 1.196 MB / 429.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005093/0.1331, allocations: 298.8 kB / 430.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1331, allocations: 4 kB / 430.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.1333, allocations: 159.6 kB / 430.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006172/0.134, allocations: 72.28 kB / 430.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/0.138, allocations: 3.268 MB / 433.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.1385, allocations: 0.7802 MB / 434.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.1386, allocations: 38.94 kB / 434.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.1388, allocations: 95.41 kB / 434.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1388, allocations: 0 / 434.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.169, allocations: 6.118 MB / 440.6 MB, free: 4.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/8.358, allocations: 7.297 kB / 440.6 MB, free: 4.137 MB / 366.1 MB " [Timeout remaining time 652] (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.215594730922021] 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.4292625420494 8.659301923 8.538984644 Calling exit ...