Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP",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.001314/0.001315, allocations: 105.8 kB / 16.41 MB, free: 6.512 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.001355/0.001355, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.368/1.368, 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.213/0.213, 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.0023/0.0023, allocations: 69.45 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1103, allocations: 57.8 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.01517/0.1255, allocations: 12.59 MB / 0.4997 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008953/0.1345, allocations: 3.576 MB / 0.5032 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002243/0.1368, allocations: 63.88 kB / 0.5033 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006912/0.1438, allocations: 3.33 MB / 0.5065 GB, free: 8.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003039/0.1469, allocations: 0.9483 MB / 0.5074 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.1488, allocations: 0.6588 MB / 0.5081 GB, free: 7.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003797/0.1526, allocations: 2.314 MB / 0.5103 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005758/0.1584, allocations: 4.075 MB / 0.5143 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002473/0.1609, allocations: 1.363 MB / 0.5157 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00298/0.1639, allocations: 1.768 MB / 0.5174 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000991/0.1649, allocations: 360 kB / 0.5177 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.167, allocations: 0.9011 MB / 0.5186 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002117/0.1692, allocations: 1.68 MB / 0.5202 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002533/0.1717, allocations: 1.958 MB / 0.5222 GB, free: 8.488 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007657/0.1794, allocations: 6.288 MB / 0.5283 GB, free: 2.176 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1794, allocations: 4 kB / 0.5283 GB, free: 2.172 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1794, allocations: 0 / 0.5283 GB, free: 2.172 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001856/0.1796, allocations: 0 / 0.5283 GB, free: 2.172 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: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.2086/0.3883, allocations: 4.248 MB / 0.5324 GB, free: 37.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3883, allocations: 12.8 kB / 0.5325 GB, free: 37.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001069/0.3894, allocations: 0.6275 MB / 0.5331 GB, free: 37.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/0.392, allocations: 0.6039 MB / 0.5337 GB, free: 37.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003428/0.3954, allocations: 1.843 MB / 0.5355 GB, free: 37.01 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/0.3956, allocations: 238.1 kB / 0.5357 GB, free: 36.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005593/0.3962, allocations: 314 kB / 0.536 GB, free: 36.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01675/0.413, allocations: 8.67 MB / 0.5445 GB, free: 33.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.185e-05/0.4131, allocations: 14.81 kB / 0.5445 GB, free: 33.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003339/0.4134, allocations: 138.8 kB / 0.5446 GB, free: 33.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002839/0.4163, allocations: 1.559 MB / 0.5461 GB, free: 33.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01509/0.4314, allocations: 6.689 MB / 0.5527 GB, free: 30.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02689/0.4583, allocations: 26.33 MB / 0.5784 GB, free: 6.016 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005322/0.4637, allocations: 1.947 MB / 0.5803 GB, free: 4.035 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009044/0.4646, allocations: 0.8512 MB / 0.5811 GB, free: 3.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007752/0.4724, allocations: 6.313 MB / 0.5873 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/0.4724, allocations: 43.22 kB / 0.5873 GB, free: 12.31 MB / 430.1 MB Notification: Performance of pre-optimization done (n=77): time 3.307e-06/0.4724, allocations: 0 / 0.5873 GB, free: 12.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.01704/0.4895, allocations: 6.425 MB / 0.5936 GB, free: 5.859 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.4896, allocations: 141.5 kB / 0.5937 GB, free: 5.691 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003467/0.4931, allocations: 2.526 MB / 0.5962 GB, free: 3.145 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.4932, allocations: 41.7 kB / 0.5962 GB, free: 3.098 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001964/0.4952, allocations: 2.492 MB / 0.5987 GB, free: 0.582 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003904/0.4956, allocations: 409 kB / 0.599 GB, free: 184 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009686/0.4966, allocations: 0.7586 MB / 0.5998 GB, free: 15.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4967, allocations: 309 kB / 0.6001 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/0.4983, allocations: 0.9557 MB / 0.601 GB, free: 14.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003573/0.5019, allocations: 3.277 MB / 0.6042 GB, free: 9.727 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005766/0.5077, allocations: 4.614 MB / 0.6087 GB, free: 3.953 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-05/0.5078, allocations: 24 kB / 0.6087 GB, free: 3.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.006852/0.5146, allocations: 4.127 MB / 0.6128 GB, free: 15.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.036e-05/0.5147, allocations: 44.03 kB / 0.6128 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-05/0.5148, allocations: 84 kB / 0.6129 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001245/0.5149, allocations: 108 kB / 0.613 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002655/0.5176, allocations: 0.8889 MB / 0.6139 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001437/0.5177, allocations: 159.4 kB / 0.614 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.5198, allocations: 179.5 kB / 0.6142 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002875/0.5201, allocations: 224 kB / 0.6144 GB, free: 14.13 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 375 * Number of states: 0 () * Number of discrete variables: 40 (jointUSP.prismatic.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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (483): * Single equations (assignments): 483 * 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.002501/0.5226, allocations: 1.589 MB / 0.616 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004206/0.523, allocations: 230.5 kB / 0.6162 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.5251, allocations: 1.142 MB / 0.6173 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.5251, allocations: 12 kB / 0.6173 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.5251, allocations: 0 / 0.6173 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.5251, allocations: 7.984 kB / 0.6173 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009364/0.5345, allocations: 5.989 MB / 0.6232 GB, free: 4.824 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/0.5346, allocations: 16 kB / 0.6232 GB, free: 4.809 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007361/0.5353, allocations: 220.5 kB / 0.6234 GB, free: 4.594 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-05/0.5353, allocations: 27.98 kB / 0.6234 GB, free: 4.566 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.806e-05/0.5354, allocations: 44 kB / 0.6235 GB, free: 4.523 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.95e-05/0.5354, allocations: 35.86 kB / 0.6235 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-05/0.5355, allocations: 27.88 kB / 0.6235 GB, free: 4.461 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/0.5378, allocations: 1.753 MB / 0.6252 GB, free: 2.457 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005351/0.5384, allocations: 319.5 kB / 0.6255 GB, free: 2.125 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/0.5386, allocations: 51.98 kB / 0.6256 GB, free: 2.074 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007415/0.5394, allocations: 39.98 kB / 0.6256 GB, free: 2.035 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.5395, allocations: 135.1 kB / 0.6257 GB, free: 1.902 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.101e-05/0.5396, allocations: 52 kB / 0.6258 GB, free: 1.852 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002501/0.5421, allocations: 1.636 MB / 0.6274 GB, free: 212 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5421, allocations: 0 / 0.6274 GB, free: 212 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.002975/0.5451, allocations: 0.6445 MB / 0.628 GB, free: 15.56 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 76 * 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 (120): * Single equations (assignments): 120 * 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.002863/0.548, allocations: 2.403 MB / 0.6304 GB, free: 12.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004161/0.5522, allocations: 2.33 MB / 0.6326 GB, free: 10.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.161e-05/0.5522, allocations: 4 kB / 0.6326 GB, free: 10.59 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008895/0.5531, allocations: 0.5311 MB / 0.6332 GB, free: 10.07 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.555, allocations: 314.7 kB / 0.6335 GB, free: 9.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04033/0.5954, allocations: 27.01 MB / 0.6598 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00339/0.5988, allocations: 2.742 MB / 0.6625 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002366/0.6012, allocations: 0.9972 MB / 0.6635 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001902/0.6031, allocations: 1.464 MB / 0.6649 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of SimCode: time 7.51e-07/0.6031, allocations: 4 kB / 0.6649 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08962/0.6927, allocations: 44.33 MB / 0.7082 GB, free: 9.805 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/15.42, allocations: 8.047 kB / 0.7082 GB, free: 9.797 MB / 0.545 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches