Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005603/0.005603, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.001392/0.001392, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.29/1.29, allocations: 205.1 MB / 222.6 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2755/0.2755, allocations: 43.5 MB / 313.5 MB, free: 8.547 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: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.91 kB / 382.1 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1091, allocations: 57.78 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.2093/0.3184, allocations: 73.68 MB / 0.5016 GB, free: 2.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02973/0.3482, allocations: 14.57 MB / 0.5158 GB, free: 9.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01446/0.3627, allocations: 321.6 kB / 0.5161 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007697/0.3704, allocations: 3.759 MB / 0.5198 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006597/0.3771, allocations: 2.274 MB / 0.522 GB, free: 6.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.3796, allocations: 0.9359 MB / 0.5229 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01124/0.3909, allocations: 8.718 MB / 0.5314 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005938/0.3968, allocations: 4.674 MB / 0.536 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003473/0.4003, allocations: 1.88 MB / 0.5378 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003969/0.4043, allocations: 3.092 MB / 0.5408 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009999/0.4053, allocations: 316 kB / 0.5411 GB, free: 9.609 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003222/0.4086, allocations: 1.424 MB / 0.5425 GB, free: 8.184 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002617/0.4112, allocations: 2.591 MB / 0.545 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00352/0.4147, allocations: 2.951 MB / 0.5479 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008936/0.4237, allocations: 9.38 MB / 0.5571 GB, free: 9.207 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4237, allocations: 3.938 kB / 0.5571 GB, free: 9.203 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4237, allocations: 4 kB / 0.5571 GB, free: 9.199 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002448/0.424, allocations: 0 / 0.5571 GB, free: 9.199 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.01403/0.438, allocations: 6.745 MB / 0.5637 GB, free: 2.371 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.4381, allocations: 8.031 kB / 0.5637 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001368/0.4395, allocations: 0.9223 MB / 0.5646 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03493/0.4744, allocations: 6.148 MB / 0.5706 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009349/0.4838, allocations: 4.778 MB / 0.5753 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002522/0.4841, allocations: 304.2 kB / 0.5756 GB, free: 6.102 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001222/0.4853, allocations: 419.6 kB / 0.576 GB, free: 5.691 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02083/0.5062, allocations: 12.87 MB / 0.5885 GB, free: 7.918 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001493/0.5063, allocations: 63.47 kB / 0.5886 GB, free: 7.855 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005141/0.5069, allocations: 195.8 kB / 0.5888 GB, free: 7.664 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003734/0.5106, allocations: 2.495 MB / 0.5912 GB, free: 5.168 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01956/0.5302, allocations: 10.58 MB / 0.6015 GB, free: 10.56 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2371/0.7673, allocations: 49.67 MB / 0.65 GB, free: 109.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009666/0.7771, allocations: 4.421 MB / 0.6544 GB, free: 108.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002652/0.7798, allocations: 2.339 MB / 0.6567 GB, free: 108 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00936/0.7891, allocations: 6.503 MB / 0.663 GB, free: 104.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.7892, allocations: 54.38 kB / 0.6631 GB, free: 104.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 4.388e-06/0.7892, allocations: 0 / 0.6631 GB, free: 104.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.04092/0.8301, allocations: 17.64 MB / 0.6803 GB, free: 97.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.879e-05/0.8303, allocations: 227.5 kB / 0.6805 GB, free: 97.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008612/0.8389, allocations: 5.939 MB / 0.6863 GB, free: 94.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003579/0.8393, allocations: 55.92 kB / 0.6863 GB, free: 94.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002335/0.8416, allocations: 4.117 MB / 0.6904 GB, free: 91.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008355/0.8425, allocations: 0.7671 MB / 0.6911 GB, free: 91.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001663/0.8441, allocations: 1.459 MB / 0.6925 GB, free: 90.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.271e-05/0.8442, allocations: 303 kB / 0.6928 GB, free: 90.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003462/0.8477, allocations: 2.425 MB / 0.6952 GB, free: 89.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004459/0.8521, allocations: 6.93 MB / 0.702 GB, free: 82.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007669/0.8598, allocations: 10.13 MB / 0.7119 GB, free: 74.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001211/0.86, allocations: 46.53 kB / 0.7119 GB, free: 74.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=942) (initialization): time 0.01412/0.8741, allocations: 9.58 MB / 0.7213 GB, free: 69.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.954e-05/0.8742, allocations: 80.88 kB / 0.7213 GB, free: 69.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001462/0.8744, allocations: 156 kB / 0.7215 GB, free: 69.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/0.8759, allocations: 0.7378 MB / 0.7222 GB, free: 69.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004703/0.8806, allocations: 1.668 MB / 0.7238 GB, free: 67.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005713/0.8863, allocations: 6.48 MB / 0.7302 GB, free: 61.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005833/0.8922, allocations: 391.5 kB / 0.7305 GB, free: 60.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009058/0.8931, allocations: 448 kB / 0.731 GB, free: 60.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (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 (880): * Single equations (assignments): 873 * 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%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004095/0.8972, allocations: 2.694 MB / 0.7336 GB, free: 57.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001155/0.8984, allocations: 497.6 kB / 0.7341 GB, free: 57.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00478/0.9032, allocations: 3.289 MB / 0.7373 GB, free: 53.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/0.9032, allocations: 27.94 kB / 0.7373 GB, free: 53.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/0.9032, allocations: 4 kB / 0.7373 GB, free: 53.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.9032, allocations: 7.969 kB / 0.7373 GB, free: 53.76 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/0.915, allocations: 8.841 MB / 0.7459 GB, free: 44.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.915, allocations: 4 kB / 0.746 GB, free: 44.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/0.9164, allocations: 331.8 kB / 0.7463 GB, free: 44.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001231/0.9176, allocations: 0.4968 MB / 0.7468 GB, free: 44.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/0.9178, allocations: 43.44 kB / 0.7468 GB, free: 43.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004682/0.9225, allocations: 5.782 MB / 0.7524 GB, free: 37.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.9225, allocations: 4 kB / 0.7524 GB, free: 37.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006735/0.9293, allocations: 5.979 MB / 0.7583 GB, free: 31.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001794/0.9311, allocations: 0.8032 MB / 0.7591 GB, free: 31.08 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005842/0.9317, allocations: 43.92 kB / 0.7591 GB, free: 31.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/0.9332, allocations: 95.88 kB / 0.7592 GB, free: 30.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/0.9335, allocations: 121 kB / 0.7593 GB, free: 30.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.9336, allocations: 59.5 kB / 0.7594 GB, free: 30.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004121/0.9378, allocations: 3.804 MB / 0.7631 GB, free: 27 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.9378, allocations: 0 / 0.7631 GB, free: 27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005244/0.943, allocations: 1.233 MB / 0.7643 GB, free: 25.77 MB / 494.1 MB 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 (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,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.0066/0.9496, allocations: 6.625 MB / 0.7708 GB, free: 19.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007199/0.9569, allocations: 5.909 MB / 0.7765 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/0.9569, allocations: 3.938 kB / 0.7765 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001929/0.9588, allocations: 1.784 MB / 0.7783 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003973/0.9628, allocations: 0.6252 MB / 0.7789 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2616/1.224, allocations: 75.05 MB / 0.8522 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00347/1.228, allocations: 4.12 MB / 0.8562 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004584/1.232, allocations: 2.322 MB / 0.8585 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002408/1.235, allocations: 2.571 MB / 0.861 GB, free: 152.1 MB / 0.5294 GB Notification: Performance of SimCode: time 6.81e-07/1.235, allocations: 0 / 0.861 GB, free: 152.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1132/1.348, allocations: 93.82 MB / 0.9526 GB, free: 83.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/1.348, allocations: 227.3 kB / 0.9528 GB, free: 83.54 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.246/5.594, allocations: 3.938 kB / 0.9528 GB, free: 83.53 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches