Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.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: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 202.3 kB / 16.79 MB, free: 6.84 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.949/1.949, allocations: 205.1 MB / 222.7 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4728/0.4728, allocations: 43.5 MB / 313.5 MB, free: 8.438 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.001306/0.001306, allocations: 74.55 kB / 382 MB, free: 8.742 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1527, allocations: 57.79 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3089/0.4616, allocations: 48.23 MB / 488.1 MB, free: 21.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02923/0.4909, allocations: 10.71 MB / 498.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01274/0.5037, allocations: 210.2 kB / 499 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007339/0.5111, allocations: 3.976 MB / 0.4912 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007886/0.5191, allocations: 2.073 MB / 0.4932 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003027/0.5221, allocations: 1.075 MB / 0.4942 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01335/0.5355, allocations: 8.044 MB / 0.5021 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009699/0.5452, allocations: 5.065 MB / 0.507 GB, free: 6.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006499/0.5517, allocations: 1.931 MB / 0.5089 GB, free: 5.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007944/0.5597, allocations: 3.138 MB / 0.512 GB, free: 4.734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003191/0.563, allocations: 345.9 kB / 0.5123 GB, free: 4.734 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005834/0.5688, allocations: 1.58 MB / 0.5139 GB, free: 4.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004784/0.5736, allocations: 2.54 MB / 0.5163 GB, free: 2.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006337/0.58, allocations: 2.867 MB / 0.5191 GB, free: 184 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01468/0.5947, allocations: 9.564 MB / 0.5285 GB, free: 6.582 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.5948, allocations: 0 / 0.5285 GB, free: 6.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5948, allocations: 0 / 0.5285 GB, free: 6.582 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005278/0.5953, allocations: 0 / 0.5285 GB, free: 6.582 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01942/0.6148, allocations: 6.534 MB / 0.5349 GB, free: 15.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/0.6149, allocations: 12.03 kB / 0.5349 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01687/0.6317, allocations: 2.715 MB / 0.5375 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00911/0.6409, allocations: 3.736 MB / 0.5412 GB, free: 9.438 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003602/0.6413, allocations: 346.4 kB / 0.5415 GB, free: 9.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00229/0.6436, allocations: 435.7 kB / 0.5419 GB, free: 8.664 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03272/0.6763, allocations: 13.85 MB / 0.5554 GB, free: 9.961 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004454/0.6768, allocations: 55.47 kB / 0.5555 GB, free: 9.906 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002717/0.6795, allocations: 199.8 kB / 0.5557 GB, free: 9.711 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00441/0.684, allocations: 2.406 MB / 0.558 GB, free: 7.305 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02654/0.7105, allocations: 11.76 MB / 0.5695 GB, free: 11.53 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0799/0.7905, allocations: 51.8 MB / 0.6201 GB, free: 6.285 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01271/0.8032, allocations: 4.73 MB / 0.6247 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3371/1.14, allocations: 2.957 MB / 0.6276 GB, free: 140.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01921/1.16, allocations: 12.85 MB / 0.6402 GB, free: 134.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/1.16, allocations: 53.28 kB / 0.6402 GB, free: 134.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=197): time 4.809e-06/1.16, allocations: 3.719 kB / 0.6402 GB, free: 134.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=248): time 0.1549/1.315, allocations: 43.46 MB / 0.6827 GB, free: 122.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001685/1.315, allocations: 229.5 kB / 0.6829 GB, free: 122.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007437/1.322, allocations: 4.795 MB / 0.6876 GB, free: 119 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006009/1.323, allocations: 61.7 kB / 0.6876 GB, free: 118.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001828/1.325, allocations: 3.842 MB / 0.6914 GB, free: 115.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001059/1.326, allocations: 0.9361 MB / 0.6923 GB, free: 114.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002084/1.328, allocations: 1.512 MB / 0.6938 GB, free: 112.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.989e-05/1.328, allocations: 309.2 kB / 0.6941 GB, free: 112.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004285/1.332, allocations: 3.438 MB / 0.6974 GB, free: 108.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005622/1.338, allocations: 7.704 MB / 0.7049 GB, free: 99.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/1.349, allocations: 11.87 MB / 0.7165 GB, free: 85.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001318/1.35, allocations: 44 kB / 0.7166 GB, free: 85.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02573/1.375, allocations: 14.47 MB / 0.7307 GB, free: 70.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.239e-05/1.375, allocations: 68 kB / 0.7308 GB, free: 70.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/1.376, allocations: 151.9 kB / 0.7309 GB, free: 70.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01112/1.387, allocations: 4.022 MB / 0.7348 GB, free: 66.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005194/1.392, allocations: 1.634 MB / 0.7364 GB, free: 64.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02345/1.415, allocations: 18.69 MB / 0.7547 GB, free: 46.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007049/1.422, allocations: 459.3 kB / 0.7551 GB, free: 45.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001799/1.424, allocations: 436 kB / 0.7555 GB, free: 45.17 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (884): * Single equations (assignments): 880 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006289/1.431, allocations: 2.665 MB / 0.7581 GB, free: 42.49 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001571/1.432, allocations: 426.5 kB / 0.7586 GB, free: 42.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01724/1.449, allocations: 8.641 MB / 0.767 GB, free: 33.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.593e-05/1.45, allocations: 24 kB / 0.767 GB, free: 33.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.92e-05/1.45, allocations: 19.88 kB / 0.767 GB, free: 33.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.85e-05/1.45, allocations: 17.03 kB / 0.767 GB, free: 33.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03181/1.481, allocations: 17.9 MB / 0.7845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.523e-05/1.482, allocations: 0 / 0.7845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0021/1.484, allocations: 399.4 kB / 0.7849 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01159/1.495, allocations: 4.069 MB / 0.7889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008932/1.496, allocations: 36 kB / 0.7889 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02369/1.52, allocations: 17.12 MB / 0.8056 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-06/1.52, allocations: 7.938 kB / 0.8056 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3833/1.903, allocations: 13.22 MB / 0.8186 GB, free: 140.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003524/1.907, allocations: 0.9627 MB / 0.8195 GB, free: 140.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00157/1.908, allocations: 39.83 kB / 0.8195 GB, free: 140.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00297/1.911, allocations: 214.6 kB / 0.8197 GB, free: 140.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000684/1.912, allocations: 149.3 kB / 0.8199 GB, free: 140.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/1.912, allocations: 60.55 kB / 0.8199 GB, free: 140.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004828/1.917, allocations: 3 MB / 0.8229 GB, free: 140.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.01e-07/1.917, allocations: 0 / 0.8229 GB, free: 140.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008031/1.925, allocations: 1.492 MB / 0.8243 GB, free: 140 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (173): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008614/1.926, allocations: 228.9 kB / 0.8245 GB, free: 139.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01312/1.939, allocations: 8.252 MB / 0.8326 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.939, allocations: 1.25 kB / 0.8326 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005023/1.944, allocations: 3.114 MB / 0.8356 GB, free: 135.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003617/1.948, allocations: 0.5056 MB / 0.8361 GB, free: 135.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03096/1.979, allocations: 15.66 MB / 0.8514 GB, free: 127.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009187/1.988, allocations: 4.103 MB / 0.8554 GB, free: 125.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00706/1.995, allocations: 2.195 MB / 0.8576 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001609/1.997, allocations: 284.9 kB / 0.8579 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.873e-06/1.997, allocations: 0 / 0.8579 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.09484/2.092, allocations: 62.35 MB / 0.9187 GB, free: 78.85 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches