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.001543/0.001543, allocations: 115.9 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001958/0.001958, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 246.4 MB, free: 9.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.256/0.256, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 76.22 kB / 417 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1306, allocations: 62.44 MB / 479.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3148/0.4454, allocations: 47.89 MB / 0.515 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02977/0.4752, allocations: 10.49 MB / 0.5253 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01377/0.4891, allocations: 208.2 kB / 0.5255 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007608/0.4967, allocations: 3.822 MB / 0.5292 GB, free: 6.613 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006113/0.5029, allocations: 2.026 MB / 0.5312 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003042/0.506, allocations: 1.111 MB / 0.5323 GB, free: 5.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008212/0.5142, allocations: 6.016 MB / 0.5381 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005988/0.5202, allocations: 5.442 MB / 0.5434 GB, free: 100 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004565/0.5248, allocations: 2.219 MB / 0.5456 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00577/0.5306, allocations: 3.259 MB / 0.5488 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001405/0.532, allocations: 0.5 MB / 0.5493 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003794/0.5358, allocations: 1.658 MB / 0.5509 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003293/0.5392, allocations: 2.674 MB / 0.5535 GB, free: 8.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004856/0.544, allocations: 3.028 MB / 0.5565 GB, free: 5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01282/0.5569, allocations: 9.667 MB / 0.5659 GB, free: 11.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.5569, allocations: 4 kB / 0.5659 GB, free: 11.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5569, allocations: 3.938 kB / 0.5659 GB, free: 11.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003237/0.5573, allocations: 0 / 0.5659 GB, free: 11.53 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.01442/0.5717, allocations: 6.503 MB / 0.5723 GB, free: 5.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.5718, allocations: 12.03 kB / 0.5723 GB, free: 5.059 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01701/0.5888, allocations: 2.706 MB / 0.5749 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008067/0.5969, allocations: 3.564 MB / 0.5784 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000324/0.5972, allocations: 350.8 kB / 0.5787 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001265/0.5985, allocations: 439.6 kB / 0.5792 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02472/0.6232, allocations: 13.85 MB / 0.5927 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001429/0.6234, allocations: 63.47 kB / 0.5927 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005366/0.624, allocations: 197.2 kB / 0.5929 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003659/0.6276, allocations: 2.409 MB / 0.5953 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02463/0.6523, allocations: 11.77 MB / 0.6068 GB, free: 1.09 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.06524/0.7176, allocations: 51.77 MB / 0.6573 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01276/0.7304, allocations: 4.75 MB / 0.662 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00423/0.7346, allocations: 2.957 MB / 0.6649 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02161/0.7563, allocations: 12.94 MB / 0.6775 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.962e-05/0.7564, allocations: 63.8 kB / 0.6776 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 4.889e-06/0.7564, allocations: 0 / 0.6776 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of matching and sorting (n=248): time 0.417/1.173, allocations: 43.19 MB / 0.7197 GB, free: 195.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.17e-05/1.174, allocations: 230.7 kB / 0.72 GB, free: 195.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007053/1.181, allocations: 4.771 MB / 0.7246 GB, free: 194 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005223/1.181, allocations: 62.48 kB / 0.7247 GB, free: 194 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002062/1.183, allocations: 3.844 MB / 0.7284 GB, free: 191.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009208/1.184, allocations: 0.9248 MB / 0.7293 GB, free: 191 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002024/1.186, allocations: 1.515 MB / 0.7308 GB, free: 190.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.95e-05/1.186, allocations: 302.2 kB / 0.7311 GB, free: 189.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005029/1.191, allocations: 3.448 MB / 0.7345 GB, free: 188.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007223/1.199, allocations: 7.712 MB / 0.742 GB, free: 181.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01177/1.21, allocations: 11.88 MB / 0.7536 GB, free: 172.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001754/1.211, allocations: 41.66 kB / 0.7536 GB, free: 172.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02604/1.237, allocations: 14.48 MB / 0.7678 GB, free: 164.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001311/1.237, allocations: 71.94 kB / 0.7678 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001774/1.237, allocations: 149.9 kB / 0.768 GB, free: 164.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01101/1.248, allocations: 4.035 MB / 0.7719 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004953/1.253, allocations: 1.634 MB / 0.7735 GB, free: 158.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02454/1.278, allocations: 19.86 MB / 0.7929 GB, free: 138.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008042/1.286, allocations: 455.3 kB / 0.7934 GB, free: 138.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001529/1.287, allocations: 436.7 kB / 0.7938 GB, free: 137.8 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.005338/1.293, allocations: 2.664 MB / 0.7964 GB, free: 135.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/1.294, allocations: 430.4 kB / 0.7968 GB, free: 134.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0178/1.312, allocations: 8.64 MB / 0.8052 GB, free: 126 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-05/1.312, allocations: 27.98 kB / 0.8053 GB, free: 126 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.061e-05/1.312, allocations: 12 kB / 0.8053 GB, free: 126 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.193e-05/1.312, allocations: 11.97 kB / 0.8053 GB, free: 126 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03157/1.343, allocations: 17.9 MB / 0.8228 GB, free: 108.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.804e-05/1.343, allocations: 0 / 0.8228 GB, free: 108.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002013/1.345, allocations: 399.4 kB / 0.8231 GB, free: 107.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01169/1.357, allocations: 4.088 MB / 0.8271 GB, free: 103.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007317/1.358, allocations: 43.98 kB / 0.8272 GB, free: 103.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02155/1.379, allocations: 18.21 MB / 0.845 GB, free: 85.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.379, allocations: 0 / 0.845 GB, free: 85.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02163/1.401, allocations: 13.24 MB / 0.8579 GB, free: 71.94 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.402, allocations: 471.5 kB / 0.8583 GB, free: 71.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006603/1.403, allocations: 39.94 kB / 0.8584 GB, free: 71.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002222/1.405, allocations: 215.7 kB / 0.8586 GB, free: 71.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006054/1.406, allocations: 150.2 kB / 0.8587 GB, free: 71.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002119/1.406, allocations: 64.45 kB / 0.8588 GB, free: 71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00358/1.41, allocations: 2.969 MB / 0.8617 GB, free: 68.03 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/1.41, allocations: 7.938 kB / 0.8617 GB, free: 68.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007472/1.417, allocations: 1.478 MB / 0.8631 GB, free: 66.55 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.0006812/1.418, allocations: 216.6 kB / 0.8633 GB, free: 66.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01514/1.433, allocations: 10.03 MB / 0.8731 GB, free: 56.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/1.433, allocations: 4 kB / 0.8731 GB, free: 56.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004002/1.437, allocations: 3.111 MB / 0.8762 GB, free: 53.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003719/1.441, allocations: 0.5266 MB / 0.8767 GB, free: 52.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02129/1.462, allocations: 15.62 MB / 0.8919 GB, free: 37.06 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004351/1.466, allocations: 4.087 MB / 0.8959 GB, free: 32.95 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005363/1.472, allocations: 2.194 MB / 0.8981 GB, free: 30.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008977/1.473, allocations: 283.4 kB / 0.8983 GB, free: 30.47 MB / 0.545 GB Notification: Performance of SimCode: time 8.01e-07/1.473, allocations: 3.938 kB / 0.8984 GB, free: 30.47 MB / 0.545 GB Notification: Performance of Templates: time 0.376/1.849, allocations: 64.43 MB / 0.9613 GB, free: 157.5 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