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.001356/0.001356, allocations: 117.6 kB / 17.79 MB, free: 5.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001418/0.001418, allocations: 200.7 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 247 MB, free: 10.5 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.2332/0.2332, allocations: 46.12 MB / 344.3 MB, free: 11.48 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.002217/0.002217, allocations: 83.86 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3507, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.01161/0.3624, allocations: 9.567 MB / 0.54 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007445/0.3698, allocations: 3.433 MB / 0.5433 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/0.3716, allocations: 50.81 kB / 0.5434 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005081/0.3768, allocations: 2.598 MB / 0.5459 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00213/0.3789, allocations: 0.591 MB / 0.5465 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.3808, allocations: 0.717 MB / 0.5472 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002341/0.3832, allocations: 1.568 MB / 0.5487 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003699/0.3869, allocations: 3.286 MB / 0.5519 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.3884, allocations: 0.9933 MB / 0.5529 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.3902, allocations: 1.305 MB / 0.5542 GB, free: 9.496 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004299/0.3906, allocations: 276 kB / 0.5544 GB, free: 9.227 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.3925, allocations: 1.01 MB / 0.5554 GB, free: 8.215 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001221/0.3937, allocations: 1.165 MB / 0.5565 GB, free: 7.047 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.3952, allocations: 1.368 MB / 0.5579 GB, free: 5.672 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005797/0.4011, allocations: 4.675 MB / 0.5624 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.4011, allocations: 0 / 0.5624 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4011, allocations: 0 / 0.5624 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000108/0.4012, allocations: 0 / 0.5624 GB, free: 0.9805 MB / 414.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.006717/0.4079, allocations: 2.994 MB / 0.5654 GB, free: 13.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.408, allocations: 8.031 kB / 0.5654 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005447/0.4086, allocations: 427.1 kB / 0.5658 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.4098, allocations: 378.8 kB / 0.5661 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/0.4121, allocations: 1.307 MB / 0.5674 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.4123, allocations: 164.2 kB / 0.5676 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003748/0.4126, allocations: 211.9 kB / 0.5678 GB, free: 11.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01351/0.4262, allocations: 6.5 MB / 0.5741 GB, free: 4.602 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-05/0.4263, allocations: 15.88 kB / 0.5741 GB, free: 4.586 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002325/0.4265, allocations: 95.89 kB / 0.5742 GB, free: 4.492 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001254/0.4278, allocations: 0.8046 MB / 0.575 GB, free: 3.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/0.4414, allocations: 5.473 MB / 0.5804 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02856/0.47, allocations: 19.01 MB / 0.5989 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007503/0.4775, allocations: 1.825 MB / 0.6007 GB, free: 8.852 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.4787, allocations: 0.6861 MB / 0.6014 GB, free: 8.164 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006894/0.4856, allocations: 4.801 MB / 0.6061 GB, free: 2.945 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.711e-05/0.4857, allocations: 43.12 kB / 0.6061 GB, free: 2.891 MB / 462.1 MB Notification: Performance of pre-optimization done (n=70): time 2.745e-06/0.4857, allocations: 0 / 0.6061 GB, free: 2.891 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.03963/0.5254, allocations: 8.778 MB / 0.6147 GB, free: 10.11 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/0.5255, allocations: 64.41 kB / 0.6147 GB, free: 10.04 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002962/0.5284, allocations: 1.838 MB / 0.6165 GB, free: 8.191 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001399/0.5286, allocations: 41.7 kB / 0.6166 GB, free: 8.145 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001335/0.5299, allocations: 1.578 MB / 0.6181 GB, free: 6.551 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004566/0.5304, allocations: 428.6 kB / 0.6185 GB, free: 6.129 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000852/0.5313, allocations: 0.5523 MB / 0.6191 GB, free: 5.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.5314, allocations: 305.1 kB / 0.6194 GB, free: 5.27 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00209/0.5335, allocations: 1.024 MB / 0.6204 GB, free: 4.242 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003287/0.5368, allocations: 2.529 MB / 0.6228 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005331/0.5422, allocations: 3.811 MB / 0.6265 GB, free: 12.42 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-05/0.5422, allocations: 16 kB / 0.6266 GB, free: 12.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005948/0.5482, allocations: 3.552 MB / 0.63 GB, free: 8.848 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.125e-05/0.5483, allocations: 24 kB / 0.6301 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-05/0.5483, allocations: 56.05 kB / 0.6301 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.552e-05/0.5484, allocations: 71.98 kB / 0.6302 GB, free: 8.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/0.5506, allocations: 0.6712 MB / 0.6308 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-05/0.5507, allocations: 103.6 kB / 0.6309 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.5524, allocations: 151.9 kB / 0.6311 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/0.5526, allocations: 156 kB / 0.6312 GB, free: 7.625 MB / 494.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.001744/0.5544, allocations: 1.137 MB / 0.6323 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/0.5547, allocations: 182.8 kB / 0.6325 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003123/0.5578, allocations: 1.753 MB / 0.6342 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.5578, allocations: 12 kB / 0.6342 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5578, allocations: 0 / 0.6342 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.5579, allocations: 7.969 kB / 0.6342 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009328/0.5672, allocations: 5.427 MB / 0.6395 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/0.5672, allocations: 12 kB / 0.6395 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000871/0.5681, allocations: 211.6 kB / 0.6398 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.028e-05/0.5682, allocations: 19.94 kB / 0.6398 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-05/0.5682, allocations: 35.98 kB / 0.6398 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.28e-05/0.5683, allocations: 24.45 kB / 0.6398 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.13e-05/0.5683, allocations: 19.94 kB / 0.6398 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002469/0.5708, allocations: 1.699 MB / 0.6415 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/0.5712, allocations: 263.8 kB / 0.6418 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.5714, allocations: 39.98 kB / 0.6418 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006543/0.5721, allocations: 39.92 kB / 0.6418 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.5722, allocations: 108.1 kB / 0.6419 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-05/0.5723, allocations: 40 kB / 0.642 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001724/0.5741, allocations: 1.203 MB / 0.6431 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5741, allocations: 0 / 0.6431 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002201/0.5763, allocations: 0.4921 MB / 0.6436 GB, free: 10.48 MB / 0.4981 GB 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.002888/0.5792, allocations: 2.323 MB / 0.6459 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003796/0.583, allocations: 2.227 MB / 0.6481 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.583, allocations: 4.5 kB / 0.6481 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009139/0.5839, allocations: 0.6069 MB / 0.6487 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.5853, allocations: 257.8 kB / 0.6489 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03316/0.6185, allocations: 21.16 MB / 0.6696 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/0.6209, allocations: 2.071 MB / 0.6716 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001889/0.6228, allocations: 0.7305 MB / 0.6723 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001365/0.6242, allocations: 0.9601 MB / 0.6733 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of SimCode: time 6.41e-07/0.6242, allocations: 0 / 0.6733 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07939/0.7036, allocations: 39.05 MB / 0.7114 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.7, allocations: 6.672 kB / 0.7114 GB, free: 2.789 MB / 0.5606 GB (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)