Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009999/0.0009998, allocations: 94.55 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001184/0.001184, allocations: 207.8 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.7 MB / 246.8 MB, free: 11.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1984/0.1984, allocations: 46.19 MB / 345.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002699/0.0002698, allocations: 8 kB / 419.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1146, allocations: 63.56 MB / 483.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.3119/0.4265, allocations: 44.28 MB / 0.5151 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02272/0.4493, allocations: 8.978 MB / 0.5239 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01053/0.4599, allocations: 190.9 kB / 0.524 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001397/0.4613, allocations: 289.8 kB / 0.5243 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002736/0.464, allocations: 0.7498 MB / 0.5251 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.4658, allocations: 0.5873 MB / 0.5256 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004595/0.4704, allocations: 3.26 MB / 0.5288 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006943/0.4773, allocations: 5.827 MB / 0.5345 GB, free: 5.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001324/0.4787, allocations: 0.7825 MB / 0.5353 GB, free: 5.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.4802, allocations: 1.319 MB / 0.5366 GB, free: 4.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002798/0.4805, allocations: 113.1 kB / 0.5367 GB, free: 4.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.4821, allocations: 0.7586 MB / 0.5374 GB, free: 4.043 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.4832, allocations: 1.232 MB / 0.5386 GB, free: 3.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.4843, allocations: 1.433 MB / 0.54 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003996/0.4883, allocations: 5.272 MB / 0.5452 GB, free: 14.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4883, allocations: 3.938 kB / 0.5452 GB, free: 14.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4883, allocations: 0 / 0.5452 GB, free: 14.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.77e-05/0.4884, allocations: 0 / 0.5452 GB, free: 14.66 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1077 * Number of variables: 1077 Notification: Performance of Generate backend data structure: time 0.006355/0.4948, allocations: 3.083 MB / 0.5482 GB, free: 12.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.4949, allocations: 10.66 kB / 0.5482 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006996/0.4956, allocations: 0.5351 MB / 0.5487 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/0.4976, allocations: 0.5811 MB / 0.5493 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002697/0.5003, allocations: 1.734 MB / 0.551 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.5005, allocations: 210.1 kB / 0.5512 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004543/0.501, allocations: 284.3 kB / 0.5514 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01412/0.5151, allocations: 7.637 MB / 0.5589 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.669e-05/0.5152, allocations: 15.81 kB / 0.5589 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003126/0.5155, allocations: 128.5 kB / 0.559 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001599/0.5171, allocations: 1.097 MB / 0.5601 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01411/0.5312, allocations: 6.207 MB / 0.5662 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03246/0.5637, allocations: 22.91 MB / 0.5885 GB, free: 3.328 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006308/0.5701, allocations: 1.878 MB / 0.5904 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.5714, allocations: 0.834 MB / 0.5912 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007953/0.5794, allocations: 5.867 MB / 0.5969 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.5794, allocations: 43.22 kB / 0.597 GB, free: 10.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=75): time 2.765e-06/0.5794, allocations: 0 / 0.597 GB, free: 10.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=94): time 0.01504/0.5945, allocations: 4.439 MB / 0.6013 GB, free: 5.723 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.5946, allocations: 68.33 kB / 0.6014 GB, free: 5.645 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004156/0.5987, allocations: 2.282 MB / 0.6036 GB, free: 3.328 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.875e-05/0.5988, allocations: 41.7 kB / 0.6036 GB, free: 3.281 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001478/0.6003, allocations: 2.041 MB / 0.6056 GB, free: 1.234 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003675/0.6007, allocations: 369.5 kB / 0.606 GB, free: 0.875 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004575/0.6011, allocations: 316.9 kB / 0.6063 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.6013, allocations: 309 kB / 0.6066 GB, free: 260 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.6029, allocations: 0.8968 MB / 0.6074 GB, free: 15.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003031/0.606, allocations: 2.973 MB / 0.6103 GB, free: 11.35 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004827/0.6108, allocations: 4.213 MB / 0.6145 GB, free: 6.102 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-05/0.6109, allocations: 20 kB / 0.6145 GB, free: 6.082 MB / 462.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.00623/0.6171, allocations: 3.766 MB / 0.6182 GB, free: 2.312 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.135e-05/0.6172, allocations: 36 kB / 0.6182 GB, free: 2.277 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.569e-05/0.6173, allocations: 72 kB / 0.6183 GB, free: 2.207 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001198/0.6174, allocations: 100 kB / 0.6184 GB, free: 2.109 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/0.6196, allocations: 0.7882 MB / 0.6191 GB, free: 1.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001184/0.6198, allocations: 151.4 kB / 0.6193 GB, free: 1.172 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.6216, allocations: 155.9 kB / 0.6194 GB, free: 1.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/0.6218, allocations: 196 kB / 0.6196 GB, free: 0.8281 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 50 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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 (436): * Single equations (assignments): 436 * 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.002001/0.6238, allocations: 1.422 MB / 0.621 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/0.6241, allocations: 197.4 kB / 0.6212 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004805/0.6246, allocations: 241 kB / 0.6214 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.6246, allocations: 12 kB / 0.6214 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.6246, allocations: 0 / 0.6214 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.6246, allocations: 3.984 kB / 0.6214 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008745/0.6334, allocations: 5.342 MB / 0.6266 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-05/0.6335, allocations: 20 kB / 0.6267 GB, free: 9.266 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006998/0.6342, allocations: 212.4 kB / 0.6269 GB, free: 9.059 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.903e-05/0.6342, allocations: 31.98 kB / 0.6269 GB, free: 9.027 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.1e-05/0.6343, allocations: 48 kB / 0.6269 GB, free: 8.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-05/0.6344, allocations: 35.86 kB / 0.627 GB, free: 8.945 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.955e-05/0.6344, allocations: 31.81 kB / 0.627 GB, free: 8.914 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.6366, allocations: 1.722 MB / 0.6287 GB, free: 6.914 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007152/0.6373, allocations: 302.3 kB / 0.629 GB, free: 6.598 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003866/0.6377, allocations: 47.98 kB / 0.629 GB, free: 6.551 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009058/0.6386, allocations: 43.98 kB / 0.6291 GB, free: 6.508 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.6388, allocations: 139.3 kB / 0.6292 GB, free: 6.371 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.905e-05/0.6388, allocations: 52 kB / 0.6293 GB, free: 6.32 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002661/0.6415, allocations: 1.473 MB / 0.6307 GB, free: 4.832 MB / 478.1 MB Notification: Performance of sort global known variables: time 3e-07/0.6415, allocations: 0 / 0.6307 GB, free: 4.832 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002932/0.6445, allocations: 0.5586 MB / 0.6312 GB, free: 4.273 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 86 * 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 (118): * Single equations (assignments): 118 * 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.002787/0.6473, allocations: 2.364 MB / 0.6335 GB, free: 1.613 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003757/0.651, allocations: 2.109 MB / 0.6356 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.6511, allocations: 1.875 kB / 0.6356 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007687/0.6518, allocations: 0.5001 MB / 0.6361 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007568/0.6594, allocations: 358.6 kB / 0.6364 GB, free: 14.67 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04478/0.7042, allocations: 28 MB / 0.6638 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003069/0.7073, allocations: 2.46 MB / 0.6662 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00238/0.7097, allocations: 0.9057 MB / 0.6671 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001469/0.7112, allocations: 1.237 MB / 0.6683 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of SimCode: time 9.12e-07/0.7112, allocations: 0 / 0.6683 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08195/0.7932, allocations: 40.4 MB / 0.7077 GB, free: 1.805 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002852/0.7935, allocations: 192.5 kB / 0.7079 GB, free: 1.547 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.837/3.631, allocations: 0 / 0.7079 GB, free: 1.547 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches