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.001143/0.001142, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2167/0.2167, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 72.98 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1227, allocations: 62.45 MB / 481.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01393/0.1367, allocations: 13.23 MB / 494.7 MB, free: 7.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01128/0.148, allocations: 4.875 MB / 499.6 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00313/0.1512, allocations: 83.75 kB / 499.6 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007285/0.1586, allocations: 3.964 MB / 0.4918 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006537/0.1652, allocations: 2.163 MB / 0.4939 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002946/0.1681, allocations: 1.17 MB / 0.4951 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008975/0.1771, allocations: 5.818 MB / 0.5007 GB, free: 5.109 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3131/0.4903, allocations: 5.173 MB / 0.5058 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005794/0.4961, allocations: 2.169 MB / 0.5079 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007271/0.5034, allocations: 2.958 MB / 0.5108 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003121/0.5066, allocations: 0.4989 MB / 0.5113 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006378/0.513, allocations: 1.635 MB / 0.5129 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006744/0.5198, allocations: 2.638 MB / 0.5155 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01062/0.5305, allocations: 3 MB / 0.5184 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02135/0.5519, allocations: 9.889 MB / 0.528 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.5519, allocations: 3.938 kB / 0.528 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.5519, allocations: 3.469 kB / 0.528 GB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005589/0.5525, allocations: 0 / 0.528 GB, free: 10.84 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.02935/0.5819, allocations: 6.485 MB / 0.5344 GB, free: 6.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.5819, allocations: 10.62 kB / 0.5344 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01727/0.5992, allocations: 2.716 MB / 0.537 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/0.6097, allocations: 3.632 MB / 0.5406 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004492/0.6102, allocations: 354.5 kB / 0.5409 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002499/0.6127, allocations: 438 kB / 0.5413 GB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03411/0.6468, allocations: 13.86 MB / 0.5549 GB, free: 6.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004144/0.6473, allocations: 47.72 kB / 0.5549 GB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001971/0.6493, allocations: 205.5 kB / 0.5551 GB, free: 6.762 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003917/0.6532, allocations: 2.408 MB / 0.5575 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02655/0.6798, allocations: 11.77 MB / 0.569 GB, free: 8.836 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.07499/0.7548, allocations: 51.52 MB / 0.6193 GB, free: 4.547 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01239/0.7673, allocations: 4.743 MB / 0.6239 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003834/0.7711, allocations: 2.959 MB / 0.6268 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01892/0.7901, allocations: 12.93 MB / 0.6394 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.7901, allocations: 58.67 kB / 0.6395 GB, free: 15.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=197): time 5.02e-06/0.7902, allocations: 0 / 0.6395 GB, free: 15.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=248): time 0.1407/0.9309, allocations: 43.2 MB / 0.6817 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.931, allocations: 238.8 kB / 0.6819 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006752/0.9378, allocations: 4.762 MB / 0.6865 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006099/0.9384, allocations: 69.69 kB / 0.6866 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002437/0.9408, allocations: 3.835 MB / 0.6904 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001106/0.942, allocations: 0.9361 MB / 0.6913 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002083/0.944, allocations: 1.509 MB / 0.6927 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.9442, allocations: 308.9 kB / 0.693 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004919/0.9491, allocations: 3.454 MB / 0.6964 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008078/0.9572, allocations: 7.708 MB / 0.7039 GB, free: 11.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2833/1.241, allocations: 11.87 MB / 0.7155 GB, free: 186.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000164/1.241, allocations: 41.75 kB / 0.7156 GB, free: 186.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.03522/1.276, allocations: 14.49 MB / 0.7297 GB, free: 182.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/1.276, allocations: 69.81 kB / 0.7298 GB, free: 182.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002389/1.276, allocations: 150 kB / 0.7299 GB, free: 182.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01214/1.288, allocations: 4.019 MB / 0.7339 GB, free: 181.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006334/1.295, allocations: 1.632 MB / 0.7354 GB, free: 181.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02467/1.32, allocations: 19.86 MB / 0.7548 GB, free: 172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007128/1.327, allocations: 457.8 kB / 0.7553 GB, free: 171.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001497/1.328, allocations: 437.6 kB / 0.7557 GB, free: 171.2 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.00541/1.334, allocations: 2.656 MB / 0.7583 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001168/1.335, allocations: 428.4 kB / 0.7587 GB, free: 168.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01648/1.351, allocations: 8.646 MB / 0.7671 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.291e-05/1.351, allocations: 29.8 kB / 0.7672 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-05/1.351, allocations: 12 kB / 0.7672 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.801e-05/1.352, allocations: 7.969 kB / 0.7672 GB, free: 160.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03257/1.384, allocations: 17.84 MB / 0.7846 GB, free: 142.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.541e-05/1.384, allocations: 0 / 0.7846 GB, free: 142.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00203/1.386, allocations: 399.4 kB / 0.785 GB, free: 142.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01049/1.397, allocations: 4.076 MB / 0.789 GB, free: 138.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006426/1.397, allocations: 43.98 kB / 0.789 GB, free: 138.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02032/1.418, allocations: 18.21 MB / 0.8068 GB, free: 120 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.418, allocations: 4 kB / 0.8068 GB, free: 120 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02142/1.439, allocations: 13.23 MB / 0.8197 GB, free: 106.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/1.441, allocations: 467.4 kB / 0.8202 GB, free: 106.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008552/1.442, allocations: 41.8 kB / 0.8202 GB, free: 106.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002205/1.444, allocations: 211.7 kB / 0.8204 GB, free: 106.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006732/1.445, allocations: 154.2 kB / 0.8206 GB, free: 105.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002139/1.445, allocations: 63.98 kB / 0.8206 GB, free: 105.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004383/1.449, allocations: 2.977 MB / 0.8235 GB, free: 102.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/1.449, allocations: 4.062 kB / 0.8235 GB, free: 102.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00766/1.457, allocations: 1.467 MB / 0.825 GB, free: 101.4 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.0006805/1.458, allocations: 227.9 kB / 0.8252 GB, free: 101.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.011/1.469, allocations: 8.286 MB / 0.8333 GB, free: 92.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.469, allocations: 3.938 kB / 0.8333 GB, free: 92.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003715/1.472, allocations: 3.114 MB / 0.8363 GB, free: 89.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/1.476, allocations: 0.5209 MB / 0.8368 GB, free: 89.31 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02049/1.496, allocations: 12.85 MB / 0.8494 GB, free: 76.44 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004744/1.501, allocations: 4.095 MB / 0.8534 GB, free: 72.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004535/1.505, allocations: 2.198 MB / 0.8555 GB, free: 70.12 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/1.507, allocations: 283.4 kB / 0.8558 GB, free: 69.84 MB / 0.545 GB Notification: Performance of SimCode: time 2.315e-06/1.507, allocations: 0 / 0.8558 GB, free: 69.84 MB / 0.545 GB Notification: Performance of Templates: time 0.08906/1.596, allocations: 58.45 MB / 0.9129 GB, free: 11.73 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches