Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008314/0.0008314, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008114/0.0008114, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8548/0.8548, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2308/0.2308, allocations: 34.24 MB / 294.8 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.464e-05, allocations: 2.281 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.1801/0.1802, allocations: 10.73 MB / 452.9 MB, free: 38.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006618/0.1868, allocations: 3.748 MB / 456.6 MB, free: 35.94 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.188, allocations: 70.06 kB / 456.7 MB, free: 35.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.1895, allocations: 1.358 MB / 458.1 MB, free: 35.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.1918, allocations: 1.826 MB / 459.9 MB, free: 34.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007451/0.1925, allocations: 0.5217 MB / 460.4 MB, free: 34.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002218/0.1947, allocations: 3.981 MB / 464.4 MB, free: 32.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.196, allocations: 2.089 MB / 466.5 MB, free: 31.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.1973, allocations: 1.843 MB / 468.3 MB, free: 31.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.1986, allocations: 1.926 MB / 470.3 MB, free: 30.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001992/0.1988, allocations: 238.7 kB / 470.5 MB, free: 30.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009615/0.1998, allocations: 0.9146 MB / 471.4 MB, free: 30.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000706/0.2005, allocations: 1.668 MB / 473.1 MB, free: 29.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005568/0.201, allocations: 0.9969 MB / 474.1 MB, free: 29.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003652/0.2047, allocations: 6.181 MB / 480.3 MB, free: 27.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2047, allocations: 0.7031 kB / 480.3 MB, free: 27.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2047, allocations: 0 / 480.3 MB, free: 27.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001133/0.2048, allocations: 0 / 480.3 MB, free: 27.25 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.006231/0.211, allocations: 4.188 MB / 484.4 MB, free: 24.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.2111, allocations: 9.938 kB / 484.4 MB, free: 24.81 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007831/0.2119, allocations: 0.7058 MB / 485.2 MB, free: 24.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006448/0.2183, allocations: 3.162 MB / 488.3 MB, free: 24.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003479/0.2218, allocations: 1.888 MB / 490.2 MB, free: 23.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.2219, allocations: 193.8 kB / 490.4 MB, free: 23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005519/0.2225, allocations: 250.2 kB / 490.6 MB, free: 22.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01367/0.2361, allocations: 10.49 MB / 0.4894 GB, free: 18.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-05/0.2362, allocations: 29.92 kB / 0.4894 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002651/0.2365, allocations: 116 kB / 0.4895 GB, free: 18.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002531/0.239, allocations: 2.558 MB / 0.492 GB, free: 17.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01309/0.2521, allocations: 9.9 MB / 0.5017 GB, free: 8.719 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03489/0.287, allocations: 32.9 MB / 0.5338 GB, free: 7.023 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005667/0.2926, allocations: 4.156 MB / 0.5379 GB, free: 2.863 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002103/0.2947, allocations: 2.113 MB / 0.5399 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007596/0.2955, allocations: 0.5556 MB / 0.5405 GB, free: 200 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.2955, allocations: 55.81 kB / 0.5405 GB, free: 140 kB / 442.7 MB Notification: Performance of pre-optimization done (n=229): time 5.891e-06/0.2955, allocations: 0 / 0.5405 GB, free: 140 kB / 442.7 MB Notification: Performance of matching and sorting (n=235): time 0.0209/0.3164, allocations: 14.35 MB / 0.5545 GB, free: 1.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.3165, allocations: 73.41 kB / 0.5546 GB, free: 1.688 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003079/0.3196, allocations: 2.962 MB / 0.5575 GB, free: 14.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002924/0.3198, allocations: 57.7 kB / 0.5576 GB, free: 14.64 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001093/0.3209, allocations: 2.718 MB / 0.5602 GB, free: 11.89 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000682/0.3216, allocations: 0.8835 MB / 0.5611 GB, free: 11 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009034/0.3225, allocations: 1.025 MB / 0.5621 GB, free: 9.969 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.407e-05/0.3226, allocations: 313 kB / 0.5624 GB, free: 9.66 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/0.3248, allocations: 2.193 MB / 0.5645 GB, free: 7.461 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003034/0.3278, allocations: 5.065 MB / 0.5695 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00632/0.3341, allocations: 7.957 MB / 0.5772 GB, free: 7.629 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-05/0.3342, allocations: 28 kB / 0.5773 GB, free: 7.602 MB / 490.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.008927/0.3431, allocations: 7.866 MB / 0.5849 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.308e-05/0.3432, allocations: 48 kB / 0.585 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.327e-05/0.3433, allocations: 100.1 kB / 0.5851 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/0.3446, allocations: 0.7928 MB / 0.5859 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/0.3468, allocations: 1.181 MB / 0.587 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003993/0.3508, allocations: 4.396 MB / 0.5913 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/0.353, allocations: 323.7 kB / 0.5916 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003427/0.3534, allocations: 300 kB / 0.5919 GB, free: 8.477 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (631): * Single equations (assignments): 624 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002384/0.3558, allocations: 2.016 MB / 0.5939 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/0.3561, allocations: 278.1 kB / 0.5941 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004888/0.361, allocations: 4.717 MB / 0.5987 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.921e-05/0.361, allocations: 43.98 kB / 0.5988 GB, free: 1.387 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.361, allocations: 4.094 kB / 0.5988 GB, free: 1.383 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.361, allocations: 11.91 kB / 0.5988 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/0.3733, allocations: 10.23 MB / 0.6088 GB, free: 6.988 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.3733, allocations: 8 kB / 0.6088 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008846/0.3742, allocations: 363.4 kB / 0.6091 GB, free: 6.625 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001101/0.3753, allocations: 0.6527 MB / 0.6098 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/0.3755, allocations: 40 kB / 0.6098 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003483/0.379, allocations: 3.793 MB / 0.6135 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.379, allocations: 11.94 kB / 0.6135 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007329/0.3863, allocations: 7.133 MB / 0.6205 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007551/0.387, allocations: 270.1 kB / 0.6208 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003711/0.3874, allocations: 43.94 kB / 0.6208 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007622/0.3882, allocations: 169.6 kB / 0.621 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/0.3884, allocations: 133 kB / 0.6211 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.516e-05/0.3885, allocations: 76.03 kB / 0.6212 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001858/0.3904, allocations: 1.748 MB / 0.6229 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3904, allocations: 0 / 0.6229 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002722/0.3931, allocations: 0.9921 MB / 0.6238 GB, free: 7.336 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.1943/0.5874, allocations: 7.787 MB / 0.6314 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005823/0.5932, allocations: 5.152 MB / 0.6365 GB, free: 152.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.5932, allocations: 2.906 kB / 0.6365 GB, free: 152.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001562/0.5947, allocations: 1.875 MB / 0.6383 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.5963, allocations: 364.7 kB / 0.6387 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04274/0.6391, allocations: 40.12 MB / 0.6778 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004129/0.6432, allocations: 2.617 MB / 0.6804 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003272/0.6465, allocations: 1.97 MB / 0.6823 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001899/0.6484, allocations: 1.713 MB / 0.684 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.393e-06/0.6484, allocations: 4 kB / 0.684 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06134/0.7097, allocations: 56.1 MB / 0.7388 GB, free: 79.44 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.755/9.465, allocations: 0 / 0.7388 GB, free: 79.44 MB / 0.5261 GB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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: 11.56934920605272]