Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001533/0.001533, 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.001757/0.001757, 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.537/1.537, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2384/0.2384, allocations: 46.11 MB / 344.2 MB, free: 11.6 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.002314/0.002314, allocations: 79.06 kB / 417.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1094, allocations: 62.45 MB / 480.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.01221/0.1217, allocations: 9.584 MB / 489.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007182/0.1289, allocations: 3.437 MB / 493.2 MB, free: 8.098 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.1304, allocations: 47.88 kB / 493.3 MB, free: 8.051 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005234/0.1357, allocations: 2.605 MB / 495.9 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.1375, allocations: 0.5868 MB / 496.5 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.1395, allocations: 0.7172 MB / 497.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002371/0.1419, allocations: 1.551 MB / 498.7 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004401/0.1463, allocations: 3.302 MB / 0.4903 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.1481, allocations: 0.9855 MB / 0.4912 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002261/0.1504, allocations: 1.305 MB / 0.4925 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008561/0.1513, allocations: 276 kB / 0.4928 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.1536, allocations: 1.014 MB / 0.4938 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001523/0.1552, allocations: 1.165 MB / 0.4949 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001711/0.1569, allocations: 1.364 MB / 0.4962 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004965/0.1619, allocations: 4.561 MB / 0.5007 GB, free: 4.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1619, allocations: 7.938 kB / 0.5007 GB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1619, allocations: 4 kB / 0.5007 GB, free: 4.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.815e-05/0.162, allocations: 0 / 0.5007 GB, free: 4.512 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.006584/0.1686, allocations: 2.914 MB / 0.5035 GB, free: 1.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.1687, allocations: 12.03 kB / 0.5035 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005788/0.1693, allocations: 427.1 kB / 0.504 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.1705, allocations: 361.1 kB / 0.5043 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1894/0.3599, allocations: 1.285 MB / 0.5056 GB, free: 39.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.3601, allocations: 164.8 kB / 0.5057 GB, free: 39.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005311/0.3606, allocations: 217.6 kB / 0.5059 GB, free: 39.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01271/0.3734, allocations: 6.483 MB / 0.5123 GB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.679e-05/0.3735, allocations: 13.41 kB / 0.5123 GB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002076/0.3737, allocations: 92.34 kB / 0.5124 GB, free: 37.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001127/0.3748, allocations: 0.8178 MB / 0.5132 GB, free: 37.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01231/0.3871, allocations: 5.476 MB / 0.5185 GB, free: 35.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01923/0.4064, allocations: 19.08 MB / 0.5371 GB, free: 20.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006398/0.4128, allocations: 1.828 MB / 0.5389 GB, free: 18.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007798/0.4136, allocations: 0.69 MB / 0.5396 GB, free: 18.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004746/0.4184, allocations: 4.784 MB / 0.5443 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.4185, allocations: 43.06 kB / 0.5443 GB, free: 12.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=70): time 2.294e-06/0.4185, allocations: 0 / 0.5443 GB, free: 12.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.03628/0.4547, allocations: 8.717 MB / 0.5528 GB, free: 4.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.4548, allocations: 64.41 kB / 0.5529 GB, free: 4.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.457, allocations: 1.83 MB / 0.5547 GB, free: 2.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001361/0.4572, allocations: 41.7 kB / 0.5547 GB, free: 2.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006839/0.4578, allocations: 1.524 MB / 0.5562 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003091/0.4582, allocations: 406.5 kB / 0.5566 GB, free: 268 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008367/0.459, allocations: 0.5482 MB / 0.5571 GB, free: 15.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4592, allocations: 305.1 kB / 0.5574 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.461, allocations: 1.02 MB / 0.5584 GB, free: 14.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003168/0.4642, allocations: 2.526 MB / 0.5609 GB, free: 11.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006214/0.4704, allocations: 3.815 MB / 0.5646 GB, free: 6.555 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.261e-05/0.4705, allocations: 20 kB / 0.5646 GB, free: 6.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006742/0.4773, allocations: 3.535 MB / 0.5681 GB, free: 2.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.173e-05/0.4774, allocations: 28 kB / 0.5681 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-05/0.4775, allocations: 64.83 kB / 0.5682 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.879e-05/0.4776, allocations: 71.06 kB / 0.5682 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/0.48, allocations: 0.6706 MB / 0.5689 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001202/0.4802, allocations: 100.3 kB / 0.569 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.4822, allocations: 155.7 kB / 0.5691 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003548/0.4826, allocations: 160 kB / 0.5693 GB, free: 1.758 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 240 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (352): * Single equations (assignments): 352 * 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.002116/0.4847, allocations: 1.129 MB / 0.5704 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003809/0.4851, allocations: 165.8 kB / 0.5705 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003924/0.4891, allocations: 1.761 MB / 0.5723 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.4891, allocations: 12 kB / 0.5723 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.4891, allocations: 3.938 kB / 0.5723 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/0.4891, allocations: 11.97 kB / 0.5723 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/0.5008, allocations: 5.43 MB / 0.5776 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.843e-05/0.5009, allocations: 16.06 kB / 0.5776 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009305/0.5018, allocations: 211.6 kB / 0.5778 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.25e-05/0.5019, allocations: 19.94 kB / 0.5778 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.779e-05/0.502, allocations: 32 kB / 0.5778 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-05/0.502, allocations: 23.92 kB / 0.5779 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.757e-05/0.502, allocations: 19.94 kB / 0.5779 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.5045, allocations: 1.678 MB / 0.5795 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005379/0.5051, allocations: 254.8 kB / 0.5798 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003053/0.5054, allocations: 31.98 kB / 0.5798 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008648/0.5062, allocations: 43.97 kB / 0.5798 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.5064, allocations: 108.1 kB / 0.5799 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-05/0.5065, allocations: 43.98 kB / 0.58 GB, free: 6.344 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002237/0.5088, allocations: 1.199 MB / 0.5812 GB, free: 5.152 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5088, allocations: 0 / 0.5812 GB, free: 5.152 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002406/0.5112, allocations: 0.4947 MB / 0.5816 GB, free: 4.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (111): * Single equations (assignments): 111 * 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.003429/0.5146, allocations: 2.312 MB / 0.5839 GB, free: 2.172 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004613/0.5193, allocations: 2.461 MB / 0.5863 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/0.5193, allocations: 4 kB / 0.5863 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009672/0.5203, allocations: 0.599 MB / 0.5869 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.522, allocations: 267.3 kB / 0.5871 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03847/0.5605, allocations: 22.74 MB / 0.6094 GB, free: 5.191 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002747/0.5633, allocations: 2.063 MB / 0.6114 GB, free: 3.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002213/0.5655, allocations: 0.7266 MB / 0.6121 GB, free: 2.359 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00165/0.5672, allocations: 0.964 MB / 0.613 GB, free: 1.395 MB / 446.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5672, allocations: 0 / 0.613 GB, free: 1.395 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09178/0.659, allocations: 38.39 MB / 0.6505 GB, free: 11.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.048/9.707, allocations: 3.75 kB / 0.6505 GB, free: 11.2 MB / 494.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1)