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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001461/0.001461, allocations: 204.4 kB / 18.11 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 226.5 MB / 245.4 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000995/0.0009945, allocations: 87.5 kB / 297.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3849/0.3849, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003286, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3844, allocations: 62.97 MB / 0.5184 GB, free: 37.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1536/0.5381, allocations: 117.7 MB / 0.6333 GB, free: 3.555 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.5384, allocations: 79.95 kB / 0.6334 GB, free: 3.48 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.631/1.169, allocations: 124.6 MB / 0.7551 GB, free: 88.81 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.322e-06/1.169, allocations: 0 / 0.7551 GB, free: 88.81 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002682/1.17, allocations: 108.3 kB / 0.7552 GB, free: 88.8 MB / 490.7 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.02041/1.19, allocations: 5.805 MB / 0.7608 GB, free: 84.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/1.19, allocations: 10.62 kB / 0.7608 GB, free: 84.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01672/1.207, allocations: 3.87 MB / 0.7646 GB, free: 81.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01167/1.219, allocations: 5.014 MB / 0.7695 GB, free: 76 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003878/1.219, allocations: 449.2 kB / 0.77 GB, free: 75.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002528/1.222, allocations: 0.543 MB / 0.7705 GB, free: 75.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02526/1.247, allocations: 14.07 MB / 0.7842 GB, free: 59.81 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001688/1.247, allocations: 67.39 kB / 0.7843 GB, free: 59.74 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006807/1.248, allocations: 259.9 kB / 0.7845 GB, free: 59.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001323/1.249, allocations: 1.298 MB / 0.7858 GB, free: 58.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02013/1.269, allocations: 11.69 MB / 0.7972 GB, free: 46.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0642/1.334, allocations: 59.2 MB / 0.855 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01203/1.346, allocations: 4.67 MB / 0.8596 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003853/1.349, allocations: 2.744 MB / 0.8623 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01906/1.369, allocations: 12.47 MB / 0.8745 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/1.369, allocations: 55.81 kB / 0.8745 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=191): time 4.578e-06/1.369, allocations: 0 / 0.8745 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=242): time 0.4384/1.807, allocations: 39.5 MB / 0.9131 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/1.807, allocations: 234.2 kB / 0.9133 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01052/1.818, allocations: 4.763 MB / 0.9179 GB, free: 128 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007808/1.819, allocations: 65.88 kB / 0.918 GB, free: 128 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00374/1.822, allocations: 3.908 MB / 0.9218 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001711/1.824, allocations: 0.9164 MB / 0.9227 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004276/1.824, allocations: 146.2 kB / 0.9229 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004748/1.825, allocations: 0.61 MB / 0.9235 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006325/1.831, allocations: 3.252 MB / 0.9266 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00781/1.839, allocations: 7.554 MB / 0.934 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01244/1.852, allocations: 11.6 MB / 0.9453 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001638/1.852, allocations: 44.12 kB / 0.9454 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.02805/1.88, allocations: 13.87 MB / 0.9589 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.88, allocations: 71.38 kB / 0.959 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002042/1.88, allocations: 149.9 kB / 0.9591 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01073/1.891, allocations: 3.791 MB / 0.9628 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005792/1.897, allocations: 1.618 MB / 0.9644 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02298/1.92, allocations: 18.08 MB / 0.9821 GB, free: 90.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007924/1.928, allocations: 496.8 kB / 0.9826 GB, free: 90.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001509/1.929, allocations: 427.6 kB / 0.983 GB, free: 89.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 689 * 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 (859): * Single equations (assignments): 855 * 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.005869/1.935, allocations: 2.665 MB / 0.9856 GB, free: 87.54 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/1.936, allocations: 438.4 kB / 0.986 GB, free: 87.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01562/1.952, allocations: 8.137 MB / 0.9939 GB, free: 80.89 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.021e-05/1.952, allocations: 27.56 kB / 0.994 GB, free: 80.87 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.348e-05/1.952, allocations: 13.09 kB / 0.994 GB, free: 80.86 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-05/1.952, allocations: 9.656 kB / 0.994 GB, free: 80.86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03566/1.988, allocations: 17.45 MB / 1.011 GB, free: 67.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-05/1.988, allocations: 0 / 1.011 GB, free: 67.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/1.99, allocations: 388.1 kB / 1.011 GB, free: 66.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009957/2, allocations: 3.854 MB / 1.015 GB, free: 62.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005295/2, allocations: 39.98 kB / 1.015 GB, free: 62.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01967/2.02, allocations: 16.53 MB / 1.031 GB, free: 46.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/2.02, allocations: 3.938 kB / 1.031 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02033/2.04, allocations: 12.54 MB / 1.044 GB, free: 33.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001757/2.042, allocations: 467.3 kB / 1.044 GB, free: 33.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001024/2.043, allocations: 40.05 kB / 1.044 GB, free: 33.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002363/2.046, allocations: 211.7 kB / 1.044 GB, free: 32.83 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005903/2.046, allocations: 142.2 kB / 1.044 GB, free: 32.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002052/2.047, allocations: 59.98 kB / 1.044 GB, free: 32.64 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005386/2.052, allocations: 2.983 MB / 1.047 GB, free: 29.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.01e-07/2.052, allocations: 0 / 1.047 GB, free: 29.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009189/2.061, allocations: 1.454 MB / 1.049 GB, free: 28.22 MB / 0.5261 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.0008433/2.062, allocations: 221.4 kB / 1.049 GB, free: 28.01 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01234/2.074, allocations: 7.884 MB / 1.057 GB, free: 20.15 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/2.074, allocations: 0 / 1.057 GB, free: 20.15 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004007/2.078, allocations: 2.961 MB / 1.06 GB, free: 17.17 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004662/2.083, allocations: 0.5265 MB / 1.06 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02448/2.108, allocations: 14.88 MB / 1.075 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006846/2.115, allocations: 4.093 MB / 1.079 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007022/2.122, allocations: 2.181 MB / 1.081 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/2.123, allocations: 279.4 kB / 1.081 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of SimCode: time 1.804e-06/2.123, allocations: 4 kB / 1.081 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of Templates: time 0.4267/2.55, allocations: 58.62 MB / 1.138 GB, free: 130.9 MB / 0.5417 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/jenkins1/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