Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.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: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001107, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001112/0.001112, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2363/0.2363, allocations: 46.09 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 77.16 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.159, allocations: 62.45 MB / 480 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01467/0.1737, allocations: 13.22 MB / 493.2 MB, free: 7.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0115/0.1852, allocations: 4.874 MB / 498.1 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004048/0.1893, allocations: 83.75 kB / 498.2 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007496/0.1968, allocations: 3.964 MB / 0.4904 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006866/0.2038, allocations: 2.163 MB / 0.4925 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00331/0.2071, allocations: 1.182 MB / 0.4937 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009976/0.2171, allocations: 5.807 MB / 0.4993 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008422/0.2255, allocations: 5.186 MB / 0.5044 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3192/0.5448, allocations: 2.158 MB / 0.5065 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006221/0.5511, allocations: 2.962 MB / 0.5094 GB, free: 16.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002285/0.5534, allocations: 0.4997 MB / 0.5099 GB, free: 16.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004561/0.558, allocations: 1.642 MB / 0.5115 GB, free: 16.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004308/0.5623, allocations: 2.635 MB / 0.5141 GB, free: 16.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01134/0.5736, allocations: 2.999 MB / 0.517 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0157/0.5894, allocations: 9.607 MB / 0.5264 GB, free: 12.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.5894, allocations: 5.438 kB / 0.5264 GB, free: 12.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5894, allocations: 0.5625 kB / 0.5264 GB, free: 12.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004159/0.5899, allocations: 0 / 0.5264 GB, free: 12.47 MB / 382.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.02281/0.6127, allocations: 6.499 MB / 0.5327 GB, free: 8.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.6128, allocations: 10.59 kB / 0.5327 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01849/0.6313, allocations: 2.71 MB / 0.5354 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009952/0.6413, allocations: 3.571 MB / 0.5389 GB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004121/0.6417, allocations: 352.2 kB / 0.5392 GB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002578/0.6443, allocations: 436.2 kB / 0.5396 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03495/0.6793, allocations: 13.85 MB / 0.5531 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003452/0.6797, allocations: 60.36 kB / 0.5532 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002573/0.6823, allocations: 195.5 kB / 0.5534 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004164/0.6864, allocations: 2.409 MB / 0.5557 GB, free: 6.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03039/0.7169, allocations: 11.76 MB / 0.5672 GB, free: 10.68 MB / 414.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.08605/0.803, allocations: 51.78 MB / 0.6178 GB, free: 6.141 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01383/0.8168, allocations: 4.754 MB / 0.6224 GB, free: 1.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005073/0.8219, allocations: 2.95 MB / 0.6253 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02393/0.8459, allocations: 12.94 MB / 0.6379 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.608e-05/0.846, allocations: 66.97 kB / 0.638 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of pre-optimization done (n=197): time 6.232e-06/0.846, allocations: 0 / 0.638 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of matching and sorting (n=248): time 0.1689/1.015, allocations: 43.19 MB / 0.6802 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001723/1.015, allocations: 238.5 kB / 0.6804 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01234/1.028, allocations: 4.769 MB / 0.6851 GB, free: 476 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009251/1.028, allocations: 61.7 kB / 0.6851 GB, free: 408 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004128/1.033, allocations: 3.838 MB / 0.6889 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002021/1.035, allocations: 0.9384 MB / 0.6898 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005789/1.04, allocations: 1.511 MB / 0.6913 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.041, allocations: 309.1 kB / 0.6916 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006922/1.048, allocations: 3.446 MB / 0.6949 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01203/1.06, allocations: 7.716 MB / 0.7025 GB, free: 12.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3215/1.381, allocations: 11.87 MB / 0.7141 GB, free: 186.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001925/1.381, allocations: 43.28 kB / 0.7141 GB, free: 186.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.03215/1.414, allocations: 14.48 MB / 0.7282 GB, free: 183.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002678/1.414, allocations: 72.19 kB / 0.7283 GB, free: 183.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000437/1.414, allocations: 149.4 kB / 0.7285 GB, free: 183.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01261/1.427, allocations: 4.029 MB / 0.7324 GB, free: 182.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00563/1.433, allocations: 1.643 MB / 0.734 GB, free: 182.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02498/1.458, allocations: 19.85 MB / 0.7534 GB, free: 173.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006025/1.464, allocations: 464.1 kB / 0.7538 GB, free: 173.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001355/1.465, allocations: 439.6 kB / 0.7542 GB, free: 173 MB / 0.545 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 (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.00519/1.47, allocations: 2.65 MB / 0.7568 GB, free: 170.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/1.472, allocations: 425.5 kB / 0.7572 GB, free: 170.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01818/1.49, allocations: 8.645 MB / 0.7657 GB, free: 162.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.547e-05/1.49, allocations: 29.09 kB / 0.7657 GB, free: 162.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.393e-05/1.49, allocations: 15.56 kB / 0.7657 GB, free: 162.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.512e-05/1.49, allocations: 11.95 kB / 0.7657 GB, free: 162.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04784/1.538, allocations: 17.9 MB / 0.7832 GB, free: 144.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.532e-05/1.538, allocations: 4 kB / 0.7832 GB, free: 144.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003224/1.541, allocations: 391.4 kB / 0.7836 GB, free: 143.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01815/1.559, allocations: 4.091 MB / 0.7876 GB, free: 139.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007925/1.56, allocations: 39.98 kB / 0.7876 GB, free: 139.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0224/1.582, allocations: 18.23 MB / 0.8054 GB, free: 121.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.583, allocations: 3.938 kB / 0.8054 GB, free: 121.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02299/1.606, allocations: 13.23 MB / 0.8184 GB, free: 108.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001759/1.607, allocations: 467.4 kB / 0.8188 GB, free: 107.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001826/1.609, allocations: 40 kB / 0.8188 GB, free: 107.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00342/1.613, allocations: 218.2 kB / 0.819 GB, free: 107.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009487/1.614, allocations: 153.8 kB / 0.8192 GB, free: 107.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004121/1.614, allocations: 64 kB / 0.8193 GB, free: 107.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006962/1.621, allocations: 2.977 MB / 0.8222 GB, free: 104.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.91e-07/1.621, allocations: 0 / 0.8222 GB, free: 104.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01063/1.632, allocations: 1.469 MB / 0.8236 GB, free: 103 MB / 0.545 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.001315/1.633, allocations: 219.7 kB / 0.8238 GB, free: 102.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01474/1.648, allocations: 10.03 MB / 0.8336 GB, free: 92.79 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/1.648, allocations: 0 / 0.8336 GB, free: 92.79 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005023/1.653, allocations: 3.129 MB / 0.8366 GB, free: 89.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007945/1.661, allocations: 0.5179 MB / 0.8372 GB, free: 89.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02709/1.688, allocations: 13 MB / 0.8499 GB, free: 76.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008377/1.696, allocations: 4.091 MB / 0.8538 GB, free: 72 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006901/1.703, allocations: 2.196 MB / 0.856 GB, free: 69.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/1.705, allocations: 279.4 kB / 0.8563 GB, free: 69.53 MB / 0.545 GB Notification: Performance of SimCode: time 1.273e-06/1.705, allocations: 0 / 0.8563 GB, free: 69.53 MB / 0.545 GB Notification: Performance of Templates: time 0.3777/2.082, allocations: 64.45 MB / 0.9192 GB, free: 176.2 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches