Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR",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.001104/0.00111, allocations: 101.3 kB / 16.4 MB, free: 6.473 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.001224/0.001224, allocations: 189.5 kB / 17.34 MB, free: 5.754 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.352/1.352, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2054/0.2054, allocations: 43.52 MB / 314.1 MB, free: 464 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.00154/0.00154, allocations: 67.91 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0986/0.1002, allocations: 57.8 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.01487/0.1151, allocations: 14.23 MB / 0.5013 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008425/0.1235, allocations: 4.009 MB / 0.5052 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002106/0.1257, allocations: 67.94 kB / 0.5053 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007328/0.1331, allocations: 3.925 MB / 0.5091 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003182/0.1363, allocations: 1.01 MB / 0.5101 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002258/0.1386, allocations: 0.8773 MB / 0.511 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003695/0.1423, allocations: 2.638 MB / 0.5135 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006046/0.1484, allocations: 5.11 MB / 0.5185 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.1507, allocations: 1.609 MB / 0.5201 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003061/0.1538, allocations: 2.084 MB / 0.5221 GB, free: 8.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001167/0.155, allocations: 492 kB / 0.5226 GB, free: 8.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.1574, allocations: 1.135 MB / 0.5237 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002222/0.1596, allocations: 1.964 MB / 0.5256 GB, free: 4.984 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003182/0.1628, allocations: 2.289 MB / 0.5279 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2291/0.3919, allocations: 7.723 MB / 0.5354 GB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.392, allocations: 0 / 0.5354 GB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.392, allocations: 0 / 0.5354 GB, free: 15.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002185/0.3922, allocations: 1.781 kB / 0.5354 GB, free: 15.17 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01386/0.4061, allocations: 4.75 MB / 0.54 GB, free: 13.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.4061, allocations: 14.89 kB / 0.5401 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001429/0.4075, allocations: 0.6818 MB / 0.5407 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003414/0.411, allocations: 0.6565 MB / 0.5414 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00548/0.4165, allocations: 2.318 MB / 0.5436 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.4167, allocations: 266.2 kB / 0.5439 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00097/0.4177, allocations: 362.2 kB / 0.5442 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02154/0.4392, allocations: 10.47 MB / 0.5545 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.82e-05/0.4394, allocations: 21.41 kB / 0.5545 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004955/0.4399, allocations: 157.3 kB / 0.5546 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002809/0.4427, allocations: 1.633 MB / 0.5562 GB, free: 9.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01893/0.4616, allocations: 9.153 MB / 0.5652 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04364/0.5053, allocations: 30.55 MB / 0.595 GB, free: 9.625 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009416/0.5148, allocations: 3.106 MB / 0.598 GB, free: 6.492 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002194/0.517, allocations: 1.657 MB / 0.5996 GB, free: 4.828 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01341/0.5304, allocations: 9.314 MB / 0.6087 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.5305, allocations: 51.55 kB / 0.6088 GB, free: 11.03 MB / 462.1 MB Notification: Performance of pre-optimization done (n=91): time 1.12e-05/0.5305, allocations: 0 / 0.6088 GB, free: 11.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.02626/0.5568, allocations: 8.999 MB / 0.6176 GB, free: 2.023 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.5569, allocations: 115.1 kB / 0.6177 GB, free: 1.891 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004882/0.5618, allocations: 2.895 MB / 0.6205 GB, free: 14.99 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001801/0.562, allocations: 47.77 kB / 0.6206 GB, free: 14.94 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001714/0.5637, allocations: 2.502 MB / 0.623 GB, free: 12.45 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005298/0.5643, allocations: 444.6 kB / 0.6234 GB, free: 12.02 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001492/0.5658, allocations: 0.8408 MB / 0.6242 GB, free: 11.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.5659, allocations: 301.1 kB / 0.6245 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00226/0.5681, allocations: 1.488 MB / 0.626 GB, free: 9.371 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003683/0.5718, allocations: 3.837 MB / 0.6297 GB, free: 4.395 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00625/0.5781, allocations: 5.609 MB / 0.6352 GB, free: 13.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.117e-05/0.5782, allocations: 27.56 kB / 0.6352 GB, free: 13.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.008627/0.5868, allocations: 5.265 MB / 0.6404 GB, free: 9.168 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.424e-05/0.5869, allocations: 40 kB / 0.6404 GB, free: 9.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001543/0.5871, allocations: 88.16 kB / 0.6405 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001323/0.5873, allocations: 112 kB / 0.6406 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003447/0.5907, allocations: 0.9871 MB / 0.6416 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001589/0.5909, allocations: 168.2 kB / 0.6417 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002925/0.5938, allocations: 235.5 kB / 0.642 GB, free: 7.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004841/0.5943, allocations: 240 kB / 0.6422 GB, free: 7.434 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 49 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (524): * Single equations (assignments): 523 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003108/0.5975, allocations: 1.761 MB / 0.6439 GB, free: 5.746 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005591/0.598, allocations: 244.1 kB / 0.6441 GB, free: 5.508 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003462/0.6015, allocations: 2.065 MB / 0.6461 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.6015, allocations: 12 kB / 0.6462 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.6016, allocations: 0 / 0.6462 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.118e-05/0.6016, allocations: 19.66 kB / 0.6462 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/0.6141, allocations: 6.644 MB / 0.6527 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-05/0.6142, allocations: 19.98 kB / 0.6527 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.6153, allocations: 251.6 kB / 0.6529 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.501e-05/0.6153, allocations: 19.94 kB / 0.6529 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.6154, allocations: 44 kB / 0.653 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-05/0.6155, allocations: 31.86 kB / 0.653 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.341e-05/0.6155, allocations: 19.94 kB / 0.653 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002841/0.6183, allocations: 2.202 MB / 0.6552 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008734/0.6192, allocations: 325.9 kB / 0.6555 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006051/0.6198, allocations: 47.92 kB / 0.6555 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/0.6212, allocations: 59.94 kB / 0.6556 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.6214, allocations: 124.2 kB / 0.6557 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.6215, allocations: 52 kB / 0.6558 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003328/0.6249, allocations: 1.851 MB / 0.6576 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6249, allocations: 0 / 0.6576 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004047/0.6289, allocations: 0.7539 MB / 0.6583 GB, free: 6.59 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 0 () * 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 (134): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003643/0.6326, allocations: 2.842 MB / 0.6611 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005083/0.6377, allocations: 3.226 MB / 0.6642 GB, free: 340 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/0.6377, allocations: 3.938 kB / 0.6642 GB, free: 336 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.6388, allocations: 0.8052 MB / 0.665 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/0.6413, allocations: 342.8 kB / 0.6654 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0494/0.6908, allocations: 31.18 MB / 0.6958 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004584/0.6954, allocations: 2.956 MB / 0.6987 GB, free: 9.816 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003166/0.6986, allocations: 1.026 MB / 0.6997 GB, free: 8.789 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003031/0.7016, allocations: 1.612 MB / 0.7013 GB, free: 7.18 MB / 0.545 GB Notification: Performance of SimCode: time 1.533e-06/0.7017, allocations: 0 / 0.7013 GB, free: 7.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0909/0.7926, allocations: 52.2 MB / 0.7522 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.16/16.95, allocations: 20.38 kB / 0.7523 GB, free: 2.957 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointRRR/JointRRR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches