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.00174/0.00174, allocations: 102.7 kB / 16.27 MB, free: 5.922 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.00187/0.00187, allocations: 188.9 kB / 17.19 MB, free: 5.57 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.393/1.393, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2026/0.2026, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 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.001441/0.001441, allocations: 65.98 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09187/0.09333, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.01075/0.1041, allocations: 12.6 MB / 453.2 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007343/0.1115, allocations: 3.564 MB / 456.8 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002354/0.1139, allocations: 63.88 kB / 456.8 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00659/0.1206, allocations: 3.33 MB / 460.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004196/0.1248, allocations: 0.9483 MB / 461.1 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.1271, allocations: 0.6549 MB / 461.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003784/0.1309, allocations: 2.314 MB / 464.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004472/0.1354, allocations: 4.086 MB / 468.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.1371, allocations: 1.371 MB / 469.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002002/0.1391, allocations: 1.764 MB / 471.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005727/0.1397, allocations: 360 kB / 471.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.1411, allocations: 0.9013 MB / 472.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001317/0.1425, allocations: 1.679 MB / 474.2 MB, free: 5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001704/0.1442, allocations: 1.954 MB / 476.2 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005105/0.1493, allocations: 6.091 MB / 482.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1493, allocations: 0 / 482.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1493, allocations: 0 / 482.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000119/0.1495, allocations: 3.938 kB / 482.3 MB, free: 12.92 MB / 366.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.007346/0.1568, allocations: 4.161 MB / 486.5 MB, free: 8.695 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1569, allocations: 11.89 kB / 486.5 MB, free: 8.684 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007015/0.1576, allocations: 0.6282 MB / 487.1 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/0.16, allocations: 0.581 MB / 487.7 MB, free: 7.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003812/0.1638, allocations: 1.809 MB / 489.5 MB, free: 5.605 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/0.164, allocations: 246.3 kB / 489.7 MB, free: 5.363 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009424/0.165, allocations: 311.9 kB / 490 MB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01582/0.1808, allocations: 8.66 MB / 498.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.931e-05/0.1809, allocations: 19.81 kB / 498.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003188/0.1812, allocations: 139.9 kB / 498.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002517/0.1838, allocations: 1.561 MB / 0.4887 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01385/0.1976, allocations: 6.68 MB / 0.4952 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03373/0.2314, allocations: 26.39 MB / 0.521 GB, free: 8.531 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005462/0.2369, allocations: 1.948 MB / 0.5229 GB, free: 6.547 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.2379, allocations: 0.8544 MB / 0.5237 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.172/0.4099, allocations: 6.297 MB / 0.5299 GB, free: 86.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.41, allocations: 49.72 kB / 0.5299 GB, free: 86.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=77): time 3.105e-06/0.41, allocations: 0 / 0.5299 GB, free: 86.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.0154/0.4254, allocations: 6.23 MB / 0.536 GB, free: 85.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.4255, allocations: 145.1 kB / 0.5361 GB, free: 84.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00304/0.4285, allocations: 2.512 MB / 0.5386 GB, free: 84.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.15e-05/0.4286, allocations: 40.92 kB / 0.5386 GB, free: 84.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.4297, allocations: 2.406 MB / 0.541 GB, free: 83.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/0.43, allocations: 386.7 kB / 0.5413 GB, free: 82.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007632/0.4308, allocations: 0.754 MB / 0.5421 GB, free: 82.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.509e-05/0.4308, allocations: 307.8 kB / 0.5424 GB, free: 82.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.4321, allocations: 0.9553 MB / 0.5433 GB, free: 81.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.4341, allocations: 3.279 MB / 0.5465 GB, free: 78.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/0.4379, allocations: 4.614 MB / 0.551 GB, free: 74.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-05/0.4379, allocations: 23.75 kB / 0.551 GB, free: 74.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.005075/0.443, allocations: 4.117 MB / 0.5551 GB, free: 72.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/0.4431, allocations: 38.84 kB / 0.5551 GB, free: 72.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.865e-05/0.4432, allocations: 81.19 kB / 0.5552 GB, free: 72.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.759e-05/0.4433, allocations: 111.3 kB / 0.5553 GB, free: 72.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/0.4454, allocations: 0.8884 MB / 0.5561 GB, free: 72.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.947e-05/0.4455, allocations: 158.7 kB / 0.5563 GB, free: 72.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/0.4475, allocations: 180.5 kB / 0.5565 GB, free: 72.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.4477, allocations: 225.3 kB / 0.5567 GB, free: 72.21 MB / 414.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.001649/0.4494, allocations: 1.584 MB / 0.5582 GB, free: 71.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/0.4497, allocations: 220.7 kB / 0.5584 GB, free: 71.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.4512, allocations: 1.142 MB / 0.5596 GB, free: 70.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.637e-06/0.4512, allocations: 8.094 kB / 0.5596 GB, free: 70.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4512, allocations: 3.875 kB / 0.5596 GB, free: 70.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.4512, allocations: 7.734 kB / 0.5596 GB, free: 70.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00611/0.4573, allocations: 5.983 MB / 0.5654 GB, free: 65.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.4574, allocations: 21 kB / 0.5654 GB, free: 64.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006102/0.458, allocations: 219.6 kB / 0.5656 GB, free: 64.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.755e-05/0.458, allocations: 27.98 kB / 0.5657 GB, free: 64.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.206e-05/0.4581, allocations: 40 kB / 0.5657 GB, free: 64.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-05/0.4581, allocations: 35.86 kB / 0.5657 GB, free: 64.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/0.4581, allocations: 23.88 kB / 0.5658 GB, free: 64.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.4595, allocations: 1.744 MB / 0.5675 GB, free: 62.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003669/0.4599, allocations: 311.2 kB / 0.5678 GB, free: 62.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.4601, allocations: 43.98 kB / 0.5678 GB, free: 62.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007182/0.4609, allocations: 43.98 kB / 0.5679 GB, free: 62.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.461, allocations: 127.5 kB / 0.568 GB, free: 62.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/0.461, allocations: 52 kB / 0.568 GB, free: 62.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001578/0.4626, allocations: 1.64 MB / 0.5696 GB, free: 60.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4626, allocations: 0 / 0.5696 GB, free: 60.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002581/0.4652, allocations: 0.6399 MB / 0.5702 GB, free: 59.79 MB / 414.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.001654/0.4669, allocations: 2.395 MB / 0.5726 GB, free: 57.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003366/0.4703, allocations: 2.465 MB / 0.575 GB, free: 54.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.4703, allocations: 0 / 0.575 GB, free: 54.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005609/0.4708, allocations: 0.5234 MB / 0.5755 GB, free: 54.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.4725, allocations: 327.7 kB / 0.5758 GB, free: 53.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02754/0.5, allocations: 29.71 MB / 0.6048 GB, free: 19.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002102/0.5021, allocations: 2.744 MB / 0.6075 GB, free: 16.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002302/0.5045, allocations: 0.9942 MB / 0.6085 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/0.5057, allocations: 1.456 MB / 0.6099 GB, free: 14.26 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5057, allocations: 0 / 0.6099 GB, free: 14.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07206/0.5778, allocations: 45.01 MB / 0.6539 GB, free: 1.238 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.743/9.321, allocations: 7.969 kB / 0.6539 GB, free: 1.23 MB / 446.1 MB (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