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.001169/0.00117, allocations: 98.41 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 198 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.2 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2367/0.2367, allocations: 45.92 MB / 344 MB, free: 12.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003291, allocations: 11.98 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.153, allocations: 63.45 MB / 481.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3591/0.5122, allocations: 41.25 MB / 0.5104 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03202/0.5443, allocations: 10.55 MB / 0.5207 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0117/0.556, allocations: 206.1 kB / 0.5209 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009263/0.5653, allocations: 2.022 MB / 0.5229 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02701/0.5924, allocations: 5.905 MB / 0.5286 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006228/0.5986, allocations: 0.9483 MB / 0.5295 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04018/0.6389, allocations: 25.8 MB / 0.5547 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01178/0.6507, allocations: 6.241 MB / 0.5608 GB, free: 6.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003757/0.6545, allocations: 1.382 MB / 0.5622 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003911/0.6584, allocations: 1.897 MB / 0.564 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001494/0.6599, allocations: 200 kB / 0.5642 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004247/0.6642, allocations: 1.162 MB / 0.5654 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003311/0.6675, allocations: 2.104 MB / 0.5674 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002094/0.6697, allocations: 1.092 MB / 0.5685 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01219/0.6819, allocations: 7.87 MB / 0.5762 GB, free: 6.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-05/0.6819, allocations: 4 kB / 0.5762 GB, free: 6.426 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.719e-06/0.6819, allocations: 7.938 kB / 0.5762 GB, free: 6.418 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004091/0.6824, allocations: 1.641 kB / 0.5762 GB, free: 6.418 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.01685/0.6992, allocations: 5.741 MB / 0.5818 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.6993, allocations: 11.97 kB / 0.5818 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08861/0.7879, allocations: 8.669 MB / 0.5903 GB, free: 7.906 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/0.7981, allocations: 3.811 MB / 0.594 GB, free: 4.035 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003938/0.7985, allocations: 345.9 kB / 0.5943 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002075/0.8006, allocations: 439.6 kB / 0.5947 GB, free: 3.258 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03016/0.8308, allocations: 13.98 MB / 0.6084 GB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002041/0.831, allocations: 55.47 kB / 0.6084 GB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008702/0.8319, allocations: 203.8 kB / 0.6086 GB, free: 4.172 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003951/0.8359, allocations: 2.406 MB / 0.611 GB, free: 1.766 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02679/0.8627, allocations: 11.83 MB / 0.6225 GB, free: 5.918 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.07483/0.9376, allocations: 51.64 MB / 0.673 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01258/0.9502, allocations: 4.684 MB / 0.6775 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02195/0.9722, allocations: 12.56 MB / 0.6898 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.305e-05/0.9723, allocations: 59.86 kB / 0.6899 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=191): time 5.871e-06/0.9723, allocations: 0 / 0.6899 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=242): time 0.4405/1.413, allocations: 42.36 MB / 0.7312 GB, free: 192.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/1.413, allocations: 238.3 kB / 0.7315 GB, free: 192.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009286/1.422, allocations: 5 MB / 0.7363 GB, free: 190.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007879/1.423, allocations: 61.48 kB / 0.7364 GB, free: 190.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002598/1.426, allocations: 3.903 MB / 0.7402 GB, free: 187.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001315/1.427, allocations: 0.9198 MB / 0.7411 GB, free: 186.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003744/1.427, allocations: 141.1 kB / 0.7412 GB, free: 186.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0003445/1.428, allocations: 0.6112 MB / 0.7418 GB, free: 186 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004903/1.433, allocations: 3.232 MB / 0.745 GB, free: 184.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006871/1.44, allocations: 7.498 MB / 0.7523 GB, free: 178 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006589/1.446, allocations: 4.767 MB / 0.757 GB, free: 176.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001366/1.446, allocations: 42.12 kB / 0.757 GB, free: 176.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02919/1.476, allocations: 13.8 MB / 0.7705 GB, free: 168.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001578/1.476, allocations: 68 kB / 0.7706 GB, free: 168.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002766/1.476, allocations: 152 kB / 0.7707 GB, free: 168.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01108/1.487, allocations: 3.802 MB / 0.7744 GB, free: 164.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005738/1.493, allocations: 1.595 MB / 0.776 GB, free: 162.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02327/1.516, allocations: 18.6 MB / 0.7941 GB, free: 144 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007424/1.524, allocations: 451.3 kB / 0.7946 GB, free: 143.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001539/1.525, allocations: 428 kB / 0.795 GB, free: 143.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * 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 (857): * Single equations (assignments): 853 * 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.005525/1.531, allocations: 2.662 MB / 0.7976 GB, free: 140.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001266/1.532, allocations: 434.4 kB / 0.798 GB, free: 140 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01567/1.548, allocations: 8.127 MB / 0.8059 GB, free: 131.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.443e-05/1.548, allocations: 24 kB / 0.8059 GB, free: 131.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.738e-05/1.548, allocations: 12 kB / 0.806 GB, free: 131.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.347e-05/1.548, allocations: 11.97 kB / 0.806 GB, free: 131.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03643/1.584, allocations: 17.52 MB / 0.8231 GB, free: 114.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.189e-05/1.584, allocations: 4 kB / 0.8231 GB, free: 114.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002128/1.587, allocations: 396 kB / 0.8235 GB, free: 113.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01092/1.598, allocations: 3.831 MB / 0.8272 GB, free: 110 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006009/1.598, allocations: 39.98 kB / 0.8272 GB, free: 110 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02016/1.618, allocations: 17.03 MB / 0.8439 GB, free: 92.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.618, allocations: 7.922 kB / 0.8439 GB, free: 92.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0212/1.64, allocations: 12.64 MB / 0.8562 GB, free: 80.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001929/1.642, allocations: 479.3 kB / 0.8567 GB, free: 79.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001024/1.643, allocations: 36 kB / 0.8567 GB, free: 79.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002485/1.645, allocations: 211.7 kB / 0.8569 GB, free: 79.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005815/1.646, allocations: 146.2 kB / 0.857 GB, free: 79.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001866/1.646, allocations: 64.69 kB / 0.8571 GB, free: 79.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00494/1.651, allocations: 3.159 MB / 0.8602 GB, free: 76.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.61e-07/1.651, allocations: 3.938 kB / 0.8602 GB, free: 76.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009138/1.66, allocations: 1.456 MB / 0.8616 GB, free: 74.59 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 (167): * Single equations (assignments): 163 * 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.0008906/1.661, allocations: 212.2 kB / 0.8618 GB, free: 74.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01149/1.672, allocations: 7.856 MB / 0.8695 GB, free: 66.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/1.673, allocations: 1.938 kB / 0.8695 GB, free: 66.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003653/1.676, allocations: 2.976 MB / 0.8724 GB, free: 63.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/1.679, allocations: 496.6 kB / 0.8729 GB, free: 63.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01884/1.698, allocations: 14.79 MB / 0.8873 GB, free: 48.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003602/1.702, allocations: 4.205 MB / 0.8914 GB, free: 44.02 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004706/1.706, allocations: 2.171 MB / 0.8935 GB, free: 41.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006549/1.707, allocations: 291.4 kB / 0.8938 GB, free: 41.55 MB / 0.545 GB Notification: Performance of SimCode: time 1.142e-06/1.707, allocations: 0 / 0.8938 GB, free: 41.55 MB / 0.545 GB Notification: Performance of Templates: time 0.333/2.04, allocations: 59.07 MB / 0.9515 GB, free: 168.8 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches