Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001251/0.001251, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.264/1.264, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2048/0.2048, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 75.88 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2858, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.01399/0.2999, allocations: 14.56 MB / 0.5459 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009776/0.3097, allocations: 4.914 MB / 0.5507 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.312, allocations: 103.7 kB / 0.5508 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007699/0.3197, allocations: 4.739 MB / 0.5554 GB, free: 9.371 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006552/0.3263, allocations: 2.455 MB / 0.5578 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00266/0.329, allocations: 1.139 MB / 0.5589 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008356/0.3374, allocations: 6.709 MB / 0.5655 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006164/0.3435, allocations: 5.751 MB / 0.5711 GB, free: 9.227 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004094/0.3477, allocations: 2.344 MB / 0.5734 GB, free: 6.875 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004708/0.3524, allocations: 3.088 MB / 0.5764 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001548/0.354, allocations: 0.4961 MB / 0.5769 GB, free: 3.281 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00317/0.3572, allocations: 1.533 MB / 0.5784 GB, free: 1.746 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003054/0.3603, allocations: 2.891 MB / 0.5812 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00386/0.3641, allocations: 3.251 MB / 0.5844 GB, free: 11.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.375, allocations: 10.21 MB / 0.5943 GB, free: 1.332 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.375, allocations: 0 / 0.5943 GB, free: 1.332 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.375, allocations: 0 / 0.5943 GB, free: 1.332 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002572/0.3753, allocations: 0 / 0.5943 GB, free: 1.332 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: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.01456/0.3899, allocations: 7.177 MB / 0.6014 GB, free: 10.07 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.3899, allocations: 13.11 kB / 0.6014 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/0.4, allocations: 2.652 MB / 0.604 GB, free: 7.391 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008155/0.4082, allocations: 4.178 MB / 0.608 GB, free: 3.129 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002448/0.4085, allocations: 353.4 kB / 0.6084 GB, free: 2.781 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001139/0.4096, allocations: 471.6 kB / 0.6088 GB, free: 2.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02439/0.434, allocations: 14.49 MB / 0.623 GB, free: 2.867 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001689/0.4342, allocations: 67.38 kB / 0.623 GB, free: 2.801 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005691/0.4348, allocations: 223.8 kB / 0.6232 GB, free: 2.582 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003988/0.4388, allocations: 2.641 MB / 0.6258 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02238/0.4612, allocations: 12.37 MB / 0.6379 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06323/0.5245, allocations: 55.32 MB / 0.6919 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01422/0.5387, allocations: 5.797 MB / 0.6976 GB, free: 4.785 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004263/0.543, allocations: 3.64 MB / 0.7011 GB, free: 1.125 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01253/0.5556, allocations: 8.145 MB / 0.7091 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.181e-05/0.5557, allocations: 72.08 kB / 0.7092 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 4.669e-06/0.5557, allocations: 0 / 0.7092 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of matching and sorting (n=269): time 0.3015/0.8572, allocations: 30.87 MB / 0.7393 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.8573, allocations: 238.5 kB / 0.7395 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006678/0.864, allocations: 6.316 MB / 0.7457 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005262/0.8646, allocations: 69.53 kB / 0.7458 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001673/0.8662, allocations: 4.196 MB / 0.7499 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009177/0.8672, allocations: 1.024 MB / 0.7509 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001801/0.869, allocations: 1.677 MB / 0.7525 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.87e-05/0.869, allocations: 305.1 kB / 0.7528 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003693/0.8727, allocations: 3.436 MB / 0.7562 GB, free: 142 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005308/0.878, allocations: 8.066 MB / 0.764 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/0.8883, allocations: 12.37 MB / 0.7761 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001154/0.8885, allocations: 44 kB / 0.7762 GB, free: 117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1063) (initialization): time 0.01965/0.9082, allocations: 13.34 MB / 0.7892 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.58e-05/0.9083, allocations: 76 kB / 0.7893 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/0.9084, allocations: 160 kB / 0.7894 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004709/0.9131, allocations: 2.277 MB / 0.7916 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005399/0.9186, allocations: 1.861 MB / 0.7935 GB, free: 99.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/0.9321, allocations: 14.38 MB / 0.8075 GB, free: 84.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00585/0.938, allocations: 471.3 kB / 0.8079 GB, free: 84.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/0.9392, allocations: 495.4 kB / 0.8084 GB, free: 83.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 738 * Number of states: 0 () * Number of discrete variables: 65 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (981): * Single equations (assignments): 974 * 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 {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003664/0.9429, allocations: 2.879 MB / 0.8112 GB, free: 80.81 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008628/0.9438, allocations: 0.5244 MB / 0.8117 GB, free: 80.28 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009922/0.9537, allocations: 6.994 MB / 0.8186 GB, free: 73.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.744e-05/0.9538, allocations: 28 kB / 0.8186 GB, free: 73.24 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/0.9538, allocations: 8 kB / 0.8186 GB, free: 73.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.359e-05/0.9538, allocations: 15.7 kB / 0.8186 GB, free: 73.22 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02054/0.9744, allocations: 14.25 MB / 0.8325 GB, free: 58.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.429e-05/0.9744, allocations: 7.984 kB / 0.8325 GB, free: 58.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001977/0.9764, allocations: 439.3 kB / 0.833 GB, free: 58.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004326/0.9808, allocations: 2.043 MB / 0.8349 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004381/0.9812, allocations: 51.44 kB / 0.835 GB, free: 56.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01351/0.9947, allocations: 13.76 MB / 0.8484 GB, free: 42.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.9948, allocations: 4 kB / 0.8484 GB, free: 42.37 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01344/1.008, allocations: 11.07 MB / 0.8592 GB, free: 31.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/1.01, allocations: 0.6073 MB / 0.8598 GB, free: 30.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008962/1.01, allocations: 44 kB / 0.8599 GB, free: 30.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002278/1.013, allocations: 191.7 kB / 0.8601 GB, free: 30.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004862/1.013, allocations: 165.7 kB / 0.8602 GB, free: 30.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001932/1.013, allocations: 71.98 kB / 0.8603 GB, free: 30.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004992/1.018, allocations: 4.057 MB / 0.8643 GB, free: 26.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.41e-07/1.019, allocations: 0 / 0.8643 GB, free: 26.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005995/1.025, allocations: 1.522 MB / 0.8657 GB, free: 24.53 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (211): * Single equations (assignments): 206 * 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 {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005033/1.025, allocations: 189.1 kB / 0.8659 GB, free: 24.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009449/1.034, allocations: 8.387 MB / 0.8741 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/1.035, allocations: 0 / 0.8741 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004479/1.039, allocations: 3.379 MB / 0.8774 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003784/1.043, allocations: 0.7058 MB / 0.8781 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/1.062, allocations: 14.85 MB / 0.8926 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005068/1.068, allocations: 4.414 MB / 0.8969 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001612/1.069, allocations: 423.3 kB / 0.8973 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/1.069, allocations: 0 / 0.8973 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of Templates: time 0.3765/1.446, allocations: 139.2 MB / 1.033 GB, free: 134.3 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches