Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008263/0.008263, allocations: 101.9 kB / 15.73 MB, free: 6.031 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.001637/0.001637, allocations: 197.2 kB / 16.67 MB, free: 5.969 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.47/1.47, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.4153/0.4153, allocations: 39.95 MB / 309.8 MB, free: 9.445 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.001679/0.001679, allocations: 67.91 kB / 435.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4285, allocations: 56.87 MB / 492.7 MB, free: 19.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01918/0.4477, allocations: 13.74 MB / 0.4946 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01806/0.4659, allocations: 4.599 MB / 0.499 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006128/0.4721, allocations: 89.72 kB / 0.4991 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009067/0.4812, allocations: 3.763 MB / 0.5028 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.4914, allocations: 2.358 MB / 0.5051 GB, free: 2.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.4952, allocations: 1.012 MB / 0.5061 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01419/0.5094, allocations: 5.908 MB / 0.5119 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009073/0.5185, allocations: 4.688 MB / 0.5164 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005296/0.5239, allocations: 2.084 MB / 0.5185 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005972/0.5299, allocations: 2.827 MB / 0.5212 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001548/0.5315, allocations: 444 kB / 0.5217 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003717/0.5352, allocations: 1.467 MB / 0.5231 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003056/0.5383, allocations: 2.634 MB / 0.5257 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004737/0.543, allocations: 2.944 MB / 0.5285 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01434/0.5574, allocations: 9.374 MB / 0.5377 GB, free: 6.406 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.5575, allocations: 0 / 0.5377 GB, free: 6.406 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5575, allocations: 0 / 0.5377 GB, free: 6.406 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003723/0.5579, allocations: 0 / 0.5377 GB, free: 6.406 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01961/0.5775, allocations: 6.385 MB / 0.5439 GB, free: 15.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.315e-05/0.5776, allocations: 15.89 kB / 0.5439 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01449/0.5921, allocations: 2.641 MB / 0.5465 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01291/0.6051, allocations: 4.023 MB / 0.5505 GB, free: 9.199 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003753/0.6055, allocations: 296 kB / 0.5507 GB, free: 8.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002054/0.6076, allocations: 395.7 kB / 0.5511 GB, free: 8.523 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03289/0.6405, allocations: 12.62 MB / 0.5634 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004395/0.641, allocations: 55.44 kB / 0.5635 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00271/0.6437, allocations: 191.8 kB / 0.5637 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005173/0.6489, allocations: 2.413 MB / 0.566 GB, free: 8.383 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02642/0.6754, allocations: 10.53 MB / 0.5763 GB, free: 13.83 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07997/0.7554, allocations: 48.6 MB / 0.6238 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01262/0.7681, allocations: 4.797 MB / 0.6285 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00429/0.7724, allocations: 2.445 MB / 0.6309 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3481/1.121, allocations: 7.159 MB / 0.6378 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.724e-05/1.121, allocations: 58.39 kB / 0.6379 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 5.911e-06/1.121, allocations: 0 / 0.6379 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=193): time 0.05141/1.172, allocations: 17.99 MB / 0.6555 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/1.172, allocations: 202.5 kB / 0.6557 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0124/1.185, allocations: 5.836 MB / 0.6614 GB, free: 116.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007395/1.185, allocations: 52.58 kB / 0.6614 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003873/1.189, allocations: 3.952 MB / 0.6653 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001483/1.191, allocations: 0.7654 MB / 0.666 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002921/1.194, allocations: 1.516 MB / 0.6675 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001004/1.194, allocations: 301.1 kB / 0.6678 GB, free: 112.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004981/1.199, allocations: 2.598 MB / 0.6703 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007045/1.206, allocations: 7.045 MB / 0.6772 GB, free: 104.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/1.217, allocations: 10.34 MB / 0.6873 GB, free: 94.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002074/1.218, allocations: 47.88 kB / 0.6873 GB, free: 94.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02341/1.241, allocations: 10.4 MB / 0.6975 GB, free: 85.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002522/1.241, allocations: 72 kB / 0.6976 GB, free: 85.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002987/1.242, allocations: 160.1 kB / 0.6977 GB, free: 85.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003748/1.245, allocations: 1.218 MB / 0.6989 GB, free: 84.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006712/1.252, allocations: 1.704 MB / 0.7006 GB, free: 82.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009421/1.262, allocations: 8.365 MB / 0.7087 GB, free: 73.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008867/1.271, allocations: 414.8 kB / 0.7091 GB, free: 73.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002283/1.273, allocations: 447.9 kB / 0.7096 GB, free: 73.13 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (904): * Single equations (assignments): 897 * Array equations: 5 * 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,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007785/1.281, allocations: 2.615 MB / 0.7121 GB, free: 70.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001881/1.283, allocations: 481.7 kB / 0.7126 GB, free: 70.03 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008366/1.291, allocations: 3.976 MB / 0.7165 GB, free: 66.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.662e-05/1.291, allocations: 20 kB / 0.7165 GB, free: 66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.801e-05/1.291, allocations: 11.94 kB / 0.7165 GB, free: 65.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/1.291, allocations: 7.969 kB / 0.7165 GB, free: 65.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02435/1.315, allocations: 9.271 MB / 0.7256 GB, free: 56.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-05/1.316, allocations: 4 kB / 0.7256 GB, free: 56.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/1.317, allocations: 359.4 kB / 0.7259 GB, free: 56.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002656/1.32, allocations: 0.977 MB / 0.7269 GB, free: 55.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000293/1.32, allocations: 39.92 kB / 0.7269 GB, free: 55.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00781/1.328, allocations: 7.689 MB / 0.7344 GB, free: 47.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.328, allocations: 7.938 kB / 0.7344 GB, free: 47.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01057/1.339, allocations: 6.739 MB / 0.741 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003419/1.342, allocations: 0.8228 MB / 0.7418 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002134/1.344, allocations: 40 kB / 0.7418 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003883/1.348, allocations: 111.8 kB / 0.7419 GB, free: 39.51 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004528/1.349, allocations: 109.1 kB / 0.742 GB, free: 39.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001986/1.349, allocations: 59.77 kB / 0.7421 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.009139/1.358, allocations: 3.737 MB / 0.7458 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.358, allocations: 4 kB / 0.7458 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01006/1.368, allocations: 1.265 MB / 0.747 GB, free: 34.37 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (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 (154): * Single equations (assignments): 149 * Array equations: 3 * 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,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.000929/1.369, allocations: 170.9 kB / 0.7472 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0104/1.38, allocations: 6.24 MB / 0.7532 GB, free: 27.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.38, allocations: 0.625 kB / 0.7532 GB, free: 27.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002567/1.382, allocations: 1.883 MB / 0.7551 GB, free: 26.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006893/1.389, allocations: 0.6125 MB / 0.7557 GB, free: 25.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02788/1.417, allocations: 11.76 MB / 0.7672 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006377/1.424, allocations: 4.009 MB / 0.7711 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005172/1.429, allocations: 2.283 MB / 0.7733 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008942/1.43, allocations: 327.4 kB / 0.7736 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of SimCode: time 9.62e-07/1.43, allocations: 0 / 0.7736 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.09359/1.523, allocations: 44.67 MB / 0.8173 GB, free: 10.48 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1)