Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP.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.Joints.JointSSP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001292/0.001292, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2281/0.2281, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.003559/0.00356, allocations: 79.88 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1515, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01243/0.164, allocations: 9.58 MB / 489.8 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006628/0.1707, allocations: 3.221 MB / 493 MB, free: 8.285 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009739/0.1717, allocations: 47.94 kB / 493.1 MB, free: 8.238 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004611/0.1763, allocations: 2.644 MB / 495.7 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.1779, allocations: 0.5985 MB / 496.3 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.1791, allocations: 0.5262 MB / 496.8 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.1807, allocations: 1.461 MB / 498.3 MB, free: 2.992 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003444/0.1841, allocations: 3.24 MB / 0.4898 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.1854, allocations: 0.9582 MB / 0.4907 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.187, allocations: 1.258 MB / 0.4919 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003857/0.1874, allocations: 272 kB / 0.4922 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.1888, allocations: 0.7998 MB / 0.493 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001158/0.1899, allocations: 1.154 MB / 0.4941 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001486/0.1914, allocations: 1.352 MB / 0.4954 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004595/0.196, allocations: 4.323 MB / 0.4996 GB, free: 5.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1961, allocations: 0 / 0.4996 GB, free: 5.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1961, allocations: 0 / 0.4996 GB, free: 5.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.048e-05/0.1961, allocations: 0 / 0.4996 GB, free: 5.559 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: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.006334/0.2025, allocations: 2.765 MB / 0.5023 GB, free: 2.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.2026, allocations: 12.03 kB / 0.5024 GB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006276/0.2032, allocations: 418.9 kB / 0.5028 GB, free: 2.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.2044, allocations: 361.1 kB / 0.5031 GB, free: 1.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002659/0.2071, allocations: 1.224 MB / 0.5043 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.2073, allocations: 164.4 kB / 0.5044 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004099/0.2077, allocations: 219.9 kB / 0.5047 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1966/0.4043, allocations: 5.606 MB / 0.5101 GB, free: 38.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.343e-05/0.4044, allocations: 16.31 kB / 0.5101 GB, free: 38.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002277/0.4047, allocations: 96.14 kB / 0.5102 GB, free: 38.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001075/0.4058, allocations: 0.7848 MB / 0.511 GB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01085/0.4166, allocations: 4.287 MB / 0.5152 GB, free: 36.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0228/0.4395, allocations: 17.14 MB / 0.5319 GB, free: 24.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003775/0.4433, allocations: 1.25 MB / 0.5332 GB, free: 23.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005079/0.4438, allocations: 394.7 kB / 0.5335 GB, free: 23.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/0.445, allocations: 2.141 MB / 0.5356 GB, free: 21.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.4451, allocations: 43.62 kB / 0.5357 GB, free: 21.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 2.605e-06/0.4451, allocations: 0 / 0.5357 GB, free: 21.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.01916/0.4642, allocations: 5.357 MB / 0.5409 GB, free: 16.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.4643, allocations: 64.41 kB / 0.541 GB, free: 16.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.4661, allocations: 1.725 MB / 0.5426 GB, free: 14.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.768e-05/0.4662, allocations: 49.64 kB / 0.5427 GB, free: 14.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005801/0.4668, allocations: 1.502 MB / 0.5442 GB, free: 13.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.467, allocations: 400.7 kB / 0.5445 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005243/0.4675, allocations: 0.5243 MB / 0.545 GB, free: 12.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.174e-05/0.4676, allocations: 301.1 kB / 0.5453 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.4687, allocations: 0.7743 MB / 0.5461 GB, free: 11.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.4701, allocations: 2.225 MB / 0.5483 GB, free: 8.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002583/0.4727, allocations: 3.279 MB / 0.5515 GB, free: 4.422 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/0.4727, allocations: 12 kB / 0.5515 GB, free: 4.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.003721/0.4764, allocations: 3.011 MB / 0.5544 GB, free: 1.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.4765, allocations: 24 kB / 0.5544 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.866e-05/0.4765, allocations: 52 kB / 0.5545 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.299e-05/0.4766, allocations: 68 kB / 0.5546 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.4781, allocations: 0.5965 MB / 0.5551 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.237e-05/0.4782, allocations: 99.64 kB / 0.5552 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.4795, allocations: 124.1 kB / 0.5553 GB, free: 444 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/0.4797, allocations: 144 kB / 0.5555 GB, free: 300 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (340): * Single equations (assignments): 340 * 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.001733/0.4815, allocations: 1.129 MB / 0.5566 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.4818, allocations: 165.9 kB / 0.5567 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004051/0.4822, allocations: 208.8 kB / 0.5569 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.4822, allocations: 12 kB / 0.557 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.4822, allocations: 4 kB / 0.557 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.4823, allocations: 7.922 kB / 0.557 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009824/0.4921, allocations: 6.06 MB / 0.5629 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.814e-05/0.4922, allocations: 24.16 kB / 0.5629 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000692/0.4929, allocations: 207.7 kB / 0.5631 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.207e-05/0.4929, allocations: 31.94 kB / 0.5631 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-05/0.493, allocations: 40 kB / 0.5632 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.528e-05/0.493, allocations: 44.72 kB / 0.5632 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-05/0.493, allocations: 31.81 kB / 0.5632 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002317/0.4954, allocations: 1.679 MB / 0.5649 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004502/0.4958, allocations: 258.9 kB / 0.5651 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.496, allocations: 43.98 kB / 0.5652 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007303/0.4968, allocations: 47.92 kB / 0.5652 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.4969, allocations: 135.4 kB / 0.5654 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-05/0.497, allocations: 58.92 kB / 0.5654 GB, free: 5.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001857/0.4989, allocations: 1.139 MB / 0.5665 GB, free: 4.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4989, allocations: 0 / 0.5665 GB, free: 4.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002556/0.5014, allocations: 461.5 kB / 0.567 GB, free: 3.879 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 simulation (109): * Single equations (assignments): 109 * 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.0032/0.5047, allocations: 2.309 MB / 0.5692 GB, free: 1.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003633/0.5083, allocations: 1.86 MB / 0.571 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.494e-05/0.5083, allocations: 0 / 0.571 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008097/0.5092, allocations: 0.4912 MB / 0.5715 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.5108, allocations: 276.3 kB / 0.5718 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03147/0.5423, allocations: 21.17 MB / 0.5925 GB, free: 6.469 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002352/0.5447, allocations: 2.085 MB / 0.5945 GB, free: 4.348 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001868/0.5466, allocations: 0.6647 MB / 0.5951 GB, free: 3.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/0.5479, allocations: 0.9562 MB / 0.5961 GB, free: 2.723 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5479, allocations: 0 / 0.5961 GB, free: 2.723 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07615/0.624, allocations: 34.3 MB / 0.6296 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.165/9.789, allocations: 20.91 kB / 0.6296 GB, free: 0.5781 MB / 462.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP_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_Joints_JointSSP.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1)