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.001279/0.001279, allocations: 107.5 kB / 16.41 MB, free: 6.496 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.00133/0.00133, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.273/1.273, 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.1921/0.1922, allocations: 43.52 MB / 314.1 MB, free: 464 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.001395/0.001395, allocations: 65.47 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09628/0.09769, allocations: 57.8 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01429/0.112, allocations: 14.24 MB / 0.5013 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008883/0.1209, allocations: 4.665 MB / 0.5059 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.1227, allocations: 91.75 kB / 0.506 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006177/0.1289, allocations: 3.773 MB / 0.5097 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005361/0.1343, allocations: 2.416 MB / 0.512 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.1363, allocations: 1.006 MB / 0.513 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007414/0.1438, allocations: 6.015 MB / 0.5189 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004863/0.1486, allocations: 4.741 MB / 0.5235 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002954/0.1516, allocations: 2.114 MB / 0.5256 GB, free: 5.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003719/0.1553, allocations: 2.889 MB / 0.5284 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001011/0.1564, allocations: 460 kB / 0.5288 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002751/0.1591, allocations: 1.482 MB / 0.5303 GB, free: 176 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2034/0.3626, allocations: 2.702 MB / 0.5329 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006658/0.3693, allocations: 3.093 MB / 0.5359 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01392/0.3833, allocations: 9.802 MB / 0.5455 GB, free: 9.746 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3833, allocations: 0 / 0.5455 GB, free: 9.746 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3833, allocations: 0.625 kB / 0.5455 GB, free: 9.746 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002976/0.3836, allocations: 3.469 kB / 0.5455 GB, free: 9.746 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.01747/0.4011, allocations: 6.747 MB / 0.5521 GB, free: 7.164 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.4012, allocations: 12.95 kB / 0.5521 GB, free: 7.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002145/0.4033, allocations: 0.9211 MB / 0.553 GB, free: 7.074 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03596/0.4393, allocations: 6.146 MB / 0.559 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009473/0.4488, allocations: 4.849 MB / 0.5638 GB, free: 3.434 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/0.449, allocations: 307.4 kB / 0.5641 GB, free: 3.332 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00124/0.4503, allocations: 413 kB / 0.5644 GB, free: 3.234 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02068/0.4709, allocations: 12.89 MB / 0.577 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001552/0.4711, allocations: 58.94 kB / 0.5771 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000588/0.4717, allocations: 195.9 kB / 0.5773 GB, free: 11.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003735/0.4755, allocations: 2.508 MB / 0.5797 GB, free: 9.746 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02037/0.4959, allocations: 10.58 MB / 0.5901 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06121/0.5571, allocations: 49.44 MB / 0.6383 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/0.5678, allocations: 4.42 MB / 0.6427 GB, free: 8.762 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002913/0.5707, allocations: 2.331 MB / 0.6449 GB, free: 6.422 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/0.5811, allocations: 6.508 MB / 0.6513 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.5811, allocations: 59.64 kB / 0.6513 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=183): time 3.937e-06/0.5811, allocations: 0 / 0.6513 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=195): time 0.04543/0.6266, allocations: 17.64 MB / 0.6686 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.6267, allocations: 227.2 kB / 0.6688 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01066/0.6374, allocations: 5.93 MB / 0.6746 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004378/0.6379, allocations: 53.7 kB / 0.6746 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003498/0.6414, allocations: 4.119 MB / 0.6787 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00116/0.6425, allocations: 0.7679 MB / 0.6794 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003261/0.6458, allocations: 1.458 MB / 0.6808 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.6459, allocations: 301.1 kB / 0.6811 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004275/0.6502, allocations: 2.422 MB / 0.6835 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008114/0.6584, allocations: 6.925 MB / 0.6902 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/0.67, allocations: 10.12 MB / 0.7001 GB, free: 9.891 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001302/0.6701, allocations: 48 kB / 0.7002 GB, free: 9.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.01771/0.6879, allocations: 9.593 MB / 0.7095 GB, free: 440 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.688, allocations: 72 kB / 0.7096 GB, free: 368 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002048/0.6883, allocations: 160 kB / 0.7098 GB, free: 208 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001833/0.6901, allocations: 0.7368 MB / 0.7105 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005519/0.6956, allocations: 1.661 MB / 0.7121 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007891/0.7035, allocations: 6.971 MB / 0.7189 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006204/0.7098, allocations: 387.6 kB / 0.7193 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001306/0.7111, allocations: 448 kB / 0.7197 GB, free: 5.734 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.005484/0.7166, allocations: 2.702 MB / 0.7223 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/0.7177, allocations: 493.5 kB / 0.7228 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006132/0.7238, allocations: 3.285 MB / 0.726 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.159e-05/0.7238, allocations: 24 kB / 0.726 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/0.7239, allocations: 11.73 kB / 0.7261 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/0.7239, allocations: 7.969 kB / 0.7261 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01856/0.7425, allocations: 8.819 MB / 0.7347 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/0.7425, allocations: 4 kB / 0.7347 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/0.7442, allocations: 323.5 kB / 0.735 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001497/0.7457, allocations: 0.5051 MB / 0.7355 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002383/0.7459, allocations: 39.94 kB / 0.7355 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006923/0.7529, allocations: 6.287 MB / 0.7417 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.7529, allocations: 4 kB / 0.7417 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008601/0.7615, allocations: 5.981 MB / 0.7475 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002139/0.7637, allocations: 0.8109 MB / 0.7483 GB, free: 8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001272/0.765, allocations: 39.98 kB / 0.7483 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002518/0.7675, allocations: 97.98 kB / 0.7484 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/0.7678, allocations: 113 kB / 0.7485 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.768, allocations: 55.98 kB / 0.7486 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008511/0.7765, allocations: 3.808 MB / 0.7523 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.11e-07/0.7765, allocations: 0 / 0.7523 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008404/0.7849, allocations: 1.237 MB / 0.7535 GB, free: 2.691 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.2112/0.9961, allocations: 6.614 MB / 0.76 GB, free: 204 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009693/1.006, allocations: 5.931 MB / 0.7658 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.894e-06/1.006, allocations: 1.25 kB / 0.7658 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00232/1.008, allocations: 1.789 MB / 0.7675 GB, free: 203 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004141/1.012, allocations: 0.6624 MB / 0.7682 GB, free: 202.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07553/1.088, 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.004387/1.092, allocations: 4.128 MB / 0.8302 GB, free: 150 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004609/1.097, allocations: 2.323 MB / 0.8325 GB, free: 147.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002947/1.1, allocations: 2.569 MB / 0.835 GB, free: 145.1 MB / 0.5919 GB Notification: Performance of SimCode: time 8.81e-07/1.1, allocations: 0 / 0.835 GB, free: 145.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1248/1.225, allocations: 92.14 MB / 0.925 GB, free: 52.95 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.21/22.44, allocations: 17.06 kB / 0.925 GB, free: 52.94 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