Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.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.0008552/0.0008552, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.0008584/0.0008584, 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.8713/0.8713, allocations: 177 MB / 204.1 MB, free: 5.754 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.2566/0.2566, allocations: 34.23 MB / 294.8 MB, free: 0.6758 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.Planar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 3.938 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.57e-05, allocations: 2.281 kB / 442.2 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.2151/0.2151, allocations: 13.01 MB / 455.2 MB, free: 36.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00907/0.2242, allocations: 4.232 MB / 459.4 MB, free: 34.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003562/0.2277, allocations: 93.47 kB / 459.5 MB, free: 34.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003697/0.2314, allocations: 2.287 MB / 461.8 MB, free: 33.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004066/0.2355, allocations: 2.118 MB / 463.9 MB, free: 32.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.2367, allocations: 0.6695 MB / 464.6 MB, free: 31.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003831/0.2405, allocations: 4.691 MB / 469.3 MB, free: 30.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/0.2429, allocations: 2.929 MB / 472.2 MB, free: 28.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/0.2456, allocations: 2.434 MB / 474.6 MB, free: 27.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002634/0.2482, allocations: 2.397 MB / 477 MB, free: 27.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007137/0.249, allocations: 344.5 kB / 477.4 MB, free: 27.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.2505, allocations: 1.01 MB / 478.4 MB, free: 26.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001084/0.2515, allocations: 2.089 MB / 480.5 MB, free: 26.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001298/0.2528, allocations: 1.308 MB / 481.8 MB, free: 25.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.2647, allocations: 7.754 MB / 489.5 MB, free: 22.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/0.2647, allocations: 0 / 489.5 MB, free: 22.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.487e-06/0.2647, allocations: 0.6562 kB / 489.5 MB, free: 22.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004473/0.2651, allocations: 1.281 kB / 489.5 MB, free: 22.71 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: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01766/0.2828, allocations: 5.142 MB / 494.7 MB, free: 19.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.2829, allocations: 9.625 kB / 494.7 MB, free: 19.76 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003121/0.286, allocations: 0.85 MB / 495.5 MB, free: 19.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008401/0.2944, allocations: 3.274 MB / 498.8 MB, free: 18.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006842/0.3012, allocations: 2.398 MB / 0.4895 GB, free: 16.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.3015, allocations: 251.5 kB / 0.4897 GB, free: 16.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002202/0.3037, allocations: 329.6 kB / 0.49 GB, free: 16.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02132/0.325, allocations: 12.25 MB / 0.502 GB, free: 8.309 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001194/0.3251, allocations: 31.77 kB / 0.502 GB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006838/0.3258, allocations: 160.6 kB / 0.5022 GB, free: 8.121 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002784/0.3286, allocations: 2.851 MB / 0.5049 GB, free: 5.266 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01687/0.3455, allocations: 11.1 MB / 0.5158 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04513/0.3906, allocations: 38.67 MB / 0.5535 GB, free: 2.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006302/0.3969, allocations: 3.733 MB / 0.5572 GB, free: 14.76 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002272/0.3992, allocations: 2.256 MB / 0.5594 GB, free: 12.51 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000521/0.3997, allocations: 437.3 kB / 0.5598 GB, free: 12.08 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.3997, allocations: 56.56 kB / 0.5599 GB, free: 12.02 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 4.618e-06/0.3997, allocations: 0 / 0.5599 GB, free: 12.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=267): time 0.02971/0.4294, allocations: 19.08 MB / 0.5785 GB, free: 8.859 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.4295, allocations: 73.41 kB / 0.5786 GB, free: 8.777 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003803/0.4333, allocations: 3.53 MB / 0.582 GB, free: 5.234 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003525/0.4336, allocations: 61.61 kB / 0.5821 GB, free: 5.172 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001602/0.4352, allocations: 3.218 MB / 0.5852 GB, free: 1.926 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000812/0.4361, allocations: 0.9997 MB / 0.5862 GB, free: 0.918 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/0.4372, allocations: 1.176 MB / 0.5873 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.94e-05/0.4373, allocations: 305.1 kB / 0.5876 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002431/0.4397, allocations: 2.456 MB / 0.59 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004174/0.4439, allocations: 5.728 MB / 0.5956 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007968/0.4518, allocations: 8.973 MB / 0.6044 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-05/0.4519, allocations: 32 kB / 0.6044 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01104/0.463, allocations: 8.979 MB / 0.6132 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.689e-05/0.463, allocations: 52 kB / 0.6132 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.636e-05/0.4631, allocations: 116.9 kB / 0.6133 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001716/0.4648, allocations: 1.046 MB / 0.6144 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/0.4674, allocations: 1.347 MB / 0.6157 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005015/0.4725, allocations: 5.403 MB / 0.621 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003324/0.4758, allocations: 351.7 kB / 0.6213 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000577/0.4764, allocations: 336 kB / 0.6216 GB, free: 9.293 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (725): * Single equations (assignments): 718 * 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 {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004292/0.4806, allocations: 2.413 MB / 0.624 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005029/0.4812, allocations: 337.7 kB / 0.6243 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005875/0.487, allocations: 5.36 MB / 0.6295 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.972e-05/0.4871, allocations: 44 kB / 0.6296 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.4871, allocations: 7.984 kB / 0.6296 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.4871, allocations: 15.41 kB / 0.6296 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2176/0.7047, allocations: 12.57 MB / 0.6419 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/0.7047, allocations: 12.94 kB / 0.6419 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.7058, allocations: 421.3 kB / 0.6423 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001636/0.7075, allocations: 0.8885 MB / 0.6431 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001749/0.7076, allocations: 54.97 kB / 0.6432 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003973/0.7116, allocations: 4.714 MB / 0.6478 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.7116, allocations: 20.41 kB / 0.6478 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007758/0.7194, allocations: 8.007 MB / 0.6556 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.7204, allocations: 327.5 kB / 0.6559 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00031/0.7207, allocations: 49.45 kB / 0.656 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008995/0.7216, allocations: 182.3 kB / 0.6562 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002682/0.7219, allocations: 175.7 kB / 0.6563 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.722, allocations: 80.69 kB / 0.6564 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003472/0.7255, allocations: 2.081 MB / 0.6584 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.7255, allocations: 0 / 0.6584 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005956/0.7315, allocations: 1.142 MB / 0.6596 GB, free: 142 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (208): * Single equations (assignments): 201 * 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 {(3,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.00995/0.7414, allocations: 8.683 MB / 0.668 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007137/0.7485, allocations: 5.77 MB / 0.6737 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/0.7486, allocations: 1.812 kB / 0.6737 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002048/0.7506, allocations: 2.108 MB / 0.6757 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/0.7527, allocations: 451.1 kB / 0.6762 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04822/0.8009, allocations: 47.43 MB / 0.7225 GB, free: 92.32 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00279/0.8037, allocations: 3.182 MB / 0.7256 GB, free: 89.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002775/0.8065, allocations: 2.161 MB / 0.7277 GB, free: 86.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002204/0.8087, allocations: 2.105 MB / 0.7298 GB, free: 84.84 MB / 0.5261 GB Notification: Performance of SimCode: time 2.224e-06/0.8087, allocations: 0 / 0.7298 GB, free: 84.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07552/0.8842, allocations: 68.5 MB / 0.7966 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.633/10.52, allocations: 11.23 kB / 0.7967 GB, free: 16.87 MB / 0.5261 GB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.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: 12.758504862897098]