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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00134/0.001339, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001457/0.001457, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2361/0.2361, allocations: 46.11 MB / 344.2 MB, free: 11.59 MB / 286.1 MB 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.002324/0.002324, allocations: 81.64 kB / 417.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1274, allocations: 62.45 MB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01243/0.1399, allocations: 9.498 MB / 489.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009172/0.1491, allocations: 3.816 MB / 493.5 MB, free: 7.793 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001996/0.1512, allocations: 55.88 kB / 493.6 MB, free: 7.738 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005456/0.1567, allocations: 2.757 MB / 496.3 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005498/0.1623, allocations: 1.619 MB / 498 MB, free: 3.348 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.1643, allocations: 0.7174 MB / 498.7 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006216/0.1706, allocations: 3.88 MB / 0.4908 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004579/0.1752, allocations: 3.686 MB / 0.4944 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002392/0.1776, allocations: 1.394 MB / 0.4957 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002665/0.1803, allocations: 1.9 MB / 0.4976 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006881/0.181, allocations: 312 kB / 0.4979 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002292/0.1833, allocations: 1.178 MB / 0.499 GB, free: 6.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001885/0.1852, allocations: 1.749 MB / 0.5007 GB, free: 4.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002588/0.1878, allocations: 2.078 MB / 0.5028 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2392/0.427, allocations: 6.613 MB / 0.5092 GB, free: 21.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.516e-05/0.4271, allocations: 0 / 0.5092 GB, free: 21.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.4271, allocations: 1.156 kB / 0.5092 GB, free: 21.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000529/0.4276, allocations: 0 / 0.5092 GB, free: 21.18 MB / 382.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.01838/0.446, allocations: 4.465 MB / 0.5136 GB, free: 19.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.4461, allocations: 10.91 kB / 0.5136 GB, free: 19.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002682/0.4488, allocations: 0.6571 MB / 0.5142 GB, free: 19.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09078/0.5396, allocations: 7.035 MB / 0.5211 GB, free: 19.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008053/0.5477, allocations: 2.636 MB / 0.5237 GB, free: 18.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003483/0.5481, allocations: 218 kB / 0.5239 GB, free: 18.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002076/0.5502, allocations: 289.8 kB / 0.5242 GB, free: 18.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01807/0.5683, allocations: 8.668 MB / 0.5326 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002093/0.5685, allocations: 41.28 kB / 0.5327 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001201/0.5697, allocations: 141.8 kB / 0.5328 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002438/0.5722, allocations: 1.65 MB / 0.5344 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01302/0.5852, allocations: 7.085 MB / 0.5413 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04516/0.6305, allocations: 33.38 MB / 0.5739 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005275/0.6358, allocations: 2.378 MB / 0.5763 GB, free: 3.512 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/0.6378, allocations: 1.221 MB / 0.5775 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004314/0.6382, allocations: 332.2 kB / 0.5778 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.6383, allocations: 50.11 kB / 0.5778 GB, free: 1.859 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 4.509e-06/0.6383, allocations: 0 / 0.5778 GB, free: 1.859 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.02704/0.6653, allocations: 10.48 MB / 0.5881 GB, free: 7.289 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.6655, allocations: 200.1 kB / 0.5882 GB, free: 7.055 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005445/0.6709, allocations: 3.579 MB / 0.5917 GB, free: 3.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002532/0.6712, allocations: 45.7 kB / 0.5918 GB, free: 3.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002268/0.6735, allocations: 2.844 MB / 0.5946 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007245/0.6742, allocations: 0.5506 MB / 0.5951 GB, free: 56 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001532/0.6758, allocations: 1.063 MB / 0.5961 GB, free: 14.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.6759, allocations: 305.1 kB / 0.5964 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002875/0.6788, allocations: 1.697 MB / 0.5981 GB, free: 12.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006332/0.6851, allocations: 5.066 MB / 0.603 GB, free: 6.266 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/0.6958, allocations: 7.329 MB / 0.6102 GB, free: 13.76 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/0.696, allocations: 36 kB / 0.6102 GB, free: 13.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01533/0.7113, allocations: 6.737 MB / 0.6168 GB, free: 7.184 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.915e-05/0.7115, allocations: 56 kB / 0.6169 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001546/0.7116, allocations: 120.9 kB / 0.617 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/0.7128, allocations: 434.5 kB / 0.6174 GB, free: 6.586 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004372/0.7172, allocations: 1.209 MB / 0.6186 GB, free: 5.375 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004995/0.7222, allocations: 3.607 MB / 0.6221 GB, free: 1.641 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004228/0.7264, allocations: 279.7 kB / 0.6224 GB, free: 1.367 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009143/0.7274, allocations: 332 kB / 0.6227 GB, free: 1.043 MB / 462.1 MB 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.003677/0.7311, allocations: 1.955 MB / 0.6246 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006473/0.7317, allocations: 300.1 kB / 0.6249 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00368/0.7354, allocations: 1.886 MB / 0.6267 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.014e-05/0.7355, allocations: 16 kB / 0.6267 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.7355, allocations: 8 kB / 0.6267 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.7355, allocations: 11.97 kB / 0.6267 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.746, allocations: 5.775 MB / 0.6324 GB, free: 7.031 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.7461, allocations: 0 / 0.6324 GB, free: 7.031 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.7472, allocations: 215.7 kB / 0.6326 GB, free: 6.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008446/0.7481, allocations: 258.8 kB / 0.6328 GB, free: 6.566 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/0.7482, allocations: 27.98 kB / 0.6329 GB, free: 6.539 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003904/0.7521, allocations: 3.168 MB / 0.636 GB, free: 3.234 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.7522, allocations: 3.469 kB / 0.636 GB, free: 3.234 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006348/0.7585, allocations: 3.95 MB / 0.6398 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009133/0.7595, allocations: 345 kB / 0.6401 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004084/0.7599, allocations: 24.06 kB / 0.6402 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.7611, allocations: 79.91 kB / 0.6402 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002735/0.7613, allocations: 96.52 kB / 0.6403 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.7615, allocations: 31.98 kB / 0.6404 GB, free: 14.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003973/0.7654, allocations: 2.242 MB / 0.6426 GB, free: 12.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.7655, allocations: 0 / 0.6426 GB, free: 12.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004636/0.7701, allocations: 0.8237 MB / 0.6434 GB, free: 11.62 MB / 494.1 MB 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.006971/0.7771, allocations: 4.576 MB / 0.6478 GB, free: 7.016 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009107/0.7862, allocations: 4.599 MB / 0.6523 GB, free: 2.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.7863, allocations: 0 / 0.6523 GB, free: 2.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002211/0.7885, allocations: 1.18 MB / 0.6535 GB, free: 1.242 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002867/0.7914, allocations: 402.6 kB / 0.6539 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07007/0.8615, allocations: 41.96 MB / 0.6948 GB, free: 344 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004107/0.8657, allocations: 3.043 MB / 0.6978 GB, free: 13.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004365/0.87, allocations: 1.702 MB / 0.6995 GB, free: 11.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002705/0.8728, allocations: 1.667 MB / 0.7011 GB, free: 9.891 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/0.8728, allocations: 0 / 0.7011 GB, free: 9.891 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3447/1.217, allocations: 59.64 MB / 0.7593 GB, free: 169.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.82, allocations: 4.406 kB / 0.7593 GB, free: 169.1 MB / 0.545 GB (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.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1)