Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006257/0.006257, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001338/0.001338, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.549/1.549, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.3674/0.3674, allocations: 39.94 MB / 309.8 MB, free: 9.617 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.001466/0.001466, allocations: 68.23 kB / 435.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3981, allocations: 56.88 MB / 492.7 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.023/0.4212, allocations: 19.85 MB / 0.5005 GB, free: 5.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01679/0.438, allocations: 5.941 MB / 0.5063 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007388/0.4455, allocations: 139.8 kB / 0.5065 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01463/0.4602, allocations: 6.376 MB / 0.5127 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01328/0.4735, allocations: 3.229 MB / 0.5158 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005291/0.4789, allocations: 1.596 MB / 0.5174 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01874/0.4976, allocations: 9.597 MB / 0.5268 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01506/0.5127, allocations: 8.247 MB / 0.5348 GB, free: 9.184 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008608/0.5214, allocations: 3.361 MB / 0.5381 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00931/0.5307, allocations: 4.635 MB / 0.5426 GB, free: 1.164 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003621/0.5344, allocations: 0.75 MB / 0.5434 GB, free: 424 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007154/0.5415, allocations: 1.748 MB / 0.5451 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007472/0.5491, allocations: 4.189 MB / 0.5492 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01296/0.5621, allocations: 4.65 MB / 0.5537 GB, free: 5.789 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02654/0.5886, allocations: 14.42 MB / 0.5678 GB, free: 7.316 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.5887, allocations: 3.938 kB / 0.5678 GB, free: 7.312 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5887, allocations: 0 / 0.5678 GB, free: 7.312 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007256/0.5894, allocations: 0 / 0.5678 GB, free: 7.312 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.03679/0.6262, allocations: 9.76 MB / 0.5773 GB, free: 13.46 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.6263, allocations: 15.89 kB / 0.5773 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02165/0.648, allocations: 3.679 MB / 0.5809 GB, free: 9.746 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01837/0.6664, allocations: 6.569 MB / 0.5874 GB, free: 3.098 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004663/0.6669, allocations: 480.8 kB / 0.5878 GB, free: 2.625 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002629/0.6695, allocations: 0.6441 MB / 0.5884 GB, free: 1.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03813/0.7077, allocations: 19.13 MB / 0.6071 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003714/0.7081, allocations: 87.2 kB / 0.6072 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001123/0.7092, allocations: 295.8 kB / 0.6075 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006021/0.7152, allocations: 3.418 MB / 0.6108 GB, free: 9.914 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03664/0.7519, allocations: 16.17 MB / 0.6266 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6767/1.429, allocations: 70.21 MB / 0.6952 GB, free: 70.57 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02101/1.45, allocations: 8.493 MB / 0.7035 GB, free: 66.11 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005196/1.455, allocations: 4.52 MB / 0.7079 GB, free: 63.68 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006059/1.456, allocations: 0.6611 MB / 0.7085 GB, free: 63.05 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/1.456, allocations: 74.38 kB / 0.7086 GB, free: 62.98 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=307): time 5.17e-06/1.456, allocations: 3.938 kB / 0.7086 GB, free: 62.98 MB / 0.4982 GB Notification: Performance of matching and sorting (n=331): time 0.0844/1.54, allocations: 35 MB / 0.7428 GB, free: 32.43 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.006e-05/1.54, allocations: 299.6 kB / 0.7431 GB, free: 32.07 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009215/1.549, allocations: 7.634 MB / 0.7505 GB, free: 24.46 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0009157/1.55, allocations: 77.7 kB / 0.7506 GB, free: 24.38 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002641/1.553, allocations: 5.501 MB / 0.756 GB, free: 18.89 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001661/1.555, allocations: 1.256 MB / 0.7572 GB, free: 17.64 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002567/1.557, allocations: 2.034 MB / 0.7592 GB, free: 15.6 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 7.026e-05/1.557, allocations: 305.1 kB / 0.7595 GB, free: 15.3 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004821/1.562, allocations: 4.048 MB / 0.7634 GB, free: 11.24 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007916/1.57, allocations: 9.583 MB / 0.7728 GB, free: 14.95 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02055/1.591, allocations: 14.54 MB / 0.787 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001634/1.591, allocations: 56 kB / 0.787 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.03141/1.622, allocations: 15.47 MB / 0.8022 GB, free: 14.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002201/1.623, allocations: 88 kB / 0.8022 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003274/1.623, allocations: 192 kB / 0.8024 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006476/1.629, allocations: 2.306 MB / 0.8047 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008646/1.638, allocations: 2.347 MB / 0.807 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0211/1.659, allocations: 16.49 MB / 0.8231 GB, free: 8.203 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009995/1.669, allocations: 0.5656 MB / 0.8236 GB, free: 7.637 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002591/1.672, allocations: 0.5625 MB / 0.8242 GB, free: 7.074 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 877 * Number of states: 0 () * Number of discrete variables: 66 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.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],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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 (1220): * Single equations (assignments): 1213 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,13,100.0%), (2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00962/1.681, allocations: 3.747 MB / 0.8278 GB, free: 3.316 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002555/1.684, allocations: 0.644 MB / 0.8285 GB, free: 2.664 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0169/1.701, allocations: 7.885 MB / 0.8362 GB, free: 10.75 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-05/1.701, allocations: 36 kB / 0.8362 GB, free: 10.71 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.363e-05/1.701, allocations: 8 kB / 0.8362 GB, free: 10.7 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-05/1.701, allocations: 15.94 kB / 0.8362 GB, free: 10.69 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04276/1.744, allocations: 16.92 MB / 0.8527 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.01e-05/1.744, allocations: 0 / 0.8527 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00329/1.747, allocations: 0.6006 MB / 0.8533 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005793/1.753, allocations: 1.97 MB / 0.8552 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000549/1.754, allocations: 59.98 kB / 0.8553 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3849/2.139, allocations: 15.32 MB / 0.8703 GB, free: 193 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/2.139, allocations: 3.5 kB / 0.8703 GB, free: 193 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02355/2.162, allocations: 12.25 MB / 0.8822 GB, free: 188.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004984/2.167, allocations: 1.254 MB / 0.8835 GB, free: 188.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002522/2.17, allocations: 56.88 kB / 0.8835 GB, free: 188.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005457/2.175, allocations: 233.8 kB / 0.8837 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001405/2.177, allocations: 194.2 kB / 0.8839 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000401/2.177, allocations: 89.98 kB / 0.884 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.016/2.193, allocations: 4.885 MB / 0.8888 GB, free: 186.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.62e-07/2.193, allocations: 1.125 kB / 0.8888 GB, free: 186.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01861/2.212, allocations: 1.959 MB / 0.8907 GB, free: 186.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (276): * Single equations (assignments): 269 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,10,100.0%), (1,10,100.0%), (1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00119/2.213, allocations: 197.3 kB / 0.8909 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01658/2.23, allocations: 9.931 MB / 0.9006 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/2.23, allocations: 3.906 kB / 0.9006 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005193/2.235, allocations: 3.608 MB / 0.9041 GB, free: 181 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007272/2.242, allocations: 0.9519 MB / 0.905 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03162/2.274, allocations: 18.24 MB / 0.9228 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007135/2.281, allocations: 5.744 MB / 0.9285 GB, free: 161.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006578/2.288, allocations: 3.018 MB / 0.9314 GB, free: 158.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/2.289, allocations: 451.4 kB / 0.9318 GB, free: 158 MB / 0.5919 GB Notification: Performance of SimCode: time 1.693e-06/2.289, allocations: 0 / 0.9318 GB, free: 158 MB / 0.5919 GB Notification: Performance of Templates: time 0.1152/2.404, allocations: 74.48 MB / 1.005 GB, free: 83.66 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1)