Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009315/0.0009315, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 185.2 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.4 MB / 223.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3349/0.3349, allocations: 43.58 MB / 315 MB, free: 8.793 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004871/0.0004871, allocations: 20 kB / 384.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1093, allocations: 58.85 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.272/0.3813, allocations: 45.82 MB / 489.4 MB, free: 21.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02518/0.4066, allocations: 9.668 MB / 499 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00994/0.4166, allocations: 190.2 kB / 499.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.4183, allocations: 0.5285 MB / 499.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004737/0.4231, allocations: 1.943 MB / 0.4899 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.4243, allocations: 0.5798 MB / 0.4905 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007542/0.4319, allocations: 6.225 MB / 0.4966 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006055/0.438, allocations: 3.959 MB / 0.5004 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002768/0.4408, allocations: 1.285 MB / 0.5017 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003023/0.4438, allocations: 2.186 MB / 0.5038 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005928/0.4444, allocations: 174.8 kB / 0.504 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.4466, allocations: 0.9307 MB / 0.5049 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002364/0.449, allocations: 1.891 MB / 0.5068 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003067/0.4521, allocations: 2.31 MB / 0.509 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00832/0.4604, allocations: 7.433 MB / 0.5163 GB, free: 2.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.4604, allocations: 0 / 0.5163 GB, free: 2.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.088e-06/0.4604, allocations: 5.391 kB / 0.5163 GB, free: 2.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002367/0.4607, allocations: 4 kB / 0.5163 GB, free: 2.836 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.008534/0.4692, allocations: 4.302 MB / 0.5205 GB, free: 15.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.4693, allocations: 9.812 kB / 0.5205 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001713/0.471, allocations: 0.8923 MB / 0.5214 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/0.4823, allocations: 3.292 MB / 0.5246 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006189/0.4885, allocations: 2.852 MB / 0.5274 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.4888, allocations: 262.5 kB / 0.5276 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009278/0.4897, allocations: 347.7 kB / 0.5279 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02077/0.5105, allocations: 12.66 MB / 0.5403 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001053/0.5106, allocations: 39.64 kB / 0.5403 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004334/0.5111, allocations: 163.8 kB / 0.5405 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00483/0.5159, allocations: 3.032 MB / 0.5435 GB, free: 8.711 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01996/0.5359, allocations: 11.34 MB / 0.5545 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05662/0.5925, allocations: 42.34 MB / 0.5959 GB, free: 1.898 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009689/0.6023, allocations: 4.712 MB / 0.6005 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003472/0.6058, allocations: 2.432 MB / 0.6029 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/0.607, allocations: 1.319 MB / 0.6041 GB, free: 8.973 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.209e-05/0.6071, allocations: 56.56 kB / 0.6042 GB, free: 8.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=250): time 4.779e-06/0.6071, allocations: 0 / 0.6042 GB, free: 8.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=268): time 0.04819/0.6553, allocations: 19.55 MB / 0.6233 GB, free: 5.191 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.6554, allocations: 103.1 kB / 0.6234 GB, free: 5.074 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006655/0.6621, allocations: 3.279 MB / 0.6266 GB, free: 1.789 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005119/0.6626, allocations: 65.69 kB / 0.6267 GB, free: 1.719 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1992/0.8618, allocations: 3.277 MB / 0.6299 GB, free: 141.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00138/0.8632, allocations: 0.9776 MB / 0.6308 GB, free: 140.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008814/0.8641, allocations: 0.5243 MB / 0.6313 GB, free: 140.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.718e-05/0.8642, allocations: 302.7 kB / 0.6316 GB, free: 140.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003823/0.868, allocations: 2.486 MB / 0.634 GB, free: 140.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005565/0.8736, allocations: 5.881 MB / 0.6398 GB, free: 136 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008788/0.8824, allocations: 9.187 MB / 0.6488 GB, free: 129.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001231/0.8826, allocations: 33.19 kB / 0.6488 GB, free: 129.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.01394/0.8965, allocations: 9.15 MB / 0.6577 GB, free: 126.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.93e-05/0.8966, allocations: 56.03 kB / 0.6578 GB, free: 126.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001692/0.8968, allocations: 119 kB / 0.6579 GB, free: 126.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002984/0.8998, allocations: 1.056 MB / 0.6589 GB, free: 126.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004602/0.9044, allocations: 1.39 MB / 0.6603 GB, free: 126 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006594/0.911, allocations: 5.145 MB / 0.6653 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004119/0.9152, allocations: 329.4 kB / 0.6656 GB, free: 123.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008193/0.916, allocations: 357 kB / 0.666 GB, free: 123.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (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 (747): * Single equations (assignments): 740 * 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.005462/0.9215, allocations: 2.487 MB / 0.6684 GB, free: 122.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005956/0.9221, allocations: 322.8 kB / 0.6687 GB, free: 122 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/0.9331, allocations: 5.378 MB / 0.6739 GB, free: 120.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-05/0.9332, allocations: 47.64 kB / 0.674 GB, free: 120.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.943e-05/0.9332, allocations: 5.281 kB / 0.674 GB, free: 120.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.455e-05/0.9333, allocations: 10.59 kB / 0.674 GB, free: 120.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02122/0.9545, allocations: 13.37 MB / 0.6871 GB, free: 115.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/0.9546, allocations: 12.64 kB / 0.6871 GB, free: 115.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001719/0.9563, allocations: 423.8 kB / 0.6875 GB, free: 115.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002579/0.9589, allocations: 0.8906 MB / 0.6883 GB, free: 115 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002216/0.9591, allocations: 55.36 kB / 0.6884 GB, free: 115 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004738/0.9639, allocations: 4.499 MB / 0.6928 GB, free: 111 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.889e-06/0.9639, allocations: 19.73 kB / 0.6928 GB, free: 111 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009876/0.9738, allocations: 8.034 MB / 0.7007 GB, free: 103.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/0.9753, allocations: 0.7426 MB / 0.7014 GB, free: 103.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004104/0.9757, allocations: 51.75 kB / 0.7014 GB, free: 103.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.977, allocations: 145.9 kB / 0.7016 GB, free: 103 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003489/0.9774, allocations: 173.1 kB / 0.7017 GB, free: 102.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/0.9775, allocations: 77.97 kB / 0.7018 GB, free: 102.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002889/0.9804, allocations: 2.03 MB / 0.7038 GB, free: 101.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.9805, allocations: 0 / 0.7038 GB, free: 101.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004812/0.9853, allocations: 1.115 MB / 0.7049 GB, free: 100.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (209): * Single equations (assignments): 202 * 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.01033/0.9956, allocations: 8.708 MB / 0.7134 GB, free: 91.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008522/1.004, allocations: 6.059 MB / 0.7193 GB, free: 85.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/1.004, allocations: 4 kB / 0.7193 GB, free: 85.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002706/1.007, allocations: 2.249 MB / 0.7215 GB, free: 83.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007056/1.014, allocations: 426.7 kB / 0.7219 GB, free: 82.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07187/1.086, allocations: 55.46 MB / 0.7761 GB, free: 20.42 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00381/1.09, allocations: 3.831 MB / 0.7798 GB, free: 16.56 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004263/1.094, allocations: 2.181 MB / 0.7819 GB, free: 14.37 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002679/1.097, allocations: 2.202 MB / 0.7841 GB, free: 12.17 MB / 494.1 MB Notification: Performance of SimCode: time 1.352e-06/1.097, allocations: 4 kB / 0.7841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3098/1.407, allocations: 68.68 MB / 0.8512 GB, free: 157.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/1.407, allocations: 205.6 kB / 0.8514 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.403/4.81, allocations: 1.375 kB / 0.8514 GB, free: 157.1 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches