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.001535/0.001535, allocations: 99.98 kB / 15.98 MB, free: 6.355 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.001724/0.001725, allocations: 197.4 kB / 16.91 MB, free: 6.195 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.588/1.588, allocations: 205.1 MB / 222.8 MB, free: 4.719 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.4008/0.4008, allocations: 43.5 MB / 313.6 MB, free: 8.531 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.001585/0.001585, allocations: 67.91 kB / 382.3 MB, free: 8.531 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1446, allocations: 57.78 MB / 440.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3428/0.4874, allocations: 73.68 MB / 0.5017 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04426/0.5317, allocations: 14.46 MB / 0.5159 GB, free: 9.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02339/0.5551, allocations: 316 kB / 0.5162 GB, free: 8.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009618/0.5648, allocations: 3.635 MB / 0.5197 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00938/0.5743, allocations: 2.258 MB / 0.5219 GB, free: 6.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00353/0.5778, allocations: 0.9527 MB / 0.5228 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01361/0.5915, allocations: 6.263 MB / 0.529 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008336/0.5998, allocations: 4.996 MB / 0.5338 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006309/0.6062, allocations: 2.161 MB / 0.5359 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005887/0.6121, allocations: 3.229 MB / 0.5391 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001845/0.614, allocations: 456 kB / 0.5395 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00427/0.6183, allocations: 1.502 MB / 0.541 GB, free: 9.875 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003802/0.6221, allocations: 2.727 MB / 0.5437 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005622/0.6278, allocations: 3.115 MB / 0.5467 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01292/0.6407, allocations: 9.56 MB / 0.556 GB, free: 10.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6407, allocations: 0 / 0.556 GB, free: 10.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.6407, allocations: 0 / 0.556 GB, free: 10.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003603/0.6411, allocations: 0 / 0.556 GB, free: 10.42 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.01966/0.6608, allocations: 6.749 MB / 0.5626 GB, free: 3.586 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/0.6609, allocations: 11.89 kB / 0.5626 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002485/0.6633, allocations: 0.93 MB / 0.5636 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03605/0.6994, allocations: 6.136 MB / 0.5695 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01209/0.7116, allocations: 4.774 MB / 0.5742 GB, free: 7.621 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002806/0.7119, allocations: 308.2 kB / 0.5745 GB, free: 7.316 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001689/0.7136, allocations: 419.5 kB / 0.5749 GB, free: 6.906 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02472/0.7383, allocations: 12.88 MB / 0.5875 GB, free: 9.129 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001698/0.7385, allocations: 55.53 kB / 0.5875 GB, free: 9.074 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005754/0.7391, allocations: 195.8 kB / 0.5877 GB, free: 8.883 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004152/0.7432, allocations: 2.503 MB / 0.5902 GB, free: 6.379 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02133/0.7646, allocations: 10.59 MB / 0.6005 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3657/1.13, allocations: 49.67 MB / 0.649 GB, free: 108.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/1.141, allocations: 4.423 MB / 0.6533 GB, free: 108.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002994/1.144, allocations: 2.328 MB / 0.6556 GB, free: 107.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/1.155, allocations: 6.503 MB / 0.6619 GB, free: 104.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.343e-05/1.155, allocations: 57.25 kB / 0.662 GB, free: 104.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 7.794e-06/1.155, allocations: 0 / 0.662 GB, free: 104.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.04997/1.205, allocations: 17.64 MB / 0.6792 GB, free: 97.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/1.205, allocations: 231.6 kB / 0.6794 GB, free: 96.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01281/1.218, allocations: 5.939 MB / 0.6852 GB, free: 94.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005795/1.219, allocations: 51.8 kB / 0.6853 GB, free: 94.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003727/1.222, allocations: 4.11 MB / 0.6893 GB, free: 91.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00122/1.224, allocations: 0.777 MB / 0.6901 GB, free: 91.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002272/1.226, allocations: 1.454 MB / 0.6915 GB, free: 90.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.594e-05/1.226, allocations: 311.2 kB / 0.6918 GB, free: 90.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004073/1.23, allocations: 2.419 MB / 0.6941 GB, free: 89.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005705/1.236, allocations: 6.929 MB / 0.7009 GB, free: 82.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/1.246, allocations: 10.13 MB / 0.7108 GB, free: 74.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001672/1.246, allocations: 47.31 kB / 0.7109 GB, free: 74.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=942) (initialization): time 0.019/1.265, allocations: 9.578 MB / 0.7202 GB, free: 70.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002108/1.266, allocations: 71.53 kB / 0.7203 GB, free: 70.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003253/1.266, allocations: 157.2 kB / 0.7204 GB, free: 70.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001988/1.268, allocations: 0.7505 MB / 0.7212 GB, free: 69.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005484/1.273, allocations: 1.666 MB / 0.7228 GB, free: 68.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007068/1.281, allocations: 6.984 MB / 0.7296 GB, free: 61.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007397/1.288, allocations: 391.6 kB / 0.73 GB, free: 61.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001455/1.289, allocations: 444 kB / 0.7304 GB, free: 60.62 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.006133/1.296, allocations: 2.691 MB / 0.733 GB, free: 57.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001595/1.297, allocations: 489.6 kB / 0.7335 GB, free: 57.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006016/1.303, allocations: 3.301 MB / 0.7367 GB, free: 54.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.991e-05/1.303, allocations: 20 kB / 0.7367 GB, free: 54.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.52e-05/1.303, allocations: 8 kB / 0.7367 GB, free: 54.08 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.576e-05/1.303, allocations: 15.39 kB / 0.7368 GB, free: 54.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01884/1.322, allocations: 8.834 MB / 0.7454 GB, free: 45.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-05/1.322, allocations: 7.75 kB / 0.7454 GB, free: 45.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/1.324, allocations: 323.5 kB / 0.7457 GB, free: 44.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00129/1.325, allocations: 0.4944 MB / 0.7462 GB, free: 44.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002269/1.325, allocations: 35.98 kB / 0.7462 GB, free: 44.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005448/1.331, allocations: 6.295 MB / 0.7524 GB, free: 37.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.331, allocations: 4 kB / 0.7524 GB, free: 37.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007839/1.339, allocations: 5.977 MB / 0.7582 GB, free: 31.72 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002582/1.341, allocations: 0.8109 MB / 0.759 GB, free: 30.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001648/1.343, allocations: 35.75 kB / 0.759 GB, free: 30.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002923/1.346, allocations: 99.88 kB / 0.7591 GB, free: 30.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003576/1.346, allocations: 116.9 kB / 0.7592 GB, free: 30.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/1.346, allocations: 56 kB / 0.7593 GB, free: 30.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007716/1.354, allocations: 3.804 MB / 0.763 GB, free: 26.81 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/1.354, allocations: 0 / 0.763 GB, free: 26.81 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009124/1.363, allocations: 1.233 MB / 0.7642 GB, free: 25.58 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.01061/1.374, allocations: 6.638 MB / 0.7707 GB, free: 18.88 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01009/1.384, allocations: 6.551 MB / 0.7771 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.384, allocations: 0.5 kB / 0.7771 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00233/1.386, allocations: 1.781 MB / 0.7788 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006572/1.393, allocations: 0.6688 MB / 0.7795 GB, free: 9.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3525/1.746, allocations: 75.06 MB / 0.8528 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00592/1.752, allocations: 4.125 MB / 0.8568 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005615/1.757, allocations: 2.32 MB / 0.8591 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003392/1.761, allocations: 2.574 MB / 0.8616 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.042e-06/1.761, allocations: 0 / 0.8616 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1473/1.908, allocations: 95.6 MB / 0.955 GB, free: 81.52 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/1.908, allocations: 223.4 kB / 0.9552 GB, free: 81.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.552/6.46, allocations: 0 / 0.9552 GB, free: 81.25 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