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.001596/0.001596, allocations: 106.2 kB / 17.21 MB, free: 6.293 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.001436/0.001436, allocations: 194 kB / 18.12 MB, free: 5.383 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.486/1.486, allocations: 222.9 MB / 241.8 MB, free: 15.44 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.2284/0.2284, allocations: 44.18 MB / 336.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 68.52 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1544, allocations: 60.82 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3449/0.4993, allocations: 48.18 MB / 0.5046 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02989/0.5292, allocations: 10.72 MB / 0.5151 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01571/0.545, allocations: 210.2 kB / 0.5153 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009892/0.5549, allocations: 3.987 MB / 0.5192 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008237/0.5632, allocations: 2.066 MB / 0.5212 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004348/0.5676, allocations: 1.084 MB / 0.5222 GB, free: 7.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01373/0.5814, allocations: 8.263 MB / 0.5303 GB, free: 4.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009475/0.5909, allocations: 5.068 MB / 0.5352 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005646/0.5966, allocations: 1.922 MB / 0.5371 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006167/0.6028, allocations: 3.128 MB / 0.5402 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002557/0.6054, allocations: 342.9 kB / 0.5405 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006558/0.6119, allocations: 1.597 MB / 0.5421 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005551/0.6175, allocations: 2.527 MB / 0.5445 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007696/0.6252, allocations: 2.869 MB / 0.5473 GB, free: 8.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01476/0.64, allocations: 9.548 MB / 0.5567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6401, allocations: 3.938 kB / 0.5567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6401, allocations: 0 / 0.5567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000407/0.6405, allocations: 0 / 0.5567 GB, free: 14.97 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.02122/0.6618, allocations: 6.531 MB / 0.563 GB, free: 8.484 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.6618, allocations: 11.97 kB / 0.5631 GB, free: 8.473 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01636/0.6782, allocations: 2.715 MB / 0.5657 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0107/0.6889, allocations: 3.622 MB / 0.5692 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004903/0.6894, allocations: 348.5 kB / 0.5696 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002247/0.6917, allocations: 435.3 kB / 0.57 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03117/0.7229, allocations: 13.85 MB / 0.5835 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002124/0.7232, allocations: 63.44 kB / 0.5836 GB, free: 2.785 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001054/0.7242, allocations: 200.4 kB / 0.5838 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004011/0.7282, allocations: 2.405 MB / 0.5861 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02608/0.7543, allocations: 11.76 MB / 0.5976 GB, free: 4.469 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.07381/0.8282, allocations: 51.78 MB / 0.6482 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01271/0.8409, allocations: 4.733 MB / 0.6528 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004415/0.8454, allocations: 2.956 MB / 0.6557 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02061/0.866, allocations: 12.85 MB / 0.6682 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.775e-05/0.8661, allocations: 63.8 kB / 0.6683 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 5.771e-06/0.8662, allocations: 3.938 kB / 0.6683 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=248): time 0.4586/1.325, allocations: 43.39 MB / 0.7106 GB, free: 203.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/1.325, allocations: 240.8 kB / 0.7109 GB, free: 203.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01054/1.335, allocations: 4.774 MB / 0.7155 GB, free: 202.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006717/1.336, allocations: 61.77 kB / 0.7156 GB, free: 202.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002864/1.339, allocations: 3.836 MB / 0.7193 GB, free: 200.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001311/1.34, allocations: 0.9424 MB / 0.7203 GB, free: 199.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002405/1.343, allocations: 1.506 MB / 0.7217 GB, free: 198.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.113e-05/1.343, allocations: 302.4 kB / 0.722 GB, free: 198.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005873/1.349, allocations: 3.444 MB / 0.7254 GB, free: 197.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007892/1.357, allocations: 7.708 MB / 0.7329 GB, free: 190.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01196/1.369, allocations: 11.87 MB / 0.7445 GB, free: 181.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001856/1.369, allocations: 41.81 kB / 0.7446 GB, free: 181.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02727/1.396, allocations: 14.47 MB / 0.7587 GB, free: 175.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/1.396, allocations: 72 kB / 0.7588 GB, free: 175.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001645/1.396, allocations: 148 kB / 0.7589 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01052/1.407, allocations: 4.023 MB / 0.7628 GB, free: 170.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005133/1.412, allocations: 1.634 MB / 0.7644 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02232/1.434, allocations: 18.69 MB / 0.7827 GB, free: 150.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00765/1.442, allocations: 455.3 kB / 0.7831 GB, free: 150 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001956/1.444, allocations: 439.9 kB / 0.7835 GB, free: 149.6 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.006348/1.451, allocations: 2.657 MB / 0.7861 GB, free: 146.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001176/1.452, allocations: 430.4 kB / 0.7865 GB, free: 146.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01614/1.468, allocations: 8.64 MB / 0.795 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.437e-05/1.468, allocations: 24 kB / 0.795 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.387e-05/1.468, allocations: 15.88 kB / 0.795 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.832e-05/1.468, allocations: 15.95 kB / 0.795 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03106/1.499, allocations: 17.9 MB / 0.8125 GB, free: 119.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.632e-05/1.499, allocations: 4 kB / 0.8125 GB, free: 119.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/1.501, allocations: 399.3 kB / 0.8129 GB, free: 119.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0109/1.512, allocations: 4.069 MB / 0.8169 GB, free: 115.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003805/1.512, allocations: 40 kB / 0.8169 GB, free: 115.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02039/1.533, allocations: 17.11 MB / 0.8336 GB, free: 98.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.533, allocations: 5.656 kB / 0.8336 GB, free: 98.15 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02258/1.555, allocations: 13.22 MB / 0.8465 GB, free: 84.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001442/1.557, allocations: 467.4 kB / 0.847 GB, free: 84.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001537/1.558, allocations: 40 kB / 0.847 GB, free: 84.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002822/1.561, allocations: 216.5 kB / 0.8472 GB, free: 84.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007315/1.562, allocations: 154.2 kB / 0.8474 GB, free: 84.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/1.562, allocations: 58.94 kB / 0.8474 GB, free: 83.97 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00403/1.566, allocations: 2.985 MB / 0.8503 GB, free: 80.99 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.6e-07/1.566, allocations: 0 / 0.8503 GB, free: 80.99 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006979/1.573, allocations: 1.497 MB / 0.8518 GB, free: 79.5 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.0006728/1.574, allocations: 228.1 kB / 0.852 GB, free: 79.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01076/1.585, allocations: 8.251 MB / 0.8601 GB, free: 71.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.585, allocations: 7.938 kB / 0.8601 GB, free: 71.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004343/1.589, allocations: 3.116 MB / 0.8631 GB, free: 67.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005372/1.594, allocations: 0.5022 MB / 0.8636 GB, free: 67.42 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02466/1.619, allocations: 15.63 MB / 0.8789 GB, free: 51.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004619/1.624, allocations: 4.095 MB / 0.8829 GB, free: 47.65 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005162/1.629, allocations: 2.194 MB / 0.885 GB, free: 45.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009687/1.63, allocations: 283.4 kB / 0.8853 GB, free: 45.17 MB / 0.545 GB Notification: Performance of SimCode: time 9.92e-07/1.63, allocations: 0 / 0.8853 GB, free: 45.17 MB / 0.545 GB Notification: Performance of Templates: time 0.375/2.005, allocations: 62.26 MB / 0.9461 GB, free: 175.3 MB / 0.545 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