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.001395/0.001395, allocations: 103.8 kB / 17.63 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 210.4 kB / 18.58 MB, free: 4.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2331/0.2331, allocations: 46.12 MB / 344.2 MB, free: 11.57 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.002245/0.002245, allocations: 76.33 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1177, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.01153/0.1292, allocations: 9.58 MB / 489.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006466/0.1357, allocations: 3.433 MB / 493.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008558/0.1366, allocations: 51.88 kB / 493.3 MB, free: 8.023 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004732/0.1414, allocations: 2.598 MB / 495.9 MB, free: 5.418 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.1428, allocations: 0.5907 MB / 496.5 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.1445, allocations: 0.7172 MB / 497.2 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001833/0.1463, allocations: 1.558 MB / 498.7 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003615/0.15, allocations: 3.298 MB / 0.4903 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.1512, allocations: 0.9895 MB / 0.4912 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.1528, allocations: 1.309 MB / 0.4925 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000415/0.1533, allocations: 280 kB / 0.4928 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.155, allocations: 1.006 MB / 0.4938 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.1562, allocations: 1.169 MB / 0.4949 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001418/0.1576, allocations: 1.36 MB / 0.4962 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004702/0.1623, allocations: 4.557 MB / 0.5007 GB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1623, allocations: 0 / 0.5007 GB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1623, allocations: 3.938 kB / 0.5007 GB, free: 4.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.782e-05/0.1624, allocations: 4 kB / 0.5007 GB, free: 4.492 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.006306/0.1687, allocations: 2.918 MB / 0.5035 GB, free: 1.512 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1688, allocations: 8.031 kB / 0.5035 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000557/0.1694, allocations: 435 kB / 0.504 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.1707, allocations: 361.1 kB / 0.5043 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1798/0.3504, allocations: 1.286 MB / 0.5056 GB, free: 39.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.3506, allocations: 160.3 kB / 0.5057 GB, free: 39.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004414/0.351, allocations: 218.7 kB / 0.5059 GB, free: 39.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01302/0.3641, allocations: 6.482 MB / 0.5123 GB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.418e-05/0.3642, allocations: 13.56 kB / 0.5123 GB, free: 37.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002145/0.3644, allocations: 94.72 kB / 0.5124 GB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001066/0.3655, allocations: 0.8179 MB / 0.5132 GB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01401/0.3795, allocations: 5.474 MB / 0.5185 GB, free: 35.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01912/0.3986, allocations: 19.08 MB / 0.5371 GB, free: 20.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006573/0.4052, allocations: 1.824 MB / 0.5389 GB, free: 18.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007414/0.406, allocations: 0.6861 MB / 0.5396 GB, free: 18.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00464/0.4107, allocations: 4.795 MB / 0.5443 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.4107, allocations: 45 kB / 0.5443 GB, free: 12.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=70): time 3.076e-06/0.4107, allocations: 0 / 0.5443 GB, free: 12.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.03629/0.447, allocations: 8.708 MB / 0.5528 GB, free: 4.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.4471, allocations: 64.41 kB / 0.5529 GB, free: 4.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.449, allocations: 1.826 MB / 0.5547 GB, free: 2.215 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-05/0.4491, allocations: 45.7 kB / 0.5547 GB, free: 2.164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005872/0.4497, allocations: 1.524 MB / 0.5562 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/0.45, allocations: 410.5 kB / 0.5566 GB, free: 216 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007883/0.4508, allocations: 0.5482 MB / 0.5571 GB, free: 15.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.4509, allocations: 301.1 kB / 0.5574 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.4526, allocations: 1.028 MB / 0.5584 GB, free: 14.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003055/0.4557, allocations: 2.522 MB / 0.5609 GB, free: 11.06 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004983/0.4607, allocations: 3.819 MB / 0.5646 GB, free: 6.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.764e-05/0.4608, allocations: 19.56 kB / 0.5646 GB, free: 6.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005905/0.4667, allocations: 3.543 MB / 0.5681 GB, free: 2.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.4667, allocations: 28 kB / 0.5681 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.737e-05/0.4668, allocations: 52 kB / 0.5682 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.073e-05/0.4669, allocations: 72 kB / 0.5682 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/0.4692, allocations: 0.6751 MB / 0.5689 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.865e-05/0.4693, allocations: 103.6 kB / 0.569 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.471, allocations: 155.8 kB / 0.5691 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002246/0.4713, allocations: 156 kB / 0.5693 GB, free: 1.703 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.001796/0.4731, allocations: 1.133 MB / 0.5704 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/0.4734, allocations: 173.8 kB / 0.5705 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003092/0.4765, allocations: 1.749 MB / 0.5723 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.4765, allocations: 12 kB / 0.5723 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4765, allocations: 3.938 kB / 0.5723 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.4766, allocations: 7.969 kB / 0.5723 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009653/0.4862, allocations: 5.433 MB / 0.5776 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/0.4863, allocations: 16.92 kB / 0.5776 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008797/0.4872, allocations: 207.6 kB / 0.5778 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.513e-05/0.4872, allocations: 24 kB / 0.5778 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.282e-05/0.4873, allocations: 32 kB / 0.5779 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.463e-05/0.4873, allocations: 27.86 kB / 0.5779 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.508e-05/0.4873, allocations: 15.94 kB / 0.5779 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/0.4898, allocations: 1.693 MB / 0.5795 GB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004718/0.4902, allocations: 246.9 kB / 0.5798 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.4905, allocations: 31.98 kB / 0.5798 GB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006797/0.4911, allocations: 39.98 kB / 0.5799 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.4913, allocations: 100.2 kB / 0.5799 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.357e-05/0.4914, allocations: 43.94 kB / 0.58 GB, free: 6.293 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001816/0.4932, allocations: 1.203 MB / 0.5812 GB, free: 5.098 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4932, allocations: 0 / 0.5812 GB, free: 5.098 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002136/0.4954, allocations: 0.4947 MB / 0.5816 GB, free: 4.605 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.002897/0.4983, allocations: 2.308 MB / 0.5839 GB, free: 2.121 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004199/0.5025, allocations: 2.459 MB / 0.5863 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/0.5025, allocations: 4 kB / 0.5863 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009326/0.5035, allocations: 0.6029 MB / 0.5869 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.5049, allocations: 269.9 kB / 0.5872 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03618/0.5411, allocations: 22.73 MB / 0.6094 GB, free: 5.148 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003594/0.5447, allocations: 2.078 MB / 0.6114 GB, free: 3.031 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002523/0.5473, allocations: 0.7199 MB / 0.6121 GB, free: 2.309 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002001/0.5493, allocations: 0.964 MB / 0.613 GB, free: 1.344 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5494, allocations: 4 kB / 0.613 GB, free: 1.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08037/0.6297, allocations: 38.39 MB / 0.6505 GB, free: 11.14 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.254/9.884, allocations: 5.719 kB / 0.6505 GB, free: 11.14 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR_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_JointSSR.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1)