Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,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.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001309, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001566/0.001566, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2332/0.2332, allocations: 46.1 MB / 344.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 82.58 kB / 417.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1396, allocations: 62.43 MB / 480 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.017/0.1566, allocations: 13.99 MB / 494 MB, free: 7.266 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.169, allocations: 4.768 MB / 498.8 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003785/0.1729, allocations: 95.75 kB / 498.9 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009942/0.1829, allocations: 4.47 MB / 0.4915 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008634/0.1916, allocations: 2.225 MB / 0.4937 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00353/0.1951, allocations: 1.131 MB / 0.4948 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009297/0.2045, allocations: 6.401 MB / 0.5011 GB, free: 4.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2736/0.4781, allocations: 5.438 MB / 0.5064 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00558/0.4837, allocations: 2.206 MB / 0.5085 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005798/0.4895, allocations: 2.971 MB / 0.5114 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001956/0.4915, allocations: 494 kB / 0.5119 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004244/0.4958, allocations: 1.497 MB / 0.5134 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004703/0.5005, allocations: 2.742 MB / 0.516 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00678/0.5073, allocations: 3.112 MB / 0.5191 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01558/0.5229, allocations: 9.528 MB / 0.5284 GB, free: 9.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.5229, allocations: 0.7188 kB / 0.5284 GB, free: 9.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.5229, allocations: 0 / 0.5284 GB, free: 9.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005047/0.5235, allocations: 5.375 kB / 0.5284 GB, free: 9.742 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2021 * Number of variables: 2021 Notification: Performance of Generate backend data structure: time 0.02158/0.545, allocations: 6.793 MB / 0.535 GB, free: 5.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.5451, allocations: 10.27 kB / 0.535 GB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.5574, allocations: 2.613 MB / 0.5376 GB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008712/0.5662, allocations: 3.841 MB / 0.5413 GB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002391/0.5665, allocations: 348 kB / 0.5417 GB, free: 1.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00164/0.5681, allocations: 452.9 kB / 0.5421 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03118/0.5993, allocations: 13.98 MB / 0.5558 GB, free: 5.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003579/0.5997, allocations: 62.53 kB / 0.5558 GB, free: 5.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001826/0.6016, allocations: 220.9 kB / 0.556 GB, free: 5.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004893/0.6065, allocations: 2.539 MB / 0.5585 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02759/0.6341, allocations: 12 MB / 0.5702 GB, free: 6.742 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08201/0.7161, allocations: 53.47 MB / 0.6225 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01963/0.7358, allocations: 6.509 MB / 0.6288 GB, free: 9.992 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005671/0.7415, allocations: 3.597 MB / 0.6323 GB, free: 6.387 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002413/0.7418, allocations: 41.25 kB / 0.6324 GB, free: 6.359 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.363e-05/0.7419, allocations: 62.5 kB / 0.6324 GB, free: 6.293 MB / 478.1 MB Notification: Performance of pre-optimization done (n=218): time 8.216e-06/0.7419, allocations: 0 / 0.6324 GB, free: 6.293 MB / 478.1 MB Notification: Performance of matching and sorting (n=260): time 0.1016/0.8435, allocations: 31.58 MB / 0.6633 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.8437, allocations: 212.5 kB / 0.6635 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01229/0.856, allocations: 5.96 MB / 0.6693 GB, free: 436 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001313/0.8574, allocations: 61.7 kB / 0.6693 GB, free: 368 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00426/0.8617, allocations: 3.993 MB / 0.6732 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001898/0.8636, allocations: 0.9906 MB / 0.6742 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002838/0.8664, allocations: 1.608 MB / 0.6758 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.8666, allocations: 305.1 kB / 0.6761 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005374/0.872, allocations: 3.47 MB / 0.6795 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008647/0.8806, allocations: 7.885 MB / 0.6872 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01592/0.8966, allocations: 12.17 MB / 0.699 GB, free: 14.28 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001529/0.8968, allocations: 44 kB / 0.6991 GB, free: 14.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=1012) (initialization): time 0.0291/0.9259, allocations: 13.2 MB / 0.712 GB, free: 1.016 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001791/0.9261, allocations: 68 kB / 0.712 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002574/0.9264, allocations: 156.9 kB / 0.7122 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2992/1.226, allocations: 2.259 MB / 0.7144 GB, free: 185.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007819/1.233, allocations: 1.8 MB / 0.7162 GB, free: 185.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01998/1.254, allocations: 14.43 MB / 0.7302 GB, free: 179.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008141/1.262, allocations: 483.9 kB / 0.7307 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001988/1.264, allocations: 465.1 kB / 0.7311 GB, free: 179.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 703 * Number of states: 0 () * Number of discrete variables: 62 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,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 (940): * Single equations (assignments): 935 * 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 {(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.006414/1.27, allocations: 2.768 MB / 0.7339 GB, free: 178.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001334/1.271, allocations: 0.4948 MB / 0.7343 GB, free: 178.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/1.284, allocations: 7.128 MB / 0.7413 GB, free: 176 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.161e-05/1.284, allocations: 27.41 kB / 0.7413 GB, free: 176 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/1.284, allocations: 7.75 kB / 0.7413 GB, free: 176 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.144e-05/1.284, allocations: 15.06 kB / 0.7413 GB, free: 176 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02533/1.309, allocations: 14.58 MB / 0.7556 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/1.309, allocations: 3.969 kB / 0.7556 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002132/1.311, allocations: 451.9 kB / 0.756 GB, free: 169.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004725/1.316, allocations: 2.035 MB / 0.758 GB, free: 168.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003857/1.316, allocations: 49.86 kB / 0.7581 GB, free: 168.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0142/1.331, allocations: 13.66 MB / 0.7714 GB, free: 155.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.331, allocations: 3.938 kB / 0.7714 GB, free: 155.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01675/1.347, allocations: 11.3 MB / 0.7824 GB, free: 144 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00315/1.351, allocations: 0.5721 MB / 0.783 GB, free: 143.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002146/1.353, allocations: 42.72 kB / 0.783 GB, free: 143.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003884/1.357, allocations: 227 kB / 0.7833 GB, free: 143.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007866/1.358, allocations: 149.7 kB / 0.7834 GB, free: 143.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003663/1.358, allocations: 71.92 kB / 0.7835 GB, free: 143.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00783/1.366, allocations: 3.797 MB / 0.7872 GB, free: 139.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.92e-07/1.366, allocations: 0 / 0.7872 GB, free: 139.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008633/1.374, allocations: 1.493 MB / 0.7886 GB, free: 137.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (202): * Single equations (assignments): 197 * 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.0005752/1.375, allocations: 185.8 kB / 0.7888 GB, free: 137.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01558/1.391, allocations: 11.21 MB / 0.7997 GB, free: 126.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/1.391, allocations: 0 / 0.7997 GB, free: 126.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005033/1.396, allocations: 3.482 MB / 0.8032 GB, free: 123 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005521/1.401, allocations: 0.6676 MB / 0.8038 GB, free: 122.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02406/1.425, allocations: 13.95 MB / 0.8174 GB, free: 108.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004378/1.43, allocations: 4.242 MB / 0.8216 GB, free: 104.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005908/1.436, allocations: 2.551 MB / 0.8241 GB, free: 101.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/1.437, allocations: 347.4 kB / 0.8244 GB, free: 101.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.393e-06/1.437, allocations: 0 / 0.8244 GB, free: 101.2 MB / 0.545 GB Notification: Performance of Templates: time 0.105/1.542, allocations: 64.14 MB / 0.887 GB, free: 37.3 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches