Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json 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/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 198.7 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 226.6 MB / 243.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007873/0.0007871, allocations: 101.6 kB / 295.5 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4009/0.4009, allocations: 44.82 MB / 392.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.0003212, allocations: 8 kB / 465.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3744, allocations: 62.96 MB / 0.5159 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.03411/0.4085, allocations: 43.69 MB / 0.5585 GB, free: 5.824 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02401/0.4326, allocations: 10.13 MB / 0.5684 GB, free: 14.91 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01115/0.4438, allocations: 206.8 kB / 0.5686 GB, free: 14.88 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008811/0.4526, allocations: 2.24 MB / 0.5708 GB, free: 14.07 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02267/0.4753, allocations: 6.801 MB / 0.5775 GB, free: 10.29 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005045/0.4804, allocations: 1.053 MB / 0.5785 GB, free: 9.234 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.04508/0.5255, allocations: 34.24 MB / 0.6119 GB, free: 6.953 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01049/0.5361, allocations: 6.78 MB / 0.6185 GB, free: 76 kB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003702/0.5398, allocations: 1.701 MB / 0.6202 GB, free: 14.37 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004285/0.5441, allocations: 2.676 MB / 0.6228 GB, free: 11.68 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001055/0.5452, allocations: 200 kB / 0.623 GB, free: 11.49 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004227/0.5494, allocations: 1.42 MB / 0.6244 GB, free: 10.07 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003421/0.5529, allocations: 2.279 MB / 0.6266 GB, free: 7.781 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003284/0.5562, allocations: 2.479 MB / 0.629 GB, free: 5.281 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008289/0.5645, allocations: 7.712 MB / 0.6366 GB, free: 13.55 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.5645, allocations: 0 / 0.6366 GB, free: 13.55 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5646, allocations: 4 kB / 0.6366 GB, free: 13.55 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002655/0.5648, allocations: 0 / 0.6366 GB, free: 13.55 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01181/0.5766, allocations: 5.384 MB / 0.6418 GB, free: 8.082 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.5767, allocations: 8.031 kB / 0.6418 GB, free: 8.074 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/0.5928, allocations: 2.778 MB / 0.6446 GB, free: 5.285 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007925/0.6007, allocations: 3.576 MB / 0.6481 GB, free: 1.648 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003377/0.6011, allocations: 365.9 kB / 0.6484 GB, free: 1.281 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001331/0.6025, allocations: 423.7 kB / 0.6488 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02605/0.6285, allocations: 13.85 MB / 0.6623 GB, free: 2.156 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001662/0.6287, allocations: 55.52 kB / 0.6624 GB, free: 2.102 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007364/0.6295, allocations: 203.8 kB / 0.6626 GB, free: 1.902 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003708/0.6332, allocations: 2.406 MB / 0.6649 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02463/0.6579, allocations: 11.74 MB / 0.6764 GB, free: 3.734 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3125/0.9704, allocations: 51.8 MB / 0.727 GB, free: 93.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01273/0.9832, allocations: 4.741 MB / 0.7316 GB, free: 91.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004407/0.9876, allocations: 2.951 MB / 0.7345 GB, free: 90.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01792/1.006, allocations: 12.86 MB / 0.747 GB, free: 83.06 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/1.006, allocations: 50.84 kB / 0.7471 GB, free: 83.01 MB / 490.7 MB Notification: Performance of pre-optimization done (n=197): time 5.891e-06/1.006, allocations: 0 / 0.7471 GB, free: 83.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=248): time 0.1355/1.141, allocations: 43.3 MB / 0.7894 GB, free: 42.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/1.141, allocations: 235.6 kB / 0.7896 GB, free: 42.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007254/1.149, allocations: 4.743 MB / 0.7942 GB, free: 37.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005634/1.149, allocations: 61.7 kB / 0.7943 GB, free: 37.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001862/1.151, allocations: 3.837 MB / 0.798 GB, free: 33.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009318/1.152, allocations: 0.9372 MB / 0.799 GB, free: 32.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003993/1.152, allocations: 152 kB / 0.7991 GB, free: 32.74 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000269/1.153, allocations: 0.6084 MB / 0.7997 GB, free: 32.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004201/1.157, allocations: 3.415 MB / 0.803 GB, free: 28.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005711/1.163, allocations: 7.678 MB / 0.8105 GB, free: 18.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/1.174, allocations: 11.84 MB / 0.8221 GB, free: 5.016 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.305e-05/1.174, allocations: 40 kB / 0.8221 GB, free: 4.977 MB / 490.7 MB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02843/1.202, allocations: 14.43 MB / 0.8362 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/1.202, allocations: 71.94 kB / 0.8363 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001868/1.203, allocations: 148 kB / 0.8364 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01188/1.214, allocations: 4.029 MB / 0.8404 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005283/1.22, allocations: 1.634 MB / 0.842 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0276/1.247, allocations: 18.67 MB / 0.8602 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005881/1.253, allocations: 447.4 kB / 0.8606 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001079/1.254, allocations: 447 kB / 0.861 GB, free: 12.96 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (884): * Single equations (assignments): 880 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004689/1.259, allocations: 2.653 MB / 0.8636 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008742/1.26, allocations: 426.5 kB / 0.864 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01846/1.278, allocations: 8.625 MB / 0.8725 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.638e-05/1.279, allocations: 31.94 kB / 0.8725 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-05/1.279, allocations: 12 kB / 0.8725 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-05/1.279, allocations: 11.95 kB / 0.8725 GB, free: 1.176 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2557/1.534, allocations: 17.88 MB / 0.89 GB, free: 177.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-05/1.534, allocations: 1.25 kB / 0.89 GB, free: 177.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00201/1.536, allocations: 402.4 kB / 0.8904 GB, free: 177.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01095/1.547, allocations: 4.075 MB / 0.8943 GB, free: 177.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003927/1.548, allocations: 47.12 kB / 0.8944 GB, free: 177.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02169/1.569, allocations: 17.09 MB / 0.9111 GB, free: 171.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.569, allocations: 2.859 kB / 0.9111 GB, free: 171.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02259/1.592, allocations: 13.2 MB / 0.924 GB, free: 166.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/1.593, allocations: 469.8 kB / 0.9244 GB, free: 166.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006957/1.594, allocations: 43.34 kB / 0.9245 GB, free: 166.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002066/1.596, allocations: 215.5 kB / 0.9247 GB, free: 166.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005588/1.597, allocations: 150.5 kB / 0.9248 GB, free: 166.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002192/1.597, allocations: 69.83 kB / 0.9249 GB, free: 166.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003844/1.601, allocations: 2.952 MB / 0.9278 GB, free: 165.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.102e-06/1.601, allocations: 0 / 0.9278 GB, free: 165.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005483/1.606, allocations: 1.494 MB / 0.9292 GB, free: 165.4 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (173): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005813/1.607, allocations: 216.8 kB / 0.9294 GB, free: 165.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01075/1.618, allocations: 8.23 MB / 0.9375 GB, free: 162.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.618, allocations: 7.219 kB / 0.9375 GB, free: 162.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003778/1.621, allocations: 3.105 MB / 0.9405 GB, free: 160.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/1.625, allocations: 0.5041 MB / 0.941 GB, free: 160.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01907/1.644, allocations: 15.64 MB / 0.9563 GB, free: 145.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003714/1.648, allocations: 4.083 MB / 0.9603 GB, free: 141.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/1.649, allocations: 335.4 kB / 0.9606 GB, free: 140.8 MB / 0.5417 GB Notification: Performance of SimCode: time 1.012e-06/1.649, allocations: 4 kB / 0.9606 GB, free: 140.8 MB / 0.5417 GB Notification: Performance of Templates: time 0.1095/1.758, allocations: 100.2 MB / 1.058 GB, free: 40.64 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUSP2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)