Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.001416/0.001416, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002401/0.002401, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.443/1.443, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2282/0.2282, allocations: 46.94 MB / 361.6 MB, free: 4.215 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.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",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.002313/0.002313, allocations: 80.2 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3109, allocations: 66.09 MB / 0.5615 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01131/0.3222, allocations: 9.565 MB / 0.5709 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007861/0.33, allocations: 3.885 MB / 0.5747 GB, free: 6.691 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.3314, allocations: 63.69 kB / 0.5747 GB, free: 6.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004979/0.3364, allocations: 2.8 MB / 0.5774 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004195/0.3406, allocations: 1.662 MB / 0.5791 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.3422, allocations: 0.7252 MB / 0.5798 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005348/0.3476, allocations: 3.884 MB / 0.5836 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003377/0.3509, allocations: 2.764 MB / 0.5863 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002181/0.3531, allocations: 1.433 MB / 0.5877 GB, free: 9.266 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003089/0.3562, allocations: 2.044 MB / 0.5897 GB, free: 7.215 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006869/0.3569, allocations: 312 kB / 0.59 GB, free: 6.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/0.3591, allocations: 1.229 MB / 0.5912 GB, free: 5.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001783/0.3609, allocations: 1.788 MB / 0.5929 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002663/0.3635, allocations: 2.086 MB / 0.5949 GB, free: 1.789 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008462/0.372, allocations: 6.864 MB / 0.6017 GB, free: 10.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.372, allocations: 3.938 kB / 0.6017 GB, free: 10.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.372, allocations: 0 / 0.6017 GB, free: 10.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001865/0.3722, allocations: 0 / 0.6017 GB, free: 10.89 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: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.01065/0.3828, allocations: 4.512 MB / 0.6061 GB, free: 6.328 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3829, allocations: 8.031 kB / 0.6061 GB, free: 6.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00109/0.384, allocations: 0.6574 MB / 0.6067 GB, free: 5.652 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07348/0.4575, allocations: 7.059 MB / 0.6136 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006302/0.4638, allocations: 2.612 MB / 0.6162 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.4639, allocations: 218 kB / 0.6164 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006948/0.4646, allocations: 299.8 kB / 0.6166 GB, free: 11.4 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01335/0.478, allocations: 8.665 MB / 0.6251 GB, free: 2.094 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001001/0.4781, allocations: 39.69 kB / 0.6251 GB, free: 2.055 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003366/0.4784, allocations: 139.9 kB / 0.6253 GB, free: 1.918 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002567/0.481, allocations: 1.653 MB / 0.6269 GB, free: 268 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01269/0.4937, allocations: 7.086 MB / 0.6338 GB, free: 9.168 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03936/0.5331, allocations: 33.14 MB / 0.6662 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004459/0.5375, allocations: 1.832 MB / 0.668 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/0.5392, allocations: 1.121 MB / 0.6691 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/0.5394, allocations: 100.4 kB / 0.6692 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.5395, allocations: 51 kB / 0.6692 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 3.567e-06/0.5395, allocations: 0 / 0.6692 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.02466/0.5641, allocations: 10.53 MB / 0.6795 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.5642, allocations: 192.7 kB / 0.6797 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004732/0.569, allocations: 3.596 MB / 0.6832 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002021/0.5692, allocations: 53.7 kB / 0.6832 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002272/0.5714, allocations: 2.956 MB / 0.6861 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000613/0.572, allocations: 0.5738 MB / 0.6867 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001302/0.5734, allocations: 1.076 MB / 0.6877 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5735, allocations: 301.1 kB / 0.688 GB, free: 444 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00266/0.5761, allocations: 1.704 MB / 0.6897 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005349/0.5815, allocations: 5.064 MB / 0.6946 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008968/0.5905, allocations: 7.345 MB / 0.7018 GB, free: 14.94 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.259e-05/0.5905, allocations: 32 kB / 0.7018 GB, free: 14.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01204/0.6026, allocations: 6.754 MB / 0.7084 GB, free: 8.145 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.257e-05/0.6027, allocations: 59.94 kB / 0.7085 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/0.6028, allocations: 120 kB / 0.7086 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009692/0.6038, allocations: 425 kB / 0.709 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003448/0.6072, allocations: 1.209 MB / 0.7102 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004499/0.6117, allocations: 3.479 MB / 0.7136 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003579/0.6153, allocations: 291.7 kB / 0.7139 GB, free: 2.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007277/0.616, allocations: 332 kB / 0.7142 GB, free: 2.141 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (644): * Single equations (assignments): 640 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003057/0.6191, allocations: 1.96 MB / 0.7161 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005764/0.6196, allocations: 314.1 kB / 0.7164 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003519/0.6232, allocations: 1.874 MB / 0.7182 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.812e-05/0.6232, allocations: 16 kB / 0.7182 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-05/0.6232, allocations: 4 kB / 0.7182 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.6232, allocations: 7.984 kB / 0.7182 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009889/0.6331, allocations: 5.741 MB / 0.7238 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.6331, allocations: 4 kB / 0.7238 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.6341, allocations: 215.7 kB / 0.7241 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007062/0.6348, allocations: 252.6 kB / 0.7243 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.39e-05/0.6349, allocations: 23.98 kB / 0.7243 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003757/0.6387, allocations: 3.078 MB / 0.7273 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.6387, allocations: 3.938 kB / 0.7273 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005943/0.6446, allocations: 3.97 MB / 0.7312 GB, free: 472 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006885/0.6453, allocations: 281.7 kB / 0.7315 GB, free: 188 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002819/0.6456, allocations: 24 kB / 0.7315 GB, free: 164 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000984/0.6466, allocations: 67.92 kB / 0.7316 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2369/0.8835, allocations: 103 kB / 0.7317 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003549/0.8838, allocations: 36.02 kB / 0.7317 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004704/0.8885, allocations: 2.244 MB / 0.7339 GB, free: 152 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.8885, allocations: 0 / 0.7339 GB, free: 152 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00427/0.8928, allocations: 0.8203 MB / 0.7347 GB, free: 152 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * 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 (107): * Single equations (assignments): 103 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005137/0.8979, allocations: 4.584 MB / 0.7392 GB, free: 150 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005412/0.9034, allocations: 3.956 MB / 0.743 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.9034, allocations: 0 / 0.743 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.9047, allocations: 1.113 MB / 0.7441 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.9066, allocations: 394.2 kB / 0.7445 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03792/0.9445, allocations: 38 MB / 0.7816 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002231/0.9467, allocations: 3.034 MB / 0.7846 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003002/0.9497, allocations: 1.702 MB / 0.7862 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001541/0.9513, allocations: 1.667 MB / 0.7878 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.183e-06/0.9513, allocations: 0 / 0.7878 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09242/1.044, allocations: 61.08 MB / 0.8475 GB, free: 42.62 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.62/23.67, allocations: 3.781 kB / 0.8475 GB, free: 42.62 MB / 0.5606 GB " [Timeout remaining time 636] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.62268273672089] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 23.790119029115885 23.800942729 23.426419529 Calling exit ...