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.0008362/0.0008362, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008482/0.0008482, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.8408/0.8408, allocations: 158.6 MB / 185 MB, free: 3.023 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.1271/0.1271, allocations: 32.37 MB / 269.6 MB, free: 14.97 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.794e-06/1.794e-06, allocations: 0 / 406.9 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.797e-05, allocations: 6.078 kB / 406.9 MB, free: 2.184 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.008749/0.008767, allocations: 12.41 MB / 419.3 MB, free: 5.707 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006229/0.015, allocations: 4.474 MB / 423.8 MB, free: 1.219 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009557/0.01595, allocations: 107.5 kB / 423.9 MB, free: 1.113 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00354/0.01949, allocations: 3.878 MB / 427.8 MB, free: 13.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00299/0.02248, allocations: 2.57 MB / 430.3 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.02395, allocations: 1.103 MB / 431.4 MB, free: 9.535 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004667/0.02861, allocations: 6.719 MB / 438.2 MB, free: 2.801 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003249/0.03186, allocations: 4.231 MB / 442.4 MB, free: 14.5 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002599/0.03446, allocations: 3.251 MB / 445.6 MB, free: 11.24 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002774/0.03724, allocations: 3.168 MB / 448.8 MB, free: 8.066 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004544/0.03769, allocations: 468 kB / 449.3 MB, free: 7.609 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.03918, allocations: 1.447 MB / 450.7 MB, free: 6.16 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001965/0.04114, allocations: 2.906 MB / 453.6 MB, free: 3.246 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001404/0.04255, allocations: 1.834 MB / 455.5 MB, free: 1.406 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007552/0.0501, allocations: 9.933 MB / 465.4 MB, free: 7.441 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.0501, allocations: 0 / 465.4 MB, free: 7.441 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.0501, allocations: 0 / 465.4 MB, free: 7.441 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001482/0.05025, allocations: 0 / 465.4 MB, free: 7.441 MB / 442.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.009106/0.05936, allocations: 6.913 MB / 472.3 MB, free: 460 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.05941, allocations: 11.97 kB / 472.3 MB, free: 448 kB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.1841/0.2435, allocations: 0.925 MB / 473.2 MB, free: 94.95 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01932/0.2628, allocations: 6.61 MB / 479.8 MB, free: 94.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00637/0.2692, allocations: 4.263 MB / 484.1 MB, free: 92.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.2693, allocations: 308.7 kB / 484.4 MB, free: 92.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004556/0.2698, allocations: 412.1 kB / 484.8 MB, free: 92.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01201/0.2818, allocations: 12.93 MB / 497.7 MB, free: 86.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001047/0.2819, allocations: 63.09 kB / 497.8 MB, free: 86.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003551/0.2823, allocations: 201 kB / 498 MB, free: 86.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002727/0.285, allocations: 2.504 MB / 0.4888 GB, free: 86.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01502/0.3, allocations: 10.53 MB / 0.4991 GB, free: 82.79 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03398/0.334, allocations: 47.97 MB / 0.5459 GB, free: 36.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005698/0.3397, allocations: 3.958 MB / 0.5498 GB, free: 32.12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/0.3412, allocations: 2.147 MB / 0.5519 GB, free: 29.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00577/0.347, allocations: 6.075 MB / 0.5578 GB, free: 24 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.347, allocations: 59.59 kB / 0.5579 GB, free: 23.94 MB / 442.7 MB Notification: Performance of pre-optimization done (n=183): time 5.18e-06/0.3471, allocations: 3.047 kB / 0.5579 GB, free: 23.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=195): time 0.02559/0.3726, allocations: 18.58 MB / 0.576 GB, free: 5.254 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.3727, allocations: 231 kB / 0.5762 GB, free: 4.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005557/0.3783, allocations: 6.646 MB / 0.5827 GB, free: 14.36 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001694/0.3784, allocations: 53.7 kB / 0.5828 GB, free: 14.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00224/0.3807, allocations: 4.236 MB / 0.5869 GB, free: 10.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006072/0.3813, allocations: 0.787 MB / 0.5877 GB, free: 9.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00136/0.3827, allocations: 1.445 MB / 0.5891 GB, free: 7.777 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.904e-05/0.3827, allocations: 301.1 kB / 0.5894 GB, free: 7.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002615/0.3853, allocations: 2.423 MB / 0.5917 GB, free: 5.055 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004874/0.3902, allocations: 6.976 MB / 0.5985 GB, free: 11.82 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007855/0.3981, allocations: 10.13 MB / 0.6084 GB, free: 15.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003751/0.3984, allocations: 44 kB / 0.6085 GB, free: 15.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=942) (initialization): time 0.0109/0.4093, allocations: 9.612 MB / 0.6179 GB, free: 5.801 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.485e-05/0.4094, allocations: 72 kB / 0.6179 GB, free: 5.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.893e-05/0.4095, allocations: 163.9 kB / 0.6181 GB, free: 5.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.4105, allocations: 0.7355 MB / 0.6188 GB, free: 4.828 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002634/0.4131, allocations: 1.665 MB / 0.6204 GB, free: 3.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005755/0.4189, allocations: 6.807 MB / 0.6271 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003913/0.4228, allocations: 455.5 kB / 0.6275 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004273/0.4232, allocations: 452 kB / 0.6279 GB, free: 11.25 MB / 0.4948 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.003817/0.4271, allocations: 2.7 MB / 0.6306 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000867/0.4279, allocations: 0.5121 MB / 0.6311 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003658/0.4316, allocations: 3.287 MB / 0.6343 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/0.4316, allocations: 20 kB / 0.6343 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.4316, allocations: 8 kB / 0.6343 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.4316, allocations: 8.625 kB / 0.6343 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/0.4417, allocations: 8.541 MB / 0.6427 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.4418, allocations: 0 / 0.6427 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000883/0.4426, allocations: 327.5 kB / 0.643 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008247/0.4435, allocations: 0.4975 MB / 0.6435 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.723e-05/0.4436, allocations: 36 kB / 0.6435 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005139/0.4487, allocations: 6.16 MB / 0.6495 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.4487, allocations: 4 kB / 0.6495 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1923/0.641, allocations: 5.979 MB / 0.6554 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002086/0.6431, allocations: 0.8252 MB / 0.6562 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003446/0.6434, allocations: 34.86 kB / 0.6562 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.6446, allocations: 176.9 kB / 0.6564 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/0.6448, allocations: 117.7 kB / 0.6565 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.388e-05/0.6449, allocations: 56.92 kB / 0.6565 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003854/0.6487, allocations: 4.135 MB / 0.6606 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6487, allocations: 0 / 0.6606 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003994/0.6527, allocations: 1.435 MB / 0.662 GB, free: 150.5 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.005195/0.6579, allocations: 6.66 MB / 0.6685 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006423/0.6643, allocations: 5.707 MB / 0.674 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.6643, allocations: 0 / 0.674 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00157/0.6659, allocations: 1.673 MB / 0.6757 GB, free: 145 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/0.6686, allocations: 0.6606 MB / 0.6763 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06197/0.7306, allocations: 61.01 MB / 0.7359 GB, free: 99.33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003077/0.7337, allocations: 3.614 MB / 0.7394 GB, free: 96.69 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003227/0.7369, allocations: 2.339 MB / 0.7417 GB, free: 95.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0018/0.7387, allocations: 2.58 MB / 0.7442 GB, free: 92.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.092e-06/0.7387, allocations: 4 kB / 0.7442 GB, free: 92.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09003/0.8287, allocations: 95.06 MB / 0.8371 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.85, allocations: 8 kB / 0.8371 GB, free: 14.05 MB / 0.5261 GB " [Timeout remaining time 648] (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.209511193446815]