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.001367/0.001367, allocations: 108.8 kB / 16.41 MB, free: 6.512 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.0014/0.0014, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.405/1.405, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2121/0.2121, allocations: 43.52 MB / 314.1 MB, free: 460 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.00216/0.00216, allocations: 65.47 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1081, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01662/0.1247, allocations: 14.23 MB / 0.5013 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.135, allocations: 4.669 MB / 0.5059 GB, free: 9.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/0.1373, allocations: 95.69 kB / 0.506 GB, free: 9.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007734/0.1451, allocations: 3.777 MB / 0.5097 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006939/0.152, allocations: 2.42 MB / 0.512 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002752/0.1548, allocations: 0.9982 MB / 0.513 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01093/0.1658, allocations: 6.03 MB / 0.5189 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007529/0.1734, allocations: 4.734 MB / 0.5235 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004001/0.1774, allocations: 2.122 MB / 0.5256 GB, free: 5.012 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0046/0.182, allocations: 2.882 MB / 0.5284 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001495/0.1835, allocations: 456 kB / 0.5288 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003728/0.1873, allocations: 1.479 MB / 0.5303 GB, free: 200 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2185/0.4058, allocations: 2.682 MB / 0.5329 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006007/0.4119, allocations: 3.093 MB / 0.5359 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01444/0.4263, allocations: 9.844 MB / 0.5455 GB, free: 9.594 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.4264, allocations: 3.938 kB / 0.5455 GB, free: 9.594 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4264, allocations: 0 / 0.5455 GB, free: 9.594 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003787/0.4268, allocations: 5.094 kB / 0.5455 GB, free: 9.594 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.02189/0.4487, allocations: 6.924 MB / 0.5523 GB, free: 6.824 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.4487, allocations: 15.08 kB / 0.5523 GB, free: 6.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002907/0.4517, allocations: 0.9201 MB / 0.5532 GB, free: 6.734 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04024/0.4919, allocations: 6.181 MB / 0.5593 GB, free: 5.746 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/0.5037, allocations: 4.861 MB / 0.564 GB, free: 3.035 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002443/0.504, allocations: 306.9 kB / 0.5643 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001893/0.5059, allocations: 420.7 kB / 0.5647 GB, free: 2.828 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0265/0.5324, allocations: 12.88 MB / 0.5773 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002472/0.5327, allocations: 65.48 kB / 0.5773 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008435/0.5335, allocations: 198.6 kB / 0.5775 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004269/0.5378, allocations: 2.497 MB / 0.58 GB, free: 9.398 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02322/0.5611, allocations: 10.58 MB / 0.5903 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06733/0.6284, allocations: 49.54 MB / 0.6387 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/0.64, allocations: 4.425 MB / 0.643 GB, free: 8.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003583/0.6436, allocations: 2.327 MB / 0.6453 GB, free: 6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01241/0.656, allocations: 6.535 MB / 0.6517 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.146e-05/0.6561, allocations: 51.31 kB / 0.6517 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=183): time 5.52e-06/0.6562, allocations: 0 / 0.6517 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=195): time 0.05122/0.7074, allocations: 18.02 MB / 0.6693 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001877/0.7076, allocations: 230.9 kB / 0.6695 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01008/0.7177, allocations: 5.946 MB / 0.6753 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004555/0.7182, allocations: 61.7 kB / 0.6754 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003666/0.7219, allocations: 4.266 MB / 0.6795 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001271/0.7232, allocations: 0.8012 MB / 0.6803 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002393/0.7256, allocations: 1.472 MB / 0.6818 GB, free: 448 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.7257, allocations: 301.1 kB / 0.6821 GB, free: 144 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003965/0.7297, allocations: 2.415 MB / 0.6844 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007643/0.7373, allocations: 6.929 MB / 0.6912 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01291/0.7503, allocations: 10.13 MB / 0.7011 GB, free: 8.934 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001179/0.7504, allocations: 44 kB / 0.7011 GB, free: 8.891 MB / 0.545 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.01892/0.7694, allocations: 9.616 MB / 0.7105 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.7696, allocations: 72.97 kB / 0.7106 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002571/0.7698, allocations: 164 kB / 0.7107 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002087/0.7719, allocations: 0.7355 MB / 0.7114 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00573/0.7777, allocations: 1.661 MB / 0.7131 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009074/0.7868, allocations: 6.979 MB / 0.7199 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006293/0.7931, allocations: 395.7 kB / 0.7203 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001474/0.7946, allocations: 444 kB / 0.7207 GB, free: 4.781 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.006754/0.8014, allocations: 2.699 MB / 0.7233 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001348/0.8028, allocations: 0.5083 MB / 0.7238 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007312/0.8101, allocations: 3.293 MB / 0.727 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.291e-05/0.8102, allocations: 20 kB / 0.727 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/0.8102, allocations: 4 kB / 0.7271 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.193e-05/0.8102, allocations: 15.95 kB / 0.7271 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02211/0.8323, allocations: 8.817 MB / 0.7357 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.473e-05/0.8324, allocations: 4 kB / 0.7357 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/0.8342, allocations: 327.8 kB / 0.736 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/0.8359, allocations: 0.4933 MB / 0.7365 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003488/0.8363, allocations: 43.88 kB / 0.7365 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008011/0.8444, allocations: 6.298 MB / 0.7427 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.8444, allocations: 7.938 kB / 0.7427 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01049/0.8549, allocations: 6 MB / 0.7485 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002511/0.8574, allocations: 0.8294 MB / 0.7493 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001508/0.859, allocations: 39.98 kB / 0.7494 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002845/0.8618, allocations: 99.88 kB / 0.7495 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004454/0.8623, allocations: 113 kB / 0.7496 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002236/0.8625, allocations: 51.98 kB / 0.7496 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.009235/0.8718, allocations: 3.808 MB / 0.7534 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.72e-07/0.8718, allocations: 0 / 0.7534 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008784/0.8806, allocations: 1.23 MB / 0.7546 GB, free: 1.676 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.2445/1.125, allocations: 6.648 MB / 0.761 GB, free: 204 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01084/1.136, allocations: 5.935 MB / 0.7668 GB, free: 203.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.136, allocations: 0 / 0.7668 GB, free: 203.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002334/1.138, allocations: 1.789 MB / 0.7686 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004016/1.142, allocations: 0.6565 MB / 0.7692 GB, free: 202.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07604/1.219, allocations: 59.67 MB / 0.8275 GB, free: 153.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006075/1.225, allocations: 4.128 MB / 0.8315 GB, free: 149 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005167/1.23, allocations: 2.319 MB / 0.8338 GB, free: 146.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003397/1.233, allocations: 2.569 MB / 0.8363 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of SimCode: time 9.72e-07/1.233, allocations: 0 / 0.8363 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1644/1.398, allocations: 90.83 MB / 0.925 GB, free: 53.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.81/23.21, allocations: 11.94 kB / 0.925 GB, free: 53.22 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