Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 87.11 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.4 MB / 222.1 MB, free: 5.398 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4012/0.4012, allocations: 40 MB / 310.4 MB, free: 9.781 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006296/0.0006297, allocations: 20 kB / 378.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1718, allocations: 57.96 MB / 436.8 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.352/0.5239, allocations: 57.96 MB / 494.8 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03433/0.5583, allocations: 12.19 MB / 0.4951 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01521/0.5736, allocations: 267.8 kB / 0.4953 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01184/0.5855, allocations: 2.887 MB / 0.4981 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03106/0.6166, allocations: 8.637 MB / 0.5066 GB, free: 4.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005176/0.6218, allocations: 0.9075 MB / 0.5075 GB, free: 4.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03357/0.6554, allocations: 22.05 MB / 0.529 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01124/0.6667, allocations: 5.022 MB / 0.5339 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006236/0.6729, allocations: 1.907 MB / 0.5358 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00682/0.6798, allocations: 3.131 MB / 0.5388 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002129/0.682, allocations: 220 kB / 0.539 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003896/0.6859, allocations: 0.9792 MB / 0.54 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004656/0.6906, allocations: 2.599 MB / 0.5425 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002671/0.6933, allocations: 1.189 MB / 0.5437 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.7058, allocations: 7.712 MB / 0.5512 GB, free: 2.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.108e-05/0.7059, allocations: 0 / 0.5512 GB, free: 2.629 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.7059, allocations: 4 kB / 0.5512 GB, free: 2.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004485/0.7064, allocations: 4 kB / 0.5512 GB, free: 2.621 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: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.01649/0.7229, allocations: 6.103 MB / 0.5572 GB, free: 12.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.7229, allocations: 12.03 kB / 0.5572 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01533/0.7383, allocations: 3.938 MB / 0.561 GB, free: 8.473 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01023/0.7486, allocations: 4.196 MB / 0.5651 GB, free: 4.219 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003913/0.749, allocations: 328.2 kB / 0.5655 GB, free: 3.895 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002892/0.7519, allocations: 435.6 kB / 0.5659 GB, free: 3.469 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03513/0.7871, allocations: 15.8 MB / 0.5813 GB, free: 2.934 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004842/0.7876, allocations: 63.39 kB / 0.5814 GB, free: 2.871 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002531/0.7902, allocations: 199.8 kB / 0.5816 GB, free: 2.676 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007244/0.7974, allocations: 3.482 MB / 0.585 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03927/0.8367, allocations: 14.89 MB / 0.5995 GB, free: 292 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4564/1.293, allocations: 56.04 MB / 0.6542 GB, free: 109.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01712/1.31, allocations: 8.184 MB / 0.6622 GB, free: 108.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006372/1.317, allocations: 4.825 MB / 0.6669 GB, free: 107.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001774/1.319, allocations: 2.211 MB / 0.6691 GB, free: 105.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.371e-05/1.319, allocations: 65.52 kB / 0.6692 GB, free: 105.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=367): time 8.966e-06/1.319, allocations: 0 / 0.6692 GB, free: 105.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.1311/1.45, allocations: 40.19 MB / 0.7084 GB, free: 94.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/1.45, allocations: 119.5 kB / 0.7085 GB, free: 94.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00971/1.46, allocations: 4.338 MB / 0.7128 GB, free: 92.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001381/1.461, allocations: 88.02 kB / 0.7128 GB, free: 92.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002651/1.464, allocations: 3.87 MB / 0.7166 GB, free: 89.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002424/1.466, allocations: 1.488 MB / 0.7181 GB, free: 88.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006782/1.467, allocations: 154.3 kB / 0.7182 GB, free: 87.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004258/1.467, allocations: 0.6449 MB / 0.7188 GB, free: 87.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005975/1.473, allocations: 4.054 MB / 0.7228 GB, free: 83.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008477/1.482, allocations: 7.888 MB / 0.7305 GB, free: 73.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008685/1.491, allocations: 5.611 MB / 0.736 GB, free: 68.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001778/1.491, allocations: 42.02 kB / 0.736 GB, free: 68.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.03303/1.524, allocations: 14.73 MB / 0.7504 GB, free: 53.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002761/1.524, allocations: 67.95 kB / 0.7505 GB, free: 53.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000341/1.525, allocations: 131.9 kB / 0.7506 GB, free: 53.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008249/1.533, allocations: 2.963 MB / 0.7535 GB, free: 50.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008101/1.541, allocations: 1.829 MB / 0.7553 GB, free: 48.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01972/1.561, allocations: 14.8 MB / 0.7697 GB, free: 33.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008617/1.569, allocations: 0.5074 MB / 0.7702 GB, free: 32.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002813/1.572, allocations: 435.2 kB / 0.7707 GB, free: 32.39 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 592 * Number of states: 0 () * Number of discrete variables: 48 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (951): * Single equations (assignments): 943 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008881/1.581, allocations: 2.908 MB / 0.7735 GB, free: 29.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002703/1.584, allocations: 470 kB / 0.7739 GB, free: 29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0233/1.607, allocations: 10.91 MB / 0.7846 GB, free: 18.03 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001375/1.607, allocations: 56 kB / 0.7846 GB, free: 17.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.084e-05/1.608, allocations: 12 kB / 0.7847 GB, free: 17.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001529/1.608, allocations: 21.48 kB / 0.7847 GB, free: 17.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05442/1.662, allocations: 21.75 MB / 0.8059 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-05/1.662, allocations: 18.22 kB / 0.8059 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004056/1.666, allocations: 0.6786 MB / 0.8066 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008601/1.675, allocations: 2.732 MB / 0.8093 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001408/1.676, allocations: 83.11 kB / 0.8093 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4014/2.078, allocations: 13.56 MB / 0.8226 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/2.078, allocations: 18.78 kB / 0.8226 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02908/2.107, allocations: 15.53 MB / 0.8378 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004502/2.112, allocations: 1.184 MB / 0.8389 GB, free: 136.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001977/2.114, allocations: 79.62 kB / 0.839 GB, free: 136.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00353/2.117, allocations: 311.5 kB / 0.8393 GB, free: 136.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008692/2.118, allocations: 263.9 kB / 0.8396 GB, free: 136.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003591/2.118, allocations: 119.3 kB / 0.8397 GB, free: 136.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005079/2.123, allocations: 2.7 MB / 0.8423 GB, free: 135.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.21e-07/2.123, allocations: 0 / 0.8423 GB, free: 135.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01184/2.135, allocations: 1.693 MB / 0.844 GB, free: 135 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00154/2.137, allocations: 231.1 kB / 0.8442 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02165/2.159, allocations: 10.05 MB / 0.854 GB, free: 131.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.082e-05/2.159, allocations: 1.906 kB / 0.854 GB, free: 131.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01122/2.17, allocations: 4.357 MB / 0.8582 GB, free: 129.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01033/2.18, allocations: 0.6818 MB / 0.8589 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04745/2.228, allocations: 18.66 MB / 0.8771 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01055/2.238, allocations: 4.632 MB / 0.8817 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.008787/2.247, allocations: 2.741 MB / 0.8843 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00233/2.25, allocations: 350.3 kB / 0.8847 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.182e-06/2.25, allocations: 0 / 0.8847 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.1243/2.374, allocations: 66.67 MB / 0.9498 GB, free: 55.66 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) Environment - environmentSimulation: