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.001715/0.001715, allocations: 105.3 kB / 16.4 MB, free: 6.508 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.0017/0.0017, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.379/1.379, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.214/0.214, allocations: 43.53 MB / 314.1 MB, free: 448 kB / 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.002283/0.002283, allocations: 73.8 kB / 441.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.129, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01923/0.1482, allocations: 14.24 MB / 0.5013 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.1594, allocations: 4.677 MB / 0.5059 GB, free: 9.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00422/0.1637, allocations: 91.75 kB / 0.506 GB, free: 9.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01035/0.1741, allocations: 3.769 MB / 0.5097 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008621/0.1828, allocations: 2.42 MB / 0.512 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002946/0.1858, allocations: 0.9982 MB / 0.513 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01018/0.196, allocations: 6.022 MB / 0.5189 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007377/0.2034, allocations: 4.73 MB / 0.5235 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004114/0.2076, allocations: 2.122 MB / 0.5256 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006056/0.2137, allocations: 2.885 MB / 0.5284 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001525/0.2152, allocations: 460 kB / 0.5288 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003352/0.2186, allocations: 1.482 MB / 0.5303 GB, free: 168 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2707/0.4893, allocations: 2.702 MB / 0.5329 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005909/0.4953, allocations: 3.095 MB / 0.5359 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01362/0.5089, allocations: 9.805 MB / 0.5455 GB, free: 9.734 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.509, allocations: 3.625 kB / 0.5455 GB, free: 9.734 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.509, allocations: 0.5312 kB / 0.5455 GB, free: 9.734 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003574/0.5093, allocations: 0 / 0.5455 GB, free: 9.734 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.02431/0.5337, allocations: 6.741 MB / 0.5521 GB, free: 7.152 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.5337, allocations: 13.45 kB / 0.5521 GB, free: 7.148 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003249/0.537, allocations: 0.9254 MB / 0.553 GB, free: 7.062 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04095/0.5779, allocations: 6.141 MB / 0.559 GB, free: 6.117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/0.5899, allocations: 4.85 MB / 0.5638 GB, free: 3.418 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003552/0.5903, allocations: 306 kB / 0.5641 GB, free: 3.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002159/0.5924, allocations: 418.7 kB / 0.5645 GB, free: 3.215 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02443/0.6169, allocations: 12.88 MB / 0.577 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000208/0.6171, allocations: 65.81 kB / 0.5771 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009216/0.6181, allocations: 194.9 kB / 0.5773 GB, free: 11.42 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004128/0.6222, allocations: 2.503 MB / 0.5797 GB, free: 9.766 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02214/0.6444, allocations: 10.58 MB / 0.5901 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0667/0.7111, allocations: 49.44 MB / 0.6383 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01129/0.7224, allocations: 4.425 MB / 0.6427 GB, free: 8.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003196/0.7257, allocations: 2.326 MB / 0.6449 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01345/0.7391, allocations: 6.507 MB / 0.6513 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/0.7392, allocations: 54.56 kB / 0.6513 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=183): time 5.33e-06/0.7393, allocations: 4 kB / 0.6513 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=195): time 0.05142/0.7907, allocations: 17.63 MB / 0.6686 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.7908, allocations: 238.5 kB / 0.6688 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01223/0.8031, allocations: 5.933 MB / 0.6746 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005005/0.8036, allocations: 57.7 kB / 0.6746 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003654/0.8073, allocations: 4.118 MB / 0.6787 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001302/0.8086, allocations: 0.7681 MB / 0.6794 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003808/0.8124, allocations: 1.455 MB / 0.6808 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.8125, allocations: 309.1 kB / 0.6811 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004488/0.817, allocations: 2.415 MB / 0.6835 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008458/0.8255, allocations: 6.929 MB / 0.6902 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01329/0.8388, allocations: 10.12 MB / 0.7001 GB, free: 9.898 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001493/0.839, allocations: 44 kB / 0.7002 GB, free: 9.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.02036/0.8594, allocations: 9.587 MB / 0.7095 GB, free: 472 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001902/0.8596, allocations: 80.22 kB / 0.7096 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002407/0.8599, allocations: 156 kB / 0.7098 GB, free: 236 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002193/0.8621, allocations: 0.7329 MB / 0.7105 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005829/0.868, allocations: 1.665 MB / 0.7121 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008405/0.8764, allocations: 6.976 MB / 0.7189 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006423/0.8828, allocations: 387.6 kB / 0.7193 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001494/0.8844, allocations: 447 kB / 0.7197 GB, free: 5.762 MB / 0.5606 GB 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.006475/0.8909, allocations: 2.7 MB / 0.7223 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001362/0.8922, allocations: 489.6 kB / 0.7228 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007368/0.8996, allocations: 3.293 MB / 0.726 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.124e-05/0.8997, allocations: 20 kB / 0.7261 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.359e-05/0.8997, allocations: 8 kB / 0.7261 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.508e-05/0.8998, allocations: 15.8 kB / 0.7261 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02074/0.9205, allocations: 8.818 MB / 0.7347 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/0.9206, allocations: 8.031 kB / 0.7347 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/0.9223, allocations: 323.5 kB / 0.735 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00156/0.9238, allocations: 0.5011 MB / 0.7355 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002577/0.9241, allocations: 35.94 kB / 0.7355 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007082/0.9312, allocations: 6.289 MB / 0.7417 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.9312, allocations: 7.938 kB / 0.7417 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009374/0.9406, allocations: 5.973 MB / 0.7475 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002889/0.9435, allocations: 0.807 MB / 0.7483 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001382/0.945, allocations: 36 kB / 0.7483 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002708/0.9477, allocations: 98.92 kB / 0.7484 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004212/0.9481, allocations: 120.9 kB / 0.7485 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/0.9483, allocations: 55.98 kB / 0.7486 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00818/0.9565, allocations: 3.804 MB / 0.7523 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.71e-07/0.9566, allocations: 4 kB / 0.7523 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00805/0.9646, allocations: 1.234 MB / 0.7535 GB, free: 2.719 MB / 0.5919 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 (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.2269/1.192, allocations: 6.623 MB / 0.76 GB, free: 204.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01035/1.202, allocations: 5.93 MB / 0.7658 GB, free: 203.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/1.202, allocations: 1.125 kB / 0.7658 GB, free: 203.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002464/1.204, allocations: 1.786 MB / 0.7675 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004403/1.209, allocations: 0.6578 MB / 0.7682 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08231/1.291, allocations: 59.41 MB / 0.8262 GB, free: 154.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004972/1.296, allocations: 4.128 MB / 0.8302 GB, free: 150.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004898/1.301, allocations: 2.327 MB / 0.8325 GB, free: 147.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003482/1.305, allocations: 2.565 MB / 0.835 GB, free: 145.2 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/1.305, allocations: 0 / 0.835 GB, free: 145.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1952/1.5, allocations: 92.16 MB / 0.925 GB, free: 53.01 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.89/23.39, allocations: 15.94 kB / 0.925 GB, free: 53 MB / 0.5919 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches