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.001421/0.001421, allocations: 105.3 kB / 16.4 MB, free: 6.457 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.001615/0.001615, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.298/1.298, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.1953/0.1953, allocations: 43.53 MB / 314.1 MB, free: 440 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.001486/0.001486, allocations: 77.45 kB / 441.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1032, 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.01526/0.1185, allocations: 14.24 MB / 0.5013 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009603/0.1281, allocations: 4.669 MB / 0.5059 GB, free: 9.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002337/0.1305, allocations: 91.75 kB / 0.506 GB, free: 9.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007313/0.1379, allocations: 3.773 MB / 0.5097 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00676/0.1447, allocations: 2.482 MB / 0.5121 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002598/0.1473, allocations: 0.9982 MB / 0.5131 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008703/0.156, allocations: 6.03 MB / 0.519 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006303/0.1624, allocations: 4.73 MB / 0.5236 GB, free: 7.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003635/0.166, allocations: 2.122 MB / 0.5257 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004263/0.1703, allocations: 2.882 MB / 0.5285 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001451/0.1718, allocations: 463.9 kB / 0.5289 GB, free: 1.574 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003495/0.1753, allocations: 1.482 MB / 0.5304 GB, free: 92 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.215/0.3904, allocations: 2.704 MB / 0.533 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005033/0.3955, allocations: 3.096 MB / 0.536 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01328/0.4088, allocations: 9.845 MB / 0.5456 GB, free: 9.641 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.4088, allocations: 0.5625 kB / 0.5456 GB, free: 9.641 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4088, allocations: 0 / 0.5456 GB, free: 9.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003732/0.4092, allocations: 0.6562 kB / 0.5456 GB, free: 9.641 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.02157/0.4308, allocations: 6.913 MB / 0.5524 GB, free: 6.871 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.4309, allocations: 13.95 kB / 0.5524 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002783/0.4337, allocations: 0.9265 MB / 0.5533 GB, free: 6.781 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03806/0.4717, allocations: 6.185 MB / 0.5593 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01162/0.4834, allocations: 4.86 MB / 0.5641 GB, free: 3.074 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002912/0.4837, allocations: 306 kB / 0.5644 GB, free: 2.977 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002256/0.486, allocations: 422.5 kB / 0.5648 GB, free: 2.867 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02697/0.513, allocations: 12.87 MB / 0.5774 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001974/0.5133, allocations: 65.77 kB / 0.5774 GB, free: 11.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009099/0.5142, allocations: 201.1 kB / 0.5776 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004115/0.5183, allocations: 2.502 MB / 0.5801 GB, free: 9.367 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02245/0.5408, allocations: 10.57 MB / 0.5904 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06788/0.6087, allocations: 49.55 MB / 0.6388 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/0.6203, allocations: 4.417 MB / 0.6431 GB, free: 8.309 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003427/0.6238, allocations: 2.326 MB / 0.6454 GB, free: 5.973 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01381/0.6377, allocations: 6.531 MB / 0.6517 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.923e-05/0.6378, allocations: 58.56 kB / 0.6518 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=183): time 6.022e-06/0.6378, allocations: 0 / 0.6518 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=195): time 0.05064/0.6884, allocations: 18.01 MB / 0.6694 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.6886, allocations: 230.8 kB / 0.6696 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01249/0.7011, allocations: 5.95 MB / 0.6754 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005637/0.7017, allocations: 49.7 kB / 0.6755 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004314/0.706, allocations: 4.269 MB / 0.6796 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001462/0.7075, allocations: 0.8033 MB / 0.6804 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004094/0.7117, allocations: 1.471 MB / 0.6819 GB, free: 424 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.7118, allocations: 305.1 kB / 0.6821 GB, free: 116 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004299/0.7161, allocations: 2.423 MB / 0.6845 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007654/0.7238, allocations: 6.919 MB / 0.6913 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01216/0.736, allocations: 10.13 MB / 0.7012 GB, free: 8.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001466/0.7362, allocations: 52 kB / 0.7012 GB, free: 8.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.01934/0.7555, allocations: 9.616 MB / 0.7106 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.7557, allocations: 72 kB / 0.7107 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002576/0.756, allocations: 164 kB / 0.7108 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001965/0.7579, allocations: 0.7291 MB / 0.7115 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005815/0.7638, allocations: 1.669 MB / 0.7132 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008153/0.772, allocations: 6.965 MB / 0.72 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005953/0.7779, allocations: 395.7 kB / 0.7203 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001397/0.7794, allocations: 448 kB / 0.7208 GB, free: 4.727 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.00608/0.7854, allocations: 2.702 MB / 0.7234 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/0.7866, allocations: 0.5044 MB / 0.7239 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006913/0.7936, allocations: 3.289 MB / 0.7271 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.525e-05/0.7936, allocations: 35.92 kB / 0.7271 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.029e-05/0.7937, allocations: 4 kB / 0.7271 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-05/0.7937, allocations: 11.97 kB / 0.7272 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02152/0.8152, allocations: 8.819 MB / 0.7358 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/0.8153, allocations: 0 / 0.7358 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/0.817, allocations: 323.5 kB / 0.7361 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001507/0.8185, allocations: 0.5025 MB / 0.7366 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002363/0.8188, allocations: 43.92 kB / 0.7366 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006678/0.8255, allocations: 6.293 MB / 0.7428 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.8255, allocations: 4 kB / 0.7428 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008553/0.834, allocations: 6.007 MB / 0.7486 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002488/0.8366, allocations: 0.8333 MB / 0.7494 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/0.8378, allocations: 36.83 kB / 0.7495 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002502/0.8403, allocations: 99.88 kB / 0.7496 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003241/0.8407, allocations: 109 kB / 0.7497 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001638/0.8409, allocations: 63.11 kB / 0.7497 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007606/0.8485, allocations: 3.804 MB / 0.7535 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8485, allocations: 0 / 0.7535 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007398/0.8559, allocations: 1.234 MB / 0.7547 GB, free: 1.609 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.2338/1.09, allocations: 6.646 MB / 0.7611 GB, free: 203.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0105/1.1, allocations: 5.941 MB / 0.767 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.1, allocations: 1.125 kB / 0.767 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002524/1.103, allocations: 1.787 MB / 0.7687 GB, free: 202.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004999/1.108, allocations: 0.6532 MB / 0.7693 GB, free: 202.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07719/1.185, allocations: 59.66 MB / 0.8276 GB, free: 153 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005679/1.191, allocations: 4.124 MB / 0.8316 GB, free: 148.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005242/1.196, allocations: 2.327 MB / 0.8339 GB, free: 146.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003698/1.2, allocations: 2.569 MB / 0.8364 GB, free: 143.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.222e-06/1.2, allocations: 4 kB / 0.8364 GB, free: 143.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1244/1.324, allocations: 90.82 MB / 0.9251 GB, free: 53.08 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.15/21.47, allocations: 7.938 kB / 0.9251 GB, free: 53.07 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 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.csv","/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