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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008442/0.0008442, allocations: 79.53 kB / 20.02 MB, free: 4.508 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008171/0.0008171, allocations: 173.9 kB / 23.32 MB, free: 1.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8622/0.8622, allocations: 158.6 MB / 185.1 MB, free: 3.012 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1615/0.1615, allocations: 32.37 MB / 269.7 MB, free: 14.92 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 407.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.86e-05, allocations: 2.281 kB / 407.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.009524/0.009543, allocations: 12.43 MB / 419.5 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007859/0.0174, allocations: 4.455 MB / 424 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/0.01946, allocations: 107.5 kB / 424.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004046/0.02351, allocations: 3.881 MB / 428 MB, free: 8.414 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004984/0.02849, allocations: 2.566 MB / 430.5 MB, free: 5.836 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.03012, allocations: 1.107 MB / 431.7 MB, free: 4.727 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.1824/0.2126, allocations: 6.702 MB / 438.4 MB, free: 17.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004012/0.2166, allocations: 4.234 MB / 442.6 MB, free: 16.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003522/0.2201, allocations: 3.255 MB / 445.8 MB, free: 16.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002922/0.223, allocations: 3.167 MB / 449 MB, free: 16.42 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00056/0.2236, allocations: 467.8 kB / 449.5 MB, free: 16.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.2253, allocations: 1.447 MB / 450.9 MB, free: 16.4 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001765/0.2271, allocations: 2.905 MB / 453.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.2285, allocations: 1.829 MB / 455.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00517/0.2336, allocations: 9.936 MB / 465.6 MB, free: 9.527 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2336, allocations: 7.375 kB / 465.6 MB, free: 9.523 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2336, allocations: 0 / 465.6 MB, free: 9.523 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.669e-05/0.2337, allocations: 0 / 465.6 MB, free: 9.523 MB / 362.7 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.006252/0.24, allocations: 6.919 MB / 472.5 MB, free: 4.867 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.24, allocations: 12 kB / 472.5 MB, free: 4.863 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005854/0.2406, allocations: 0.9239 MB / 473.4 MB, free: 4.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0185/0.2591, allocations: 6.611 MB / 480.1 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008216/0.2673, allocations: 4.294 MB / 484.4 MB, free: 9.824 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001871/0.2675, allocations: 305.5 kB / 484.6 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/0.2688, allocations: 422.5 kB / 485.1 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01797/0.2867, allocations: 12.92 MB / 498 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001375/0.2869, allocations: 60.97 kB / 498 MB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003814/0.2872, allocations: 204.6 kB / 498.2 MB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00249/0.2897, allocations: 2.502 MB / 0.489 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01535/0.3051, allocations: 10.53 MB / 0.4993 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04832/0.3534, allocations: 48.08 MB / 0.5462 GB, free: 13.93 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007347/0.3607, allocations: 3.972 MB / 0.5501 GB, free: 9.941 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00233/0.3631, allocations: 2.136 MB / 0.5522 GB, free: 7.789 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008967/0.372, allocations: 6.079 MB / 0.5581 GB, free: 1.715 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.3721, allocations: 55.72 kB / 0.5582 GB, free: 1.652 MB / 458.7 MB Notification: Performance of pre-optimization done (n=183): time 6.582e-06/0.3721, allocations: 0 / 0.5582 GB, free: 1.652 MB / 458.7 MB Notification: Performance of matching and sorting (n=195): time 0.02862/0.4007, allocations: 18.58 MB / 0.5763 GB, free: 15.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.931e-05/0.4008, allocations: 234.4 kB / 0.5766 GB, free: 14.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006473/0.4073, allocations: 6.643 MB / 0.5831 GB, free: 8.113 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002747/0.4075, allocations: 57.7 kB / 0.5831 GB, free: 8.051 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002336/0.4099, allocations: 4.229 MB / 0.5872 GB, free: 3.844 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000697/0.4106, allocations: 0.7902 MB / 0.588 GB, free: 3.062 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/0.4118, allocations: 1.452 MB / 0.5894 GB, free: 1.605 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.843e-05/0.4119, allocations: 301.1 kB / 0.5897 GB, free: 1.309 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002271/0.4141, allocations: 2.423 MB / 0.5921 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004918/0.419, allocations: 6.969 MB / 0.5989 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008525/0.4276, allocations: 10.14 MB / 0.6088 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001224/0.4277, allocations: 44 kB / 0.6088 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.2079/0.6356, allocations: 9.598 MB / 0.6182 GB, free: 162.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.6357, allocations: 73.48 kB / 0.6183 GB, free: 162.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002116/0.6359, allocations: 159 kB / 0.6184 GB, free: 162.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.6374, allocations: 0.7332 MB / 0.6191 GB, free: 162.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004199/0.6416, allocations: 1.665 MB / 0.6208 GB, free: 162.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005602/0.6472, allocations: 6.816 MB / 0.6274 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005043/0.6522, allocations: 457.6 kB / 0.6279 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/0.6534, allocations: 449 kB / 0.6283 GB, free: 159.8 MB / 0.5105 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.004668/0.6581, allocations: 2.687 MB / 0.6309 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001153/0.6593, allocations: 0.5127 MB / 0.6314 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004668/0.6639, allocations: 3.283 MB / 0.6346 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.842e-05/0.664, allocations: 21.86 kB / 0.6346 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.664, allocations: 5.875 kB / 0.6347 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.221e-05/0.664, allocations: 11.36 kB / 0.6347 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/0.6792, allocations: 8.549 MB / 0.643 GB, free: 154.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.6792, allocations: 3.219 kB / 0.643 GB, free: 154.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008739/0.6801, allocations: 320.4 kB / 0.6433 GB, free: 154.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008184/0.6809, allocations: 0.5012 MB / 0.6438 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-05/0.681, allocations: 44.95 kB / 0.6439 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003922/0.6849, allocations: 6.138 MB / 0.6498 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.6849, allocations: 11.25 kB / 0.6499 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005938/0.6909, allocations: 5.988 MB / 0.6557 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001893/0.6928, allocations: 0.8281 MB / 0.6565 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000552/0.6933, allocations: 45.89 kB / 0.6566 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.6946, allocations: 164.6 kB / 0.6567 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/0.6948, allocations: 128.7 kB / 0.6568 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.842e-05/0.6949, allocations: 47 kB / 0.6569 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004642/0.6995, allocations: 4.138 MB / 0.6609 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6995, allocations: 0 / 0.6609 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005645/0.7052, allocations: 1.427 MB / 0.6623 GB, free: 146.3 MB / 0.5105 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.005838/0.711, allocations: 6.658 MB / 0.6688 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007266/0.7183, allocations: 5.711 MB / 0.6744 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/0.7183, allocations: 0 / 0.6744 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.72, allocations: 1.668 MB / 0.676 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/0.7232, allocations: 0.6759 MB / 0.6767 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07341/0.7966, allocations: 61.02 MB / 0.7363 GB, free: 65.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003797/0.8004, allocations: 3.612 MB / 0.7398 GB, free: 62.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003721/0.8041, allocations: 2.335 MB / 0.7421 GB, free: 59.99 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002715/0.8068, allocations: 2.586 MB / 0.7446 GB, free: 57.41 MB / 0.5105 GB Notification: Performance of SimCode: time 1.563e-06/0.8068, allocations: 0 / 0.7446 GB, free: 57.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2932/1.1, allocations: 95.25 MB / 0.8376 GB, free: 174.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12.46, allocations: 3.875 kB / 0.8376 GB, free: 174.3 MB / 0.5261 GB " [Timeout remaining time 647] (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.000219912 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.693530793301761]