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.001809/0.001809, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002277/0.002277, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 246.8 MB, free: 10.54 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.2316/0.2316, allocations: 46.12 MB / 344.2 MB, free: 11.53 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.00224/0.00224, allocations: 80.52 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.124, allocations: 62.46 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01175/0.1357, allocations: 9.569 MB / 489.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006592/0.1424, allocations: 3.23 MB / 493 MB, free: 8.258 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.1437, allocations: 51.88 kB / 493.1 MB, free: 8.207 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004899/0.1486, allocations: 2.633 MB / 495.7 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001714/0.1504, allocations: 0.6024 MB / 496.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.1518, allocations: 0.5145 MB / 496.8 MB, free: 4.445 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002057/0.1539, allocations: 1.472 MB / 498.3 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004713/0.1586, allocations: 3.24 MB / 0.4898 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001777/0.1604, allocations: 0.9504 MB / 0.4907 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002048/0.1625, allocations: 1.266 MB / 0.4919 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004994/0.163, allocations: 272 kB / 0.4922 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.1647, allocations: 0.8037 MB / 0.493 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001084/0.1658, allocations: 1.15 MB / 0.4941 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.1673, allocations: 1.345 MB / 0.4954 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004905/0.1722, allocations: 4.327 MB / 0.4996 GB, free: 5.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1722, allocations: 4 kB / 0.4996 GB, free: 5.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.1722, allocations: 0 / 0.4996 GB, free: 5.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.346e-05/0.1723, allocations: 0 / 0.4996 GB, free: 5.539 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.005642/0.178, allocations: 2.773 MB / 0.5024 GB, free: 2.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.636e-05/0.1781, allocations: 8.031 kB / 0.5024 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00073/0.1788, allocations: 418.9 kB / 0.5028 GB, free: 2.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.1801, allocations: 353.1 kB / 0.5031 GB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002432/0.1826, allocations: 1.228 MB / 0.5043 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.1828, allocations: 164.4 kB / 0.5045 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003904/0.1832, allocations: 219.9 kB / 0.5047 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1913/0.3745, allocations: 5.608 MB / 0.5101 GB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.491e-05/0.3746, allocations: 15.06 kB / 0.5102 GB, free: 38.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002302/0.3748, allocations: 97.97 kB / 0.5102 GB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001191/0.376, allocations: 0.7741 MB / 0.511 GB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/0.3878, allocations: 4.297 MB / 0.5152 GB, free: 36.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02116/0.409, allocations: 17.13 MB / 0.5319 GB, free: 24.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003771/0.4128, allocations: 1.252 MB / 0.5332 GB, free: 23.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005245/0.4133, allocations: 395 kB / 0.5335 GB, free: 23.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/0.4145, allocations: 2.145 MB / 0.5356 GB, free: 21.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.4146, allocations: 38.62 kB / 0.5357 GB, free: 21.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 2.766e-06/0.4146, allocations: 0 / 0.5357 GB, free: 21.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.01992/0.4345, allocations: 5.37 MB / 0.5409 GB, free: 16.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.4346, allocations: 64.41 kB / 0.541 GB, free: 16.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/0.4366, allocations: 1.721 MB / 0.5427 GB, free: 14.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.939e-05/0.4367, allocations: 37.7 kB / 0.5427 GB, free: 14.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006405/0.4374, allocations: 1.509 MB / 0.5442 GB, free: 13.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.4376, allocations: 398.2 kB / 0.5445 GB, free: 12.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000588/0.4382, allocations: 0.5204 MB / 0.545 GB, free: 12.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.514e-05/0.4383, allocations: 313.1 kB / 0.5453 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.4394, allocations: 0.7743 MB / 0.5461 GB, free: 11.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.441, allocations: 2.221 MB / 0.5483 GB, free: 8.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00284/0.4439, allocations: 3.279 MB / 0.5515 GB, free: 4.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.805e-05/0.4439, allocations: 16 kB / 0.5515 GB, free: 4.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.004235/0.4482, allocations: 3 MB / 0.5544 GB, free: 1.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.712e-05/0.4482, allocations: 28 kB / 0.5544 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.7e-05/0.4483, allocations: 48 kB / 0.5545 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.812e-05/0.4484, allocations: 68 kB / 0.5546 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/0.4501, allocations: 0.6011 MB / 0.5551 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.195e-05/0.4502, allocations: 106.6 kB / 0.5552 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.4517, allocations: 111.9 kB / 0.5554 GB, free: 364 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/0.4519, allocations: 156 kB / 0.5555 GB, free: 208 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.001891/0.4538, allocations: 1.129 MB / 0.5566 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003204/0.4541, allocations: 165.9 kB / 0.5568 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.4546, allocations: 208.8 kB / 0.557 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.4546, allocations: 12 kB / 0.557 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.4546, allocations: 0 / 0.557 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.4547, allocations: 7.922 kB / 0.557 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/0.4651, allocations: 6.065 MB / 0.5629 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.038e-05/0.4652, allocations: 20 kB / 0.5629 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007456/0.4659, allocations: 207.6 kB / 0.5631 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-05/0.466, allocations: 24 kB / 0.5631 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-05/0.4661, allocations: 44 kB / 0.5632 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.801e-05/0.4661, allocations: 35.86 kB / 0.5632 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-05/0.4662, allocations: 39.8 kB / 0.5633 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/0.4688, allocations: 1.684 MB / 0.5649 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005407/0.4693, allocations: 254.9 kB / 0.5651 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002827/0.4696, allocations: 47.98 kB / 0.5652 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007885/0.4704, allocations: 43.92 kB / 0.5652 GB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.4706, allocations: 131.4 kB / 0.5654 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.976e-05/0.4707, allocations: 52 kB / 0.5654 GB, free: 5.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002068/0.4727, allocations: 1.143 MB / 0.5665 GB, free: 4.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.154e-06/0.4728, allocations: 0 / 0.5665 GB, free: 4.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002256/0.475, allocations: 463.9 kB / 0.567 GB, free: 3.809 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.002953/0.478, allocations: 2.309 MB / 0.5692 GB, free: 1.207 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003695/0.4817, allocations: 1.854 MB / 0.571 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.74e-05/0.4817, allocations: 5.812 kB / 0.571 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008403/0.4826, allocations: 498 kB / 0.5715 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/0.4849, allocations: 272.3 kB / 0.5718 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0338/0.5187, allocations: 21.19 MB / 0.5925 GB, free: 6.406 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002934/0.5217, allocations: 2.077 MB / 0.5945 GB, free: 4.293 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001975/0.5237, allocations: 0.6725 MB / 0.5951 GB, free: 3.617 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/0.5251, allocations: 0.9484 MB / 0.5961 GB, free: 2.668 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5252, allocations: 0 / 0.5961 GB, free: 2.668 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08017/0.6053, allocations: 34.31 MB / 0.6296 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.272/9.878, allocations: 21.08 kB / 0.6296 GB, free: 0.5117 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1)