Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.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.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001206, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001775/0.001775, allocations: 177.3 kB / 15.95 MB, free: 216 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.503/1.503, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.365/0.365, allocations: 40 MB / 310.4 MB, free: 9.934 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.0006414/0.0006416, allocations: 23.98 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1338, allocations: 57.95 MB / 436.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.3109/0.4448, allocations: 86.46 MB / 0.511 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04824/0.493, allocations: 19.35 MB / 0.5299 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02367/0.5168, allocations: 432.1 kB / 0.5303 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01668/0.5335, allocations: 4.368 MB / 0.5345 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04463/0.5782, allocations: 12.34 MB / 0.5466 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00644/0.5846, allocations: 1.002 MB / 0.5476 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0565/0.6412, allocations: 39.63 MB / 0.5863 GB, free: 14.53 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01175/0.653, allocations: 7.353 MB / 0.5934 GB, free: 7.137 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003843/0.6568, allocations: 1.732 MB / 0.5951 GB, free: 5.398 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003952/0.6608, allocations: 2.395 MB / 0.5975 GB, free: 2.996 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001339/0.6622, allocations: 244 kB / 0.5977 GB, free: 2.758 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003219/0.6654, allocations: 1.108 MB / 0.5988 GB, free: 1.648 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003922/0.6694, allocations: 2.77 MB / 0.6015 GB, free: 14.87 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004033/0.6734, allocations: 1.388 MB / 0.6028 GB, free: 13.47 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01206/0.6855, allocations: 9.387 MB / 0.612 GB, free: 4.062 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.6856, allocations: 0 / 0.612 GB, free: 4.062 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.536e-06/0.6856, allocations: 4 kB / 0.612 GB, free: 4.059 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004515/0.686, allocations: 0 / 0.612 GB, free: 4.059 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.0187/0.7048, allocations: 7.093 MB / 0.6189 GB, free: 12.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.7048, allocations: 8.031 kB / 0.6189 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06238/0.7672, allocations: 11.18 MB / 0.6299 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3804/1.148, allocations: 5.601 MB / 0.6353 GB, free: 144.4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002843/1.148, allocations: 391.7 kB / 0.6357 GB, free: 144.4 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001462/1.149, allocations: 0.5123 MB / 0.6362 GB, free: 144.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02369/1.173, allocations: 15.72 MB / 0.6516 GB, free: 138.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000195/1.173, allocations: 71.72 kB / 0.6516 GB, free: 138.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006925/1.174, allocations: 248.9 kB / 0.6519 GB, free: 138.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004041/1.178, allocations: 2.927 MB / 0.6547 GB, free: 137.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02709/1.205, allocations: 12.92 MB / 0.6673 GB, free: 133.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06869/1.274, allocations: 59.97 MB / 0.7259 GB, free: 85.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01211/1.286, allocations: 5.896 MB / 0.7317 GB, free: 79.37 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002569/1.286, allocations: 48.39 kB / 0.7317 GB, free: 79.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/1.286, allocations: 60.06 kB / 0.7318 GB, free: 79.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 6.823e-06/1.286, allocations: 3.75 kB / 0.7318 GB, free: 79.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=260): time 0.05356/1.34, allocations: 23.48 MB / 0.7547 GB, free: 55.56 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/1.34, allocations: 265.1 kB / 0.7549 GB, free: 55.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009338/1.35, allocations: 7.34 MB / 0.7621 GB, free: 47.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006021/1.35, allocations: 65.7 kB / 0.7622 GB, free: 47.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002741/1.353, allocations: 4.864 MB / 0.7669 GB, free: 43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001242/1.354, allocations: 0.9996 MB / 0.7679 GB, free: 42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004746/1.355, allocations: 165.2 kB / 0.7681 GB, free: 41.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003461/1.355, allocations: 0.6613 MB / 0.7687 GB, free: 41.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003906/1.359, allocations: 2.964 MB / 0.7716 GB, free: 38.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005989/1.365, allocations: 8.071 MB / 0.7795 GB, free: 27.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00593/1.371, allocations: 4.77 MB / 0.7841 GB, free: 22.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000104/1.371, allocations: 52 kB / 0.7842 GB, free: 22.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=1093) (initialization): time 0.01962/1.391, allocations: 11.53 MB / 0.7954 GB, free: 11.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/1.391, allocations: 84 kB / 0.7955 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001674/1.391, allocations: 180 kB / 0.7957 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002215/1.393, allocations: 1.023 MB / 0.7967 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006441/1.4, allocations: 2.031 MB / 0.7987 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009176/1.409, allocations: 9.59 MB / 0.808 GB, free: 13.93 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006989/1.416, allocations: 472.6 kB / 0.8085 GB, free: 13.46 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001712/1.418, allocations: 0.4961 MB / 0.809 GB, free: 12.97 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1030): * Single equations (assignments): 1024 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007021/1.425, allocations: 3.212 MB / 0.8121 GB, free: 9.742 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001305/1.426, allocations: 0.5862 MB / 0.8127 GB, free: 9.148 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008279/1.434, allocations: 4.693 MB / 0.8173 GB, free: 4.43 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.554e-05/1.434, allocations: 28 kB / 0.8173 GB, free: 4.402 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.986e-05/1.434, allocations: 8 kB / 0.8173 GB, free: 4.395 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.995e-05/1.434, allocations: 12.8 kB / 0.8173 GB, free: 4.383 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2591/1.694, allocations: 11.85 MB / 0.8289 GB, free: 139.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/1.694, allocations: 4.188 kB / 0.8289 GB, free: 139.5 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00242/1.696, allocations: 0.5069 MB / 0.8294 GB, free: 139.5 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001884/1.698, allocations: 0.722 MB / 0.8301 GB, free: 139.5 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002914/1.698, allocations: 48.92 kB / 0.8301 GB, free: 139.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007884/1.706, allocations: 8.656 MB / 0.8386 GB, free: 134.4 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.706, allocations: 3.625 kB / 0.8386 GB, free: 134.4 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/1.717, allocations: 8.216 MB / 0.8466 GB, free: 131.2 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003184/1.72, allocations: 1.036 MB / 0.8476 GB, free: 130.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001277/1.721, allocations: 41.75 kB / 0.8477 GB, free: 130.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002764/1.724, allocations: 156.3 kB / 0.8478 GB, free: 130.9 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005061/1.725, allocations: 152.8 kB / 0.848 GB, free: 130.8 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/1.725, allocations: 68.94 kB / 0.848 GB, free: 130.8 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.007393/1.732, allocations: 4.741 MB / 0.8527 GB, free: 129.2 MB / 0.4982 GB Notification: Performance of sort global known variables: time 3.01e-07/1.732, allocations: 0 / 0.8527 GB, free: 129.2 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.008468/1.741, allocations: 1.563 MB / 0.8542 GB, free: 129.1 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (215): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007555/1.742, allocations: 199.1 kB / 0.8544 GB, free: 128.9 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.0121/1.754, allocations: 7.45 MB / 0.8617 GB, free: 126.2 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.754, allocations: 2 kB / 0.8617 GB, free: 126.2 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.00349/1.757, allocations: 2.533 MB / 0.8641 GB, free: 125.1 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004237/1.761, allocations: 0.7648 MB / 0.8649 GB, free: 124.8 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03152/1.793, allocations: 17.22 MB / 0.8817 GB, free: 116.3 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009014/1.802, allocations: 5.032 MB / 0.8866 GB, free: 114.6 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.007444/1.81, allocations: 2.763 MB / 0.8893 GB, free: 114.4 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/1.811, allocations: 403.8 kB / 0.8897 GB, free: 114.4 MB / 0.4982 GB Notification: Performance of SimCode: time 1.473e-06/1.811, allocations: 0 / 0.8897 GB, free: 114.4 MB / 0.4982 GB Notification: Performance of Templates: time 0.09177/1.903, allocations: 57.34 MB / 0.9457 GB, free: 60.71 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) Environment - environmentSimulation: