Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_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.001096/0.001096, allocations: 98.34 kB / 17 MB, free: 6.414 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.001352/0.001352, allocations: 188.6 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.65/1.65, allocations: 223.3 MB / 241.9 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.227/0.227, allocations: 44.25 MB / 337.3 MB, free: 2.523 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003606, allocations: 15.92 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1542, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.04442/0.1987, allocations: 43.65 MB / 0.5032 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3784/0.5771, allocations: 10.12 MB / 0.5131 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01291/0.5901, allocations: 208.4 kB / 0.5133 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01063/0.6008, allocations: 2.231 MB / 0.5154 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02871/0.6295, allocations: 6.805 MB / 0.5221 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006816/0.6364, allocations: 0.9736 MB / 0.523 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0487/0.6851, allocations: 34.07 MB / 0.5563 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01322/0.6984, allocations: 6.293 MB / 0.5624 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005188/0.7036, allocations: 1.694 MB / 0.5641 GB, free: 44 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005494/0.7092, allocations: 2.673 MB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00171/0.7109, allocations: 200 kB / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005675/0.7166, allocations: 1.212 MB / 0.5681 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005082/0.7217, allocations: 2.281 MB / 0.5703 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002936/0.7247, allocations: 1.089 MB / 0.5714 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.7369, allocations: 7.709 MB / 0.5789 GB, free: 3.438 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.737, allocations: 0 / 0.5789 GB, free: 3.438 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.737, allocations: 0 / 0.5789 GB, free: 3.438 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005312/0.7375, allocations: 0 / 0.5789 GB, free: 3.438 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01903/0.7566, allocations: 5.448 MB / 0.5842 GB, free: 14.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.7567, allocations: 8.031 kB / 0.5842 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01666/0.7733, allocations: 2.781 MB / 0.5869 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009841/0.7832, allocations: 3.574 MB / 0.5904 GB, free: 8.496 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004733/0.7837, allocations: 348.8 kB / 0.5908 GB, free: 8.188 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002379/0.7861, allocations: 429.3 kB / 0.5912 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03453/0.8207, allocations: 13.86 MB / 0.6047 GB, free: 9.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003374/0.821, allocations: 55.47 kB / 0.6048 GB, free: 9.176 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002179/0.8232, allocations: 201.8 kB / 0.605 GB, free: 9.023 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004618/0.8279, allocations: 2.405 MB / 0.6073 GB, free: 6.629 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.033/0.8609, allocations: 11.75 MB / 0.6188 GB, free: 10.87 MB / 462.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.08966/0.9506, allocations: 51.76 MB / 0.6693 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01357/0.9642, allocations: 4.745 MB / 0.674 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004977/0.9692, allocations: 2.944 MB / 0.6768 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02466/0.9939, allocations: 12.86 MB / 0.6894 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.755e-05/0.994, allocations: 55.81 kB / 0.6894 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 3.797e-06/0.994, allocations: 0 / 0.6894 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of matching and sorting (n=248): time 0.4694/1.463, allocations: 43.29 MB / 0.7317 GB, free: 182 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.837e-05/1.464, allocations: 231.1 kB / 0.7319 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006171/1.47, allocations: 4.746 MB / 0.7366 GB, free: 180 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006274/1.47, allocations: 61.11 kB / 0.7366 GB, free: 180 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002095/1.473, allocations: 3.841 MB / 0.7404 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001161/1.474, allocations: 0.9422 MB / 0.7413 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003601/1.474, allocations: 149 kB / 0.7414 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000287/1.474, allocations: 0.6098 MB / 0.742 GB, free: 175.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004262/1.479, allocations: 3.413 MB / 0.7454 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007154/1.486, allocations: 7.686 MB / 0.7529 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007277/1.493, allocations: 4.954 MB / 0.7577 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001034/1.493, allocations: 44 kB / 0.7578 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02943/1.523, allocations: 14.42 MB / 0.7718 GB, free: 144.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/1.523, allocations: 68 kB / 0.7719 GB, free: 144 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001584/1.523, allocations: 148 kB / 0.772 GB, free: 143.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01018/1.533, allocations: 4.048 MB / 0.776 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00533/1.539, allocations: 1.634 MB / 0.7776 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02222/1.561, allocations: 18.67 MB / 0.7958 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006668/1.568, allocations: 463.4 kB / 0.7963 GB, free: 118.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001447/1.569, allocations: 432.9 kB / 0.7967 GB, free: 118.5 MB / 0.5294 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004962/1.574, allocations: 2.651 MB / 0.7993 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/1.575, allocations: 434.5 kB / 0.7997 GB, free: 115.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01569/1.591, allocations: 8.621 MB / 0.8081 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.826e-05/1.591, allocations: 29.86 kB / 0.8081 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.738e-05/1.591, allocations: 15.95 kB / 0.8081 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-05/1.591, allocations: 15.95 kB / 0.8082 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03043/1.621, allocations: 17.89 MB / 0.8256 GB, free: 88.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.399e-05/1.621, allocations: 0 / 0.8256 GB, free: 88.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001948/1.623, allocations: 395.4 kB / 0.826 GB, free: 88.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01017/1.634, allocations: 4.08 MB / 0.83 GB, free: 84.37 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005248/1.634, allocations: 39.98 kB / 0.83 GB, free: 84.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02051/1.655, allocations: 17.09 MB / 0.8467 GB, free: 67.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/1.655, allocations: 0 / 0.8467 GB, free: 67.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02168/1.676, allocations: 13.2 MB / 0.8596 GB, free: 53.87 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/1.678, allocations: 475.4 kB / 0.8601 GB, free: 53.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008069/1.679, allocations: 40 kB / 0.8601 GB, free: 53.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/1.681, allocations: 221.8 kB / 0.8603 GB, free: 53.13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00052/1.681, allocations: 152 kB / 0.8605 GB, free: 52.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/1.682, allocations: 68.72 kB / 0.8605 GB, free: 52.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004244/1.686, allocations: 2.954 MB / 0.8634 GB, free: 49.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.41e-07/1.686, allocations: 0 / 0.8634 GB, free: 49.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007044/1.693, allocations: 1.493 MB / 0.8649 GB, free: 48.48 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006344/1.694, allocations: 204.5 kB / 0.8651 GB, free: 48.29 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01174/1.705, allocations: 8.22 MB / 0.8731 GB, free: 40.08 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.705, allocations: 3.938 kB / 0.8731 GB, free: 40.08 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004224/1.71, allocations: 3.098 MB / 0.8761 GB, free: 36.96 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005073/1.715, allocations: 0.5036 MB / 0.8766 GB, free: 36.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02207/1.737, allocations: 15.09 MB / 0.8913 GB, free: 21.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004949/1.742, allocations: 4.099 MB / 0.8953 GB, free: 17.21 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005719/1.747, allocations: 2.202 MB / 0.8975 GB, free: 15 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.299/2.047, allocations: 280.3 kB / 0.8978 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of SimCode: time 2.514e-06/2.047, allocations: 0 / 0.8978 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.1121/2.159, allocations: 59.85 MB / 0.9562 GB, free: 139.3 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches