Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.001634/0.001634, allocations: 122.5 kB / 18.51 MB, free: 4.535 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.0019/0.0019, allocations: 211.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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2904/0.2904, allocations: 46.93 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002446/0.002446, allocations: 83.86 kB / 0.4917 GB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1263, allocations: 66.04 MB / 0.5562 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01327/0.1396, allocations: 10.56 MB / 0.5665 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007638/0.1472, allocations: 3.26 MB / 0.5697 GB, free: 7.664 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001819/0.149, allocations: 63.69 kB / 0.5697 GB, free: 7.602 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005264/0.1543, allocations: 2.394 MB / 0.5721 GB, free: 5.199 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004198/0.1585, allocations: 1.26 MB / 0.5733 GB, free: 3.934 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.1603, allocations: 0.5185 MB / 0.5738 GB, free: 3.414 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005112/0.1655, allocations: 2.927 MB / 0.5767 GB, free: 492 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004195/0.1696, allocations: 2.576 MB / 0.5792 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002673/0.1723, allocations: 1.289 MB / 0.5804 GB, free: 12.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003348/0.1757, allocations: 1.845 MB / 0.5822 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001077/0.1767, allocations: 296 kB / 0.5825 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00256/0.1793, allocations: 1.038 MB / 0.5835 GB, free: 9.383 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002296/0.1816, allocations: 1.62 MB / 0.5851 GB, free: 7.758 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003384/0.185, allocations: 1.965 MB / 0.587 GB, free: 5.781 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.268/0.453, allocations: 6.257 MB / 0.5931 GB, free: 14.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.453, allocations: 0.6562 kB / 0.5931 GB, free: 14.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.453, allocations: 1.406 kB / 0.5931 GB, free: 14.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002587/0.4533, allocations: 0 / 0.5931 GB, free: 14.13 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.01139/0.4647, allocations: 4.348 MB / 0.5974 GB, free: 12.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.4647, allocations: 9.562 kB / 0.5974 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002064/0.4668, allocations: 0.6956 MB / 0.5981 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007526/0.4743, allocations: 1.836 MB / 0.5999 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004785/0.4791, allocations: 1.783 MB / 0.6016 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002856/0.4794, allocations: 228.7 kB / 0.6018 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001321/0.4807, allocations: 302.5 kB / 0.6021 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02336/0.5041, allocations: 10.65 MB / 0.6125 GB, free: 8.984 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001729/0.5042, allocations: 33 kB / 0.6125 GB, free: 8.984 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001002/0.5052, allocations: 149 kB / 0.6127 GB, free: 8.918 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003658/0.5089, allocations: 2.038 MB / 0.6147 GB, free: 8.582 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01875/0.5276, allocations: 9.357 MB / 0.6238 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05079/0.5784, allocations: 37.9 MB / 0.6608 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/0.59, allocations: 4.048 MB / 0.6648 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003225/0.5932, allocations: 2.075 MB / 0.6668 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01048/0.6037, allocations: 6.1 MB / 0.6728 GB, free: 5.133 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.483e-05/0.6038, allocations: 56.75 kB / 0.6728 GB, free: 5.074 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 6.773e-06/0.6038, allocations: 0 / 0.6728 GB, free: 5.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=210): time 0.06925/0.673, allocations: 22.21 MB / 0.6945 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.7e-05/0.6731, allocations: 149.3 kB / 0.6947 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005438/0.6785, allocations: 3.383 MB / 0.698 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004519/0.679, allocations: 53.7 kB / 0.698 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002415/0.6814, allocations: 2.919 MB / 0.7009 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001177/0.6826, allocations: 0.8246 MB / 0.7017 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002433/0.685, allocations: 1.21 MB / 0.7028 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6852, allocations: 305.1 kB / 0.7031 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004191/0.6893, allocations: 2.338 MB / 0.7054 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007363/0.6967, allocations: 5.795 MB / 0.7111 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/0.7085, allocations: 8.825 MB / 0.7197 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001049/0.7086, allocations: 32 kB / 0.7197 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01771/0.7263, allocations: 8.704 MB / 0.7282 GB, free: 9.465 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.7264, allocations: 58.5 kB / 0.7283 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001554/0.7266, allocations: 124 kB / 0.7284 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003047/0.7296, allocations: 1.049 MB / 0.7294 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005032/0.7347, allocations: 1.376 MB / 0.7308 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006822/0.7415, allocations: 5.811 MB / 0.7364 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004356/0.7458, allocations: 334.9 kB / 0.7368 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/0.7469, allocations: 360 kB / 0.7371 GB, free: 92 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004072/0.751, allocations: 1.939 MB / 0.739 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008331/0.7518, allocations: 325.8 kB / 0.7393 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008619/0.7604, allocations: 3.951 MB / 0.7432 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-05/0.7605, allocations: 20 kB / 0.7432 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/0.7605, allocations: 4 kB / 0.7432 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-05/0.7606, allocations: 19.95 kB / 0.7432 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01886/0.7794, allocations: 8.811 MB / 0.7518 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-05/0.7794, allocations: 0 / 0.7518 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002083/0.7815, allocations: 351.5 kB / 0.7522 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002778/0.7843, allocations: 0.8741 MB / 0.753 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004752/0.7848, allocations: 36 kB / 0.753 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006064/0.7908, allocations: 5.13 MB / 0.7581 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.7908, allocations: 4.031 kB / 0.7581 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01216/0.803, allocations: 6.91 MB / 0.7648 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008625/0.8039, allocations: 374.7 kB / 0.7652 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005899/0.8044, allocations: 32 kB / 0.7652 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/0.8061, allocations: 127.8 kB / 0.7653 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003916/0.8065, allocations: 121.1 kB / 0.7654 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001633/0.8066, allocations: 56.42 kB / 0.7655 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003296/0.8099, allocations: 2.077 MB / 0.7675 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8099, allocations: 0 / 0.7675 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004512/0.8144, allocations: 0.9534 MB / 0.7684 GB, free: 15.59 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.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 (178): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01222/0.8266, allocations: 7.56 MB / 0.7758 GB, free: 8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01147/0.8381, allocations: 5.916 MB / 0.7816 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.8381, allocations: 4 kB / 0.7816 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005017/0.8431, allocations: 2.35 MB / 0.7839 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/0.846, allocations: 355.6 kB / 0.7842 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07984/0.9259, allocations: 44.2 MB / 0.8274 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00474/0.9306, allocations: 3.021 MB / 0.8304 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004833/0.9354, allocations: 1.856 MB / 0.8322 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003483/0.9389, allocations: 1.714 MB / 0.8338 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of SimCode: time 1.964e-06/0.9389, allocations: 0 / 0.8338 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3799/1.319, allocations: 64.7 MB / 0.897 GB, free: 206.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.72/20.04, allocations: 15.53 kB / 0.897 GB, free: 206.8 MB / 0.6544 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.28326940210536] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic1.s', 'prismatic1.v', 'sps1.s_damper', 'universal1.phi_a', 'universal1.phi_b', 'universal1.w_a', 'universal1.w_b'] 20.162828205619007 20.180568642 19.723770436 Calling exit ...