Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001317/0.001317, allocations: 106 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001395/0.001395, allocations: 205.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1924/0.1924, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 75.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2808, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.0124/0.2933, allocations: 12.68 MB / 0.544 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008756/0.3021, allocations: 4.5 MB / 0.5484 GB, free: 128 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/0.3041, allocations: 85.28 kB / 0.5485 GB, free: 112 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006154/0.3103, allocations: 3.718 MB / 0.5521 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005535/0.3159, allocations: 2.236 MB / 0.5543 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.318, allocations: 1.002 MB / 0.5553 GB, free: 9.434 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007884/0.3259, allocations: 6.042 MB / 0.5612 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00493/0.3309, allocations: 4.555 MB / 0.5657 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003045/0.334, allocations: 1.951 MB / 0.5676 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003716/0.3377, allocations: 2.621 MB / 0.5701 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009658/0.3387, allocations: 408 kB / 0.5705 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002629/0.3413, allocations: 1.436 MB / 0.5719 GB, free: 8.332 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002219/0.3436, allocations: 2.443 MB / 0.5743 GB, free: 5.883 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003022/0.3466, allocations: 2.707 MB / 0.5769 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008681/0.3553, allocations: 8.623 MB / 0.5854 GB, free: 10.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.3554, allocations: 4 kB / 0.5854 GB, free: 10.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3554, allocations: 3.938 kB / 0.5854 GB, free: 10.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000208/0.3556, allocations: 0 / 0.5854 GB, free: 10.5 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01424/0.3698, allocations: 6.012 MB / 0.5912 GB, free: 4.414 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.3699, allocations: 8.031 kB / 0.5913 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/0.3805, allocations: 2.548 MB / 0.5937 GB, free: 1.848 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00798/0.3885, allocations: 3.734 MB / 0.5974 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002554/0.3888, allocations: 283.5 kB / 0.5977 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001299/0.3901, allocations: 383.7 kB / 0.598 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02004/0.4102, allocations: 11.6 MB / 0.6093 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000172/0.4104, allocations: 59.44 kB / 0.6094 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005419/0.4109, allocations: 183.8 kB / 0.6096 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003189/0.4141, allocations: 2.143 MB / 0.6117 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01697/0.4311, allocations: 9.629 MB / 0.6211 GB, free: 4.926 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05005/0.4812, allocations: 45.78 MB / 0.6658 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00913/0.4904, allocations: 3.909 MB / 0.6696 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002542/0.493, allocations: 2.139 MB / 0.6717 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008355/0.5013, allocations: 5.874 MB / 0.6774 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.5014, allocations: 52.11 kB / 0.6775 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 3.637e-06/0.5014, allocations: 0 / 0.6775 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.03899/0.5404, allocations: 17.36 MB / 0.6944 GB, free: 8.043 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.5406, allocations: 230.1 kB / 0.6946 GB, free: 7.766 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006777/0.5473, allocations: 5.619 MB / 0.7001 GB, free: 2.164 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002565/0.5476, allocations: 45.7 kB / 0.7002 GB, free: 2.113 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002193/0.5498, allocations: 3.709 MB / 0.7038 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006188/0.5504, allocations: 0.656 MB / 0.7044 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001556/0.552, allocations: 1.415 MB / 0.7058 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.5521, allocations: 305.1 kB / 0.7061 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002837/0.555, allocations: 2.297 MB / 0.7084 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005078/0.56, allocations: 6.547 MB / 0.7147 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2343/0.7943, allocations: 9.507 MB / 0.724 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000119/0.7945, allocations: 42.72 kB / 0.7241 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01417/0.8087, allocations: 9.574 MB / 0.7334 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.783e-05/0.8088, allocations: 70.59 kB / 0.7335 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/0.8089, allocations: 148.7 kB / 0.7336 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00242/0.8113, allocations: 1.236 MB / 0.7348 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003646/0.815, allocations: 1.563 MB / 0.7364 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007123/0.8221, allocations: 8.459 MB / 0.7446 GB, free: 142 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0039/0.826, allocations: 365.8 kB / 0.745 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000448/0.8265, allocations: 425.9 kB / 0.7454 GB, free: 141.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (836): * Single equations (assignments): 829 * 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,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002412/0.8289, allocations: 2.466 MB / 0.7478 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004834/0.8294, allocations: 453.8 kB / 0.7482 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004527/0.8339, allocations: 3.389 MB / 0.7515 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.834, allocations: 22.81 kB / 0.7516 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.834, allocations: 4 kB / 0.7516 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.834, allocations: 13.84 kB / 0.7516 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/0.8442, allocations: 8.185 MB / 0.7596 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.8443, allocations: 4 kB / 0.7596 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.8453, allocations: 255.9 kB / 0.7598 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002142/0.8474, allocations: 1.009 MB / 0.7608 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.8475, allocations: 28 kB / 0.7608 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006315/0.8539, allocations: 7.8 MB / 0.7684 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.8539, allocations: 7.938 kB / 0.7684 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006435/0.8603, allocations: 5.855 MB / 0.7742 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/0.8614, allocations: 0.5186 MB / 0.7747 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000486/0.8619, allocations: 31.77 kB / 0.7747 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.8633, allocations: 95.88 kB / 0.7748 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.8635, allocations: 92.81 kB / 0.7749 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.8636, allocations: 47.92 kB / 0.7749 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004172/0.8678, allocations: 3.6 MB / 0.7784 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8678, allocations: 0 / 0.7784 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004701/0.8726, allocations: 1.147 MB / 0.7796 GB, free: 107.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (120): * Single equations (assignments): 115 * 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,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003481/0.8729, allocations: 157.7 kB / 0.7797 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006064/0.879, allocations: 5.558 MB / 0.7851 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.879, allocations: 4 kB / 0.7851 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001608/0.8806, allocations: 1.617 MB / 0.7867 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/0.8834, allocations: 0.5954 MB / 0.7873 GB, free: 99.65 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/0.8962, allocations: 11.22 MB / 0.7983 GB, free: 88.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002829/0.8991, allocations: 3.756 MB / 0.8019 GB, free: 84.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008863/0.9, allocations: 335.4 kB / 0.8022 GB, free: 84.25 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.9, allocations: 0 / 0.8022 GB, free: 84.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.1024/1.002, allocations: 112.4 MB / 0.912 GB, free: 3.863 MB / 0.5919 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches