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.00181/0.00181, allocations: 109.4 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 190.9 kB / 17.34 MB, free: 5.715 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.503/1.503, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.243/0.243, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 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.002332/0.002332, allocations: 77.45 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1251, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01872/0.1439, allocations: 15.74 MB / 0.5028 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.1548, allocations: 4.49 MB / 0.5072 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003374/0.1582, allocations: 83.81 kB / 0.5072 GB, free: 7.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005559/0.1638, allocations: 2.258 MB / 0.5095 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007101/0.171, allocations: 2.058 MB / 0.5115 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.1732, allocations: 0.62 MB / 0.5121 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007622/0.1809, allocations: 4.467 MB / 0.5164 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005683/0.1866, allocations: 3.217 MB / 0.5196 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003941/0.1906, allocations: 1.643 MB / 0.5212 GB, free: 9.531 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00438/0.195, allocations: 2.282 MB / 0.5234 GB, free: 7.242 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001337/0.1964, allocations: 352 kB / 0.5237 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003131/0.1996, allocations: 1.042 MB / 0.5248 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003369/0.203, allocations: 2.061 MB / 0.5268 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004588/0.2076, allocations: 2.496 MB / 0.5292 GB, free: 1.277 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2879/0.4956, allocations: 8.092 MB / 0.5371 GB, free: 10.06 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.4956, allocations: 0 / 0.5371 GB, free: 10.06 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.4956, allocations: 1.406 kB / 0.5371 GB, free: 10.06 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000399/0.496, allocations: 0 / 0.5371 GB, free: 10.06 MB / 414.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.0213/0.5174, allocations: 5.425 MB / 0.5424 GB, free: 7.793 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.535e-05/0.5175, allocations: 13.64 kB / 0.5424 GB, free: 7.789 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00406/0.5215, allocations: 0.8934 MB / 0.5433 GB, free: 7.703 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01297/0.5345, allocations: 3.235 MB / 0.5465 GB, free: 7.336 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007565/0.5421, allocations: 2.894 MB / 0.5493 GB, free: 6.734 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003132/0.5425, allocations: 261.3 kB / 0.5495 GB, free: 6.727 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002235/0.5447, allocations: 350.6 kB / 0.5499 GB, free: 6.719 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0293/0.5741, allocations: 12.66 MB / 0.5622 GB, free: 3.137 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002498/0.5744, allocations: 29.39 kB / 0.5623 GB, free: 3.133 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002062/0.5765, allocations: 163.4 kB / 0.5624 GB, free: 3.066 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005199/0.5817, allocations: 3.024 MB / 0.5654 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0257/0.6074, allocations: 11.34 MB / 0.5764 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0765/0.684, allocations: 42.19 MB / 0.6176 GB, free: 12 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/0.6948, allocations: 4.709 MB / 0.6222 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004284/0.6992, allocations: 2.432 MB / 0.6246 GB, free: 8.637 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001517/0.7007, allocations: 1.324 MB / 0.6259 GB, free: 7.105 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.752e-05/0.7008, allocations: 54.81 kB / 0.626 GB, free: 7.043 MB / 478.1 MB Notification: Performance of pre-optimization done (n=250): time 7.735e-06/0.7009, allocations: 0 / 0.626 GB, free: 7.043 MB / 478.1 MB Notification: Performance of matching and sorting (n=268): time 0.05688/0.7577, allocations: 19.7 MB / 0.6452 GB, free: 3.246 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.453e-05/0.7579, allocations: 99.11 kB / 0.6453 GB, free: 3.129 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005734/0.7636, allocations: 3.285 MB / 0.6485 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006291/0.7643, allocations: 61.22 kB / 0.6486 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002959/0.7673, allocations: 3.412 MB / 0.6519 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001545/0.7688, allocations: 1.03 MB / 0.6529 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00233/0.7712, allocations: 1.215 MB / 0.6541 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.7713, allocations: 301.1 kB / 0.6544 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004539/0.7759, allocations: 2.491 MB / 0.6568 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008045/0.784, allocations: 5.874 MB / 0.6625 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01306/0.7971, allocations: 9.189 MB / 0.6715 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001253/0.7972, allocations: 38.62 kB / 0.6715 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of matching and sorting (n=809) (initialization): time 0.0211/0.8183, allocations: 9.169 MB / 0.6805 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.8185, allocations: 60.25 kB / 0.6806 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001871/0.8187, allocations: 116 kB / 0.6807 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003703/0.8224, allocations: 1.058 MB / 0.6817 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005718/0.8282, allocations: 1.388 MB / 0.6831 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009242/0.8375, allocations: 5.549 MB / 0.6885 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005645/0.8432, allocations: 326.6 kB / 0.6888 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001716/0.845, allocations: 354.6 kB / 0.6891 GB, free: 3.828 MB / 0.5294 GB 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.007292/0.8523, allocations: 2.496 MB / 0.6916 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009193/0.8532, allocations: 333.8 kB / 0.6919 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/0.8663, allocations: 5.38 MB / 0.6971 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001176/0.8665, allocations: 46.11 kB / 0.6972 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-05/0.8665, allocations: 7.984 kB / 0.6972 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.184e-05/0.8666, allocations: 7.969 kB / 0.6972 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03208/0.8986, allocations: 13.33 MB / 0.7102 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-05/0.8987, allocations: 8 kB / 0.7102 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002157/0.9009, allocations: 423.3 kB / 0.7106 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003163/0.9041, allocations: 0.8869 MB / 0.7115 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005699/0.9047, allocations: 64.8 kB / 0.7116 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007291/0.912, allocations: 4.844 MB / 0.7163 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.711e-05/0.9121, allocations: 19.69 kB / 0.7163 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01475/0.9268, allocations: 8.047 MB / 0.7242 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002229/0.9291, allocations: 0.7525 MB / 0.7249 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008633/0.93, allocations: 55.98 kB / 0.725 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001958/0.932, allocations: 146.1 kB / 0.7251 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005448/0.9325, allocations: 177.5 kB / 0.7253 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002602/0.9328, allocations: 75.98 kB / 0.7253 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004148/0.9369, allocations: 2.022 MB / 0.7273 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.42e-07/0.937, allocations: 0 / 0.7273 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007116/0.9441, allocations: 1.111 MB / 0.7284 GB, free: 11 MB / 0.5762 GB 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.01697/0.9611, allocations: 8.725 MB / 0.7369 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01174/0.9729, allocations: 6.11 MB / 0.7429 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.896e-05/0.973, allocations: 4.5 kB / 0.7429 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004382/0.9774, allocations: 2.26 MB / 0.7451 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003998/0.9814, allocations: 444.4 kB / 0.7455 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3414/1.323, allocations: 48.41 MB / 0.7928 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008803/1.332, allocations: 3.821 MB / 0.7965 GB, free: 190.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005694/1.337, allocations: 2.181 MB / 0.7986 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004621/1.342, allocations: 2.202 MB / 0.8008 GB, free: 187 MB / 0.5919 GB Notification: Performance of SimCode: time 1.183e-06/1.342, allocations: 4 kB / 0.8008 GB, free: 187 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/1.455, allocations: 67.61 MB / 0.8668 GB, free: 119.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.81/29.27, allocations: 19.73 kB / 0.8669 GB, free: 119.4 MB / 0.5919 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches