Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR",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.001217/0.001218, allocations: 105.5 kB / 16.4 MB, free: 6.445 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.00123/0.00123, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.327/1.327, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.203/0.203, allocations: 43.52 MB / 314.1 MB, free: 448 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.001634/0.001634, allocations: 69.62 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09212/0.09377, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.0124/0.1062, allocations: 12.64 MB / 0.4997 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007068/0.1133, allocations: 3.724 MB / 0.5034 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001578/0.1149, allocations: 59.94 kB / 0.5034 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006119/0.1211, allocations: 3.306 MB / 0.5067 GB, free: 8.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002669/0.1238, allocations: 0.9366 MB / 0.5076 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.1259, allocations: 0.8264 MB / 0.5084 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003103/0.129, allocations: 2.408 MB / 0.5107 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00461/0.1337, allocations: 4.141 MB / 0.5148 GB, free: 76 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002312/0.136, allocations: 1.398 MB / 0.5161 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002577/0.1386, allocations: 1.807 MB / 0.5179 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007959/0.1394, allocations: 372 kB / 0.5183 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.1413, allocations: 1.018 MB / 0.5193 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00168/0.143, allocations: 1.695 MB / 0.5209 GB, free: 9.777 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002377/0.1454, allocations: 1.977 MB / 0.5228 GB, free: 7.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006083/0.1515, allocations: 6.401 MB / 0.5291 GB, free: 1.367 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1515, allocations: 0 / 0.5291 GB, free: 1.367 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1516, allocations: 0 / 0.5291 GB, free: 1.367 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001708/0.1517, allocations: 4 kB / 0.5291 GB, free: 1.363 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.1917/0.3434, allocations: 4.28 MB / 0.5333 GB, free: 37.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3435, allocations: 14.08 kB / 0.5333 GB, free: 37.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00152/0.345, allocations: 0.632 MB / 0.5339 GB, free: 37.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00303/0.3481, allocations: 0.5868 MB / 0.5345 GB, free: 37.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003931/0.352, allocations: 1.898 MB / 0.5363 GB, free: 37.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.3522, allocations: 236.3 kB / 0.5366 GB, free: 36.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007359/0.353, allocations: 313.3 kB / 0.5369 GB, free: 36.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01783/0.3708, allocations: 9.211 MB / 0.5459 GB, free: 33.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.939e-05/0.3709, allocations: 19.28 kB / 0.5459 GB, free: 33.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003702/0.3713, allocations: 142.8 kB / 0.546 GB, free: 33.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002694/0.374, allocations: 1.591 MB / 0.5476 GB, free: 32.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01773/0.3918, allocations: 7.463 MB / 0.5549 GB, free: 29.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02748/0.4193, allocations: 27.81 MB / 0.582 GB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006754/0.4261, allocations: 2.341 MB / 0.5843 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.4275, allocations: 1.104 MB / 0.5854 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009139/0.4366, allocations: 7.613 MB / 0.5928 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.4367, allocations: 47.16 kB / 0.5929 GB, free: 6.641 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.785e-06/0.4367, allocations: 0 / 0.5929 GB, free: 6.641 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.01995/0.4567, allocations: 7.172 MB / 0.5999 GB, free: 15.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.745e-05/0.4568, allocations: 149.6 kB / 0.6 GB, free: 15.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003451/0.4602, allocations: 2.655 MB / 0.6026 GB, free: 12.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001464/0.4604, allocations: 41.7 kB / 0.6026 GB, free: 12.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001479/0.4619, allocations: 2.426 MB / 0.605 GB, free: 10.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003729/0.4623, allocations: 399.1 kB / 0.6054 GB, free: 9.664 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009127/0.4632, allocations: 0.7807 MB / 0.6061 GB, free: 8.879 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.417e-05/0.4633, allocations: 301.1 kB / 0.6064 GB, free: 8.582 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.4648, allocations: 1.085 MB / 0.6075 GB, free: 7.496 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00298/0.4678, allocations: 3.502 MB / 0.6109 GB, free: 2.801 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005156/0.473, allocations: 4.97 MB / 0.6158 GB, free: 12.62 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-05/0.4731, allocations: 24 kB / 0.6158 GB, free: 12.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.0067/0.4798, allocations: 4.462 MB / 0.6201 GB, free: 8.133 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.864e-05/0.4799, allocations: 44 kB / 0.6202 GB, free: 8.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-05/0.48, allocations: 84 kB / 0.6203 GB, free: 8.008 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001051/0.4801, allocations: 119.9 kB / 0.6204 GB, free: 7.891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002779/0.4829, allocations: 0.9514 MB / 0.6213 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001262/0.483, allocations: 167.4 kB / 0.6215 GB, free: 6.773 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/0.4852, allocations: 192 kB / 0.6217 GB, free: 6.586 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002871/0.4855, allocations: 236 kB / 0.6219 GB, free: 6.355 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 390 * Number of states: 0 () * Number of discrete variables: 43 (jointUSR.revolute.positiveBranch,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],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],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 (499): * Single equations (assignments): 499 * 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 prepare postOptimizeDAE: time 0.002191/0.4877, allocations: 1.593 MB / 0.6234 GB, free: 4.754 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003736/0.4881, allocations: 233 kB / 0.6237 GB, free: 4.523 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.4902, allocations: 1.389 MB / 0.625 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.4902, allocations: 15.94 kB / 0.625 GB, free: 3.102 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.4902, allocations: 0 / 0.625 GB, free: 3.102 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.4902, allocations: 11.97 kB / 0.625 GB, free: 3.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008703/0.4989, allocations: 6.032 MB / 0.6309 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.855e-05/0.499, allocations: 16 kB / 0.6309 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007728/0.4998, allocations: 216.5 kB / 0.6312 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.13e-05/0.4998, allocations: 20 kB / 0.6312 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.247e-05/0.4999, allocations: 36 kB / 0.6312 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.17e-05/0.4999, allocations: 39.86 kB / 0.6312 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.557e-05/0.4999, allocations: 23.88 kB / 0.6313 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.5019, allocations: 1.793 MB / 0.633 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005075/0.5024, allocations: 322 kB / 0.6333 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/0.5027, allocations: 40 kB / 0.6334 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000782/0.5035, allocations: 43.97 kB / 0.6334 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.5036, allocations: 128 kB / 0.6335 GB, free: 9.863 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.977e-05/0.5037, allocations: 55.94 kB / 0.6336 GB, free: 9.809 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002336/0.5061, allocations: 1.7 MB / 0.6352 GB, free: 8.102 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5061, allocations: 0 / 0.6352 GB, free: 8.102 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003053/0.5091, allocations: 0.6732 MB / 0.6359 GB, free: 7.434 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (122): * Single equations (assignments): 122 * 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.002534/0.5117, allocations: 2.442 MB / 0.6383 GB, free: 4.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003777/0.5155, allocations: 2.558 MB / 0.6408 GB, free: 2.238 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/0.5155, allocations: 0 / 0.6408 GB, free: 2.238 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008067/0.5163, allocations: 0.5736 MB / 0.6413 GB, free: 1.668 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.5184, allocations: 327.1 kB / 0.6417 GB, free: 1.359 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04547/0.5639, allocations: 28.08 MB / 0.6691 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003514/0.5674, allocations: 2.738 MB / 0.6718 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002575/0.57, allocations: 1.039 MB / 0.6728 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001963/0.572, allocations: 1.468 MB / 0.6742 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of SimCode: time 1.032e-06/0.572, allocations: 0 / 0.6742 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07909/0.6511, allocations: 47.26 MB / 0.7203 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.52, allocations: 11.83 kB / 0.7204 GB, free: 13.38 MB / 0.5606 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSR/JointUSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches