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.0008769/0.0008769, 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.001128/0.001128, allocations: 169.9 kB / 23.21 MB, free: 1.348 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.8388/0.8388, allocations: 158.6 MB / 185 MB, free: 3.035 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.1293/0.1293, allocations: 32.37 MB / 269.6 MB, free: 14.96 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 2.114e-06/2.114e-06, allocations: 0 / 406.9 MB, free: 2.203 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.561e-05, allocations: 2.281 kB / 406.9 MB, free: 2.199 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.009424/0.009449, allocations: 12.43 MB / 419.3 MB, free: 5.711 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007695/0.01714, allocations: 4.474 MB / 423.8 MB, free: 1.223 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.01879, allocations: 103.5 kB / 423.9 MB, free: 1.121 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003609/0.0224, allocations: 3.878 MB / 427.8 MB, free: 13.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004442/0.02684, allocations: 2.574 MB / 430.3 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.0282, allocations: 1.095 MB / 431.4 MB, free: 9.547 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005663/0.03387, allocations: 6.715 MB / 438.1 MB, free: 2.816 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003483/0.03735, allocations: 4.235 MB / 442.4 MB, free: 14.51 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003674/0.04102, allocations: 3.255 MB / 445.6 MB, free: 11.25 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002828/0.04385, allocations: 3.164 MB / 448.8 MB, free: 8.078 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006086/0.04446, allocations: 471.9 kB / 449.3 MB, free: 7.617 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.04609, allocations: 1.447 MB / 450.7 MB, free: 6.168 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001834/0.04793, allocations: 2.914 MB / 453.6 MB, free: 3.246 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.04944, allocations: 1.826 MB / 455.4 MB, free: 1.414 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00784/0.05728, allocations: 9.933 MB / 465.4 MB, free: 7.449 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.05729, allocations: 0 / 465.4 MB, free: 7.449 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.05729, allocations: 4 kB / 465.4 MB, free: 7.445 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002416/0.05753, allocations: 0 / 465.4 MB, free: 7.445 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.01123/0.06876, allocations: 6.913 MB / 472.3 MB, free: 464 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.06881, allocations: 12.03 kB / 472.3 MB, free: 452 kB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.1519/0.2207, allocations: 0.9217 MB / 473.2 MB, free: 95.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01856/0.2393, allocations: 6.61 MB / 479.8 MB, free: 94.44 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005889/0.2452, allocations: 4.265 MB / 484.1 MB, free: 92.83 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.2453, allocations: 312.1 kB / 484.4 MB, free: 92.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008767/0.2462, allocations: 410.5 kB / 484.8 MB, free: 92.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01469/0.2609, allocations: 12.93 MB / 497.7 MB, free: 86.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00021/0.2611, allocations: 55.91 kB / 497.8 MB, free: 86.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006345/0.2618, allocations: 208.8 kB / 498 MB, free: 86.58 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002537/0.2643, allocations: 2.502 MB / 0.4888 GB, free: 86.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0172/0.2815, allocations: 10.53 MB / 0.4991 GB, free: 82.89 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04094/0.3224, allocations: 47.98 MB / 0.5459 GB, free: 36.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005386/0.3278, allocations: 3.96 MB / 0.5498 GB, free: 32.13 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.3292, allocations: 2.143 MB / 0.5519 GB, free: 29.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00534/0.3346, allocations: 6.074 MB / 0.5578 GB, free: 24.01 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.3346, allocations: 59.59 kB / 0.5579 GB, free: 23.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=183): time 3.076e-06/0.3346, allocations: 4 kB / 0.5579 GB, free: 23.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=195): time 0.02306/0.3577, allocations: 18.57 MB / 0.576 GB, free: 5.266 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.3577, allocations: 231.1 kB / 0.5762 GB, free: 4.992 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004982/0.3627, allocations: 6.65 MB / 0.5827 GB, free: 14.36 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.5e-05/0.3628, allocations: 53.7 kB / 0.5828 GB, free: 14.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001976/0.3648, allocations: 4.232 MB / 0.5869 GB, free: 10.04 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005147/0.3653, allocations: 0.7909 MB / 0.5877 GB, free: 9.238 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001198/0.3665, allocations: 1.441 MB / 0.5891 GB, free: 7.789 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.919e-05/0.3666, allocations: 305.1 kB / 0.5894 GB, free: 7.488 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0023/0.3689, allocations: 2.419 MB / 0.5917 GB, free: 5.066 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004636/0.3735, allocations: 6.976 MB / 0.5985 GB, free: 11.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007465/0.381, allocations: 10.13 MB / 0.6084 GB, free: 15.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.345e-05/0.381, allocations: 44 kB / 0.6085 GB, free: 15.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=942) (initialization): time 0.01014/0.3912, allocations: 9.615 MB / 0.6179 GB, free: 5.805 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.723e-05/0.3912, allocations: 72 kB / 0.6179 GB, free: 5.734 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.363e-05/0.3913, allocations: 172 kB / 0.6181 GB, free: 5.566 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009269/0.3922, allocations: 0.7238 MB / 0.6188 GB, free: 4.836 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00248/0.3947, allocations: 1.673 MB / 0.6204 GB, free: 3.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005143/0.3999, allocations: 6.801 MB / 0.6271 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003201/0.4031, allocations: 455.5 kB / 0.6275 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003641/0.4034, allocations: 444 kB / 0.6279 GB, free: 11.26 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.00338/0.4068, allocations: 2.71 MB / 0.6306 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006051/0.4074, allocations: 0.5083 MB / 0.6311 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003741/0.4111, allocations: 3.287 MB / 0.6343 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.4112, allocations: 20 kB / 0.6343 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.4112, allocations: 11.83 kB / 0.6343 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.4112, allocations: 12.62 kB / 0.6343 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009357/0.4205, allocations: 8.534 MB / 0.6427 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.852e-06/0.4205, allocations: 4 kB / 0.6427 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007825/0.4213, allocations: 323.5 kB / 0.643 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000729/0.4221, allocations: 0.5014 MB / 0.6435 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.888e-05/0.4221, allocations: 32 kB / 0.6435 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004443/0.4266, allocations: 6.156 MB / 0.6495 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4266, allocations: 4 kB / 0.6495 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.17/0.5966, allocations: 5.983 MB / 0.6554 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002028/0.5987, allocations: 0.8289 MB / 0.6562 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000513/0.5992, allocations: 32.38 kB / 0.6562 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.6005, allocations: 175.7 kB / 0.6564 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/0.6007, allocations: 119.3 kB / 0.6565 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.772e-05/0.6008, allocations: 51.86 kB / 0.6565 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003986/0.6048, allocations: 4.137 MB / 0.6606 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6048, allocations: 1.781 kB / 0.6606 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004031/0.6088, allocations: 1.437 MB / 0.662 GB, free: 150.6 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.005121/0.6139, allocations: 6.658 MB / 0.6685 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00629/0.6202, allocations: 5.703 MB / 0.674 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.6202, allocations: 0 / 0.674 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001489/0.6217, allocations: 1.674 MB / 0.6757 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/0.6248, allocations: 0.6645 MB / 0.6763 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06364/0.6884, allocations: 61.01 MB / 0.7359 GB, free: 99.36 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002947/0.6914, allocations: 3.613 MB / 0.7394 GB, free: 96.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003407/0.6948, allocations: 2.34 MB / 0.7417 GB, free: 95.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002048/0.6968, allocations: 2.585 MB / 0.7442 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of SimCode: time 2.064e-06/0.6968, allocations: 4 kB / 0.7442 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09567/0.7925, allocations: 95.06 MB / 0.8371 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.75, allocations: 3.938 kB / 0.8371 GB, free: 14.11 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 & /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 --stepSize=0.000219912 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/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: 15.459001782350242]