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.0009131/0.0009133, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.006963/0.006964, allocations: 170.7 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.3551/0.3551, allocations: 40 MB / 310.7 MB, free: 9.441 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.0005775/0.0005775, allocations: 12.56 kB / 379.5 MB, free: 12.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1379, allocations: 57.96 MB / 437.4 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.3302/0.4681, allocations: 62.32 MB / 499.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03309/0.5013, allocations: 12.74 MB / 0.5005 GB, free: 5.332 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0183/0.5197, allocations: 272.9 kB / 0.5007 GB, free: 5.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002699/0.5224, allocations: 0.629 MB / 0.5013 GB, free: 5.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009007/0.5314, allocations: 2.48 MB / 0.5038 GB, free: 3.969 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002901/0.5344, allocations: 0.9501 MB / 0.5047 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01871/0.5531, allocations: 10.07 MB / 0.5145 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01166/0.5648, allocations: 5.47 MB / 0.5199 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005497/0.5704, allocations: 1.789 MB / 0.5216 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00706/0.5775, allocations: 3.162 MB / 0.5247 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001615/0.5791, allocations: 221.7 kB / 0.5249 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003635/0.5828, allocations: 1.133 MB / 0.526 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003858/0.5866, allocations: 2.642 MB / 0.5286 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006602/0.5933, allocations: 2.975 MB / 0.5315 GB, free: 7.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01377/0.6071, allocations: 9.412 MB / 0.5407 GB, free: 13.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.6071, allocations: 4 kB / 0.5407 GB, free: 13.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6071, allocations: 0 / 0.5407 GB, free: 13.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004357/0.6076, allocations: 0 / 0.5407 GB, free: 13.76 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.01838/0.626, allocations: 6.02 MB / 0.5466 GB, free: 7.656 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.745e-05/0.626, allocations: 16.02 kB / 0.5466 GB, free: 7.641 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0172/0.6433, allocations: 3.939 MB / 0.5504 GB, free: 3.688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/0.6541, allocations: 4.268 MB / 0.5546 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003241/0.6545, allocations: 324.5 kB / 0.5549 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002184/0.6567, allocations: 440 kB / 0.5553 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03541/0.6921, allocations: 15.84 MB / 0.5708 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002525/0.6924, allocations: 59.44 kB / 0.5709 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007688/0.6932, allocations: 199.8 kB / 0.571 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007027/0.7002, allocations: 3.474 MB / 0.5744 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03421/0.7345, allocations: 14.96 MB / 0.589 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4517/1.186, allocations: 56.06 MB / 0.6438 GB, free: 110.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01816/1.204, allocations: 8.197 MB / 0.6518 GB, free: 109 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00699/1.212, allocations: 4.84 MB / 0.6565 GB, free: 108.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001762/1.213, allocations: 2.215 MB / 0.6587 GB, free: 106.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/1.213, allocations: 62.02 kB / 0.6587 GB, free: 106.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=367): time 8.015e-06/1.213, allocations: 0 / 0.6587 GB, free: 106.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.1198/1.333, allocations: 40.26 MB / 0.6981 GB, free: 95.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/1.333, allocations: 115.8 kB / 0.6982 GB, free: 95.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007001/1.34, allocations: 4.377 MB / 0.7024 GB, free: 93.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00135/1.342, allocations: 88.78 kB / 0.7025 GB, free: 93.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002848/1.345, allocations: 3.862 MB / 0.7063 GB, free: 90.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002856/1.348, allocations: 1.49 MB / 0.7078 GB, free: 89.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001164/1.349, allocations: 0.69 MB / 0.7084 GB, free: 89.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.362e-05/1.349, allocations: 308.4 kB / 0.7087 GB, free: 88.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005668/1.354, allocations: 4.087 MB / 0.7127 GB, free: 85.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008681/1.363, allocations: 7.907 MB / 0.7204 GB, free: 76.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01522/1.378, allocations: 12.97 MB / 0.7331 GB, free: 61.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001072/1.379, allocations: 36 kB / 0.7331 GB, free: 61.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.02769/1.406, allocations: 14.8 MB / 0.7476 GB, free: 46.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001509/1.407, allocations: 60 kB / 0.7476 GB, free: 46.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002366/1.407, allocations: 136 kB / 0.7478 GB, free: 46.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008209/1.415, allocations: 2.928 MB / 0.7506 GB, free: 43.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007186/1.422, allocations: 1.825 MB / 0.7524 GB, free: 41.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02052/1.443, allocations: 14.86 MB / 0.7669 GB, free: 26.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008514/1.451, allocations: 0.5035 MB / 0.7674 GB, free: 26.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002344/1.454, allocations: 437.5 kB / 0.7678 GB, free: 25.66 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009026/1.463, allocations: 2.911 MB / 0.7707 GB, free: 22.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002004/1.465, allocations: 466.1 kB / 0.7711 GB, free: 22.28 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02346/1.488, allocations: 10.94 MB / 0.7818 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.309e-05/1.488, allocations: 70.8 kB / 0.7819 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.61e-05/1.488, allocations: 8 kB / 0.7819 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.579e-05/1.489, allocations: 19.92 kB / 0.7819 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04266/1.531, allocations: 21.79 MB / 0.8032 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.726e-05/1.531, allocations: 8.844 kB / 0.8032 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00404/1.535, allocations: 0.6825 MB / 0.8039 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009141/1.545, allocations: 2.737 MB / 0.8065 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001101/1.546, allocations: 75.98 kB / 0.8066 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02145/1.567, allocations: 13.59 MB / 0.8199 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.598e-05/1.567, allocations: 18.56 kB / 0.8199 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3653/1.933, allocations: 15.56 MB / 0.8351 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003932/1.937, allocations: 1.181 MB / 0.8362 GB, free: 155.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00171/1.938, allocations: 84.05 kB / 0.8363 GB, free: 155.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00335/1.942, allocations: 322.5 kB / 0.8366 GB, free: 155.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008203/1.942, allocations: 262.5 kB / 0.8369 GB, free: 155 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003147/1.943, allocations: 115.7 kB / 0.837 GB, free: 155 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00481/1.948, allocations: 2.737 MB / 0.8397 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.7e-07/1.948, allocations: 3.625 kB / 0.8397 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0102/1.958, allocations: 1.7 MB / 0.8413 GB, free: 153.9 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001082/1.959, allocations: 236.2 kB / 0.8415 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.019/1.978, allocations: 10.06 MB / 0.8514 GB, free: 150.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.686e-05/1.978, allocations: 2.844 kB / 0.8514 GB, free: 150.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.008224/1.986, allocations: 4.362 MB / 0.8556 GB, free: 148.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01284/1.999, allocations: 0.6793 MB / 0.8563 GB, free: 148.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03536/2.035, allocations: 19.35 MB / 0.8752 GB, free: 138.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006855/2.042, allocations: 4.626 MB / 0.8797 GB, free: 136.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00763/2.049, allocations: 2.738 MB / 0.8824 GB, free: 136.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/2.051, allocations: 354.1 kB / 0.8827 GB, free: 136.7 MB / 0.5137 GB Notification: Performance of SimCode: time 2.235e-06/2.051, allocations: 0 / 0.8827 GB, free: 136.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.1232/2.174, allocations: 68.22 MB / 0.9493 GB, free: 78.44 MB / 0.5137 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: