Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.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.001284/0.001284, allocations: 122.6 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.001353/0.001353, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.433/1.433, allocations: 230.5 MB / 254.8 MB, free: 15.26 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.Oscillator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Oscillator",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.002008/0.002008, allocations: 71.81 kB / 373.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1093, allocations: 53.34 MB / 427 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003786/0.1131, allocations: 2.447 MB / 429.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.1142, allocations: 0.666 MB / 430.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.1143, allocations: 12 kB / 430.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.1145, allocations: 35.59 kB / 430.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.1146, allocations: 67.36 kB / 430.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.1149, allocations: 71.83 kB / 430.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.1152, allocations: 258.9 kB / 430.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.1154, allocations: 77.28 kB / 430.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.1156, allocations: 119.6 kB / 430.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.1157, allocations: 103.5 kB / 430.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.1157, allocations: 20 kB / 430.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.988e-05/0.1158, allocations: 24 kB / 430.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.445e-05/0.1158, allocations: 51.77 kB / 430.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.116, allocations: 123.4 kB / 431.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.1163, allocations: 258.8 kB / 431.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1163, allocations: 0 / 431.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1163, allocations: 0 / 431.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.1163, allocations: 0 / 431.3 MB, free: 0.6016 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008034/0.1171, allocations: 0.5338 MB / 431.8 MB, free: 20 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1171, allocations: 8.031 kB / 431.9 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.888e-05/0.1172, allocations: 58.72 kB / 431.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/0.1174, allocations: 44.73 kB / 432 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.1177, allocations: 248 kB / 432.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.1178, allocations: 12.81 kB / 432.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.1178, allocations: 24.33 kB / 432.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.1182, allocations: 221 kB / 432.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.1182, allocations: 4 kB / 432.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.1182, allocations: 8 kB / 432.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.1183, allocations: 4 kB / 432.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003306/0.1186, allocations: 155.9 kB / 432.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.1197, allocations: 0.7794 MB / 433.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/0.1201, allocations: 189 kB / 433.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.1204, allocations: 101.6 kB / 433.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.1204, allocations: 4.188 kB / 433.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.1204, allocations: 38.5 kB / 433.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.272e-06/0.1204, allocations: 0 / 433.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001587/0.122, allocations: 0.8652 MB / 434.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.1221, allocations: 93.09 kB / 434.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.1222, allocations: 174.8 kB / 434.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.1223, allocations: 29.7 kB / 434.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.727e-05/0.1224, allocations: 140.5 kB / 435 MB, free: 12.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.656e-05/0.1224, allocations: 103.1 kB / 435.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.154e-05/0.1225, allocations: 49.7 kB / 435.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1227, allocations: 334.8 kB / 435.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.1228, allocations: 67.97 kB / 435.6 MB, free: 12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.123, allocations: 108.7 kB / 435.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.1233, allocations: 186.3 kB / 435.8 MB, free: 11.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1233, allocations: 11.88 kB / 435.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004384/0.1238, allocations: 237.4 kB / 436.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1238, allocations: 11.94 kB / 436.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1238, allocations: 0 / 436.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1238, allocations: 4 kB / 436.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.1241, allocations: 60.06 kB / 436.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.1241, allocations: 7.938 kB / 436.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.1242, allocations: 15.98 kB / 436.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.1242, allocations: 4 kB / 436.2 MB, free: 11.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.0001331/0.1243, allocations: 145.7 kB / 436.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.1244, allocations: 19.86 kB / 436.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.003e-05/0.1245, allocations: 29.86 kB / 436.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1245, allocations: 4 kB / 436.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1245, allocations: 0 / 436.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1245, allocations: 8 kB / 436.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008524/0.1253, allocations: 0.5826 MB / 437 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1253, allocations: 4 kB / 437 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/0.1256, allocations: 59.91 kB / 437 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1256, allocations: 96 / 437 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.1256, allocations: 12 kB / 437 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.1256, allocations: 3.938 kB / 437 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1256, allocations: 7.984 kB / 437.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006687/0.1263, allocations: 489 kB / 437.5 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.87e-05/0.1264, allocations: 93.02 kB / 437.6 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.1264, allocations: 8 kB / 437.6 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.1266, allocations: 15.97 kB / 437.6 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.1266, allocations: 15.98 kB / 437.7 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.1266, allocations: 8 kB / 437.7 MB, free: 9.727 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.1268, allocations: 136.9 kB / 437.8 MB, free: 9.594 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1268, allocations: 4 kB / 437.8 MB, free: 9.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003353/0.1271, allocations: 52 kB / 437.9 MB, free: 9.539 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.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 (26): * Single equations (assignments): 26 * 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.001004/0.1281, allocations: 1.03 MB / 438.9 MB, free: 8.469 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004102/0.1285, allocations: 172.1 kB / 439.1 MB, free: 8.301 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1286, allocations: 3.938 kB / 439.1 MB, free: 8.297 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.1287, allocations: 98.56 kB / 439.2 MB, free: 8.203 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/0.1292, allocations: 41.45 kB / 439.2 MB, free: 8.164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/0.1326, allocations: 2.663 MB / 441.9 MB, free: 5.375 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.1329, allocations: 0.744 MB / 442.6 MB, free: 4.602 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.923e-05/0.133, allocations: 21.95 kB / 442.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.1331, allocations: 71.41 kB / 442.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1331, allocations: 0 / 442.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.1616, allocations: 4.489 MB / 447.2 MB, free: 156 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.3/8.461, allocations: 7.875 kB / 447.2 MB, free: 148 kB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator_res.csv --start-time 0 --stop-time 1 --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_Oscillator.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.07822704128921] Failed to read output from testmodel.py, exit status != 0: ['time', 'damper1.s_rel', 'damper1.v_rel', 'mass1.s', 'mass1.v'] 8.769672005902976 8.788694393 8.669590515 Calling exit ...