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.001217/0.001217, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 197.2 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2296/0.2296, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 75.88 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4753/0.4767, allocations: 62.44 MB / 0.531 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01711/0.4939, allocations: 13.23 MB / 0.5439 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01719/0.5111, allocations: 4.87 MB / 0.5487 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004993/0.5162, allocations: 83.91 kB / 0.5488 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009039/0.5252, allocations: 3.965 MB / 0.5526 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008947/0.5343, allocations: 2.159 MB / 0.5547 GB, free: 9.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00408/0.5384, allocations: 1.182 MB / 0.5559 GB, free: 8.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01264/0.5511, allocations: 5.817 MB / 0.5616 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01021/0.5613, allocations: 5.174 MB / 0.5666 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005839/0.5672, allocations: 2.165 MB / 0.5687 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00603/0.5733, allocations: 2.964 MB / 0.5716 GB, free: 8.129 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002933/0.5763, allocations: 0.5 MB / 0.5721 GB, free: 7.629 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006451/0.5828, allocations: 1.643 MB / 0.5737 GB, free: 5.984 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005686/0.5885, allocations: 2.634 MB / 0.5763 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008812/0.5973, allocations: 2.999 MB / 0.5792 GB, free: 336 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0215/0.6189, allocations: 9.923 MB / 0.5889 GB, free: 6.367 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.719e-06/0.619, allocations: 0 / 0.5889 GB, free: 6.367 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.619, allocations: 0 / 0.5889 GB, free: 6.367 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005904/0.6196, allocations: 3.984 kB / 0.5889 GB, free: 6.363 MB / 446.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.02674/0.6463, allocations: 6.661 MB / 0.5954 GB, free: 15.61 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/0.6464, allocations: 12.03 kB / 0.5954 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01886/0.6653, allocations: 2.739 MB / 0.5981 GB, free: 12.85 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/0.6766, allocations: 3.663 MB / 0.6017 GB, free: 9.129 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005538/0.6772, allocations: 354.2 kB / 0.602 GB, free: 8.773 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002826/0.68, allocations: 427.8 kB / 0.6024 GB, free: 8.355 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03815/0.7182, allocations: 13.85 MB / 0.616 GB, free: 9.645 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000366/0.7186, allocations: 55.58 kB / 0.616 GB, free: 9.59 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002061/0.7207, allocations: 195.8 kB / 0.6162 GB, free: 9.398 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004752/0.7255, allocations: 2.41 MB / 0.6186 GB, free: 6.988 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02951/0.755, allocations: 11.76 MB / 0.63 GB, free: 11.21 MB / 494.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.08141/0.8365, allocations: 51.62 MB / 0.6805 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01296/0.8495, allocations: 4.754 MB / 0.6851 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004561/0.8541, allocations: 2.967 MB / 0.688 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02287/0.877, allocations: 12.94 MB / 0.7006 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.872e-05/0.8771, allocations: 59.81 kB / 0.7007 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of pre-optimization done (n=197): time 5.27e-06/0.8771, allocations: 0 / 0.7007 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of matching and sorting (n=248): time 0.48/1.357, allocations: 43.55 MB / 0.7432 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/1.357, allocations: 231.5 kB / 0.7435 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005843/1.363, allocations: 4.773 MB / 0.7481 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006031/1.364, allocations: 65.53 kB / 0.7482 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00171/1.366, allocations: 3.991 MB / 0.7521 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009668/1.366, allocations: 0.9734 MB / 0.753 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001803/1.368, allocations: 1.524 MB / 0.7545 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.143e-05/1.368, allocations: 301.1 kB / 0.7548 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003877/1.372, allocations: 3.454 MB / 0.7582 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005397/1.378, allocations: 7.71 MB / 0.7657 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/1.388, allocations: 11.87 MB / 0.7773 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.766e-05/1.388, allocations: 44 kB / 0.7773 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02704/1.415, allocations: 14.51 MB / 0.7915 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001666/1.416, allocations: 71.94 kB / 0.7916 GB, free: 103 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000238/1.416, allocations: 156.1 kB / 0.7917 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01165/1.427, allocations: 4.013 MB / 0.7956 GB, free: 98.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005653/1.433, allocations: 1.641 MB / 0.7972 GB, free: 97.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02562/1.459, allocations: 19.87 MB / 0.8166 GB, free: 77.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006837/1.466, allocations: 460.2 kB / 0.8171 GB, free: 76.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/1.467, allocations: 432 kB / 0.8175 GB, free: 76.3 MB / 0.5606 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.005513/1.473, allocations: 2.655 MB / 0.8201 GB, free: 73.63 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001299/1.474, allocations: 456.9 kB / 0.8205 GB, free: 73.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01793/1.492, allocations: 8.646 MB / 0.829 GB, free: 64.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-05/1.492, allocations: 24 kB / 0.829 GB, free: 64.49 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.09e-05/1.492, allocations: 12 kB / 0.829 GB, free: 64.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.677e-05/1.492, allocations: 15.97 kB / 0.829 GB, free: 64.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0365/1.529, allocations: 17.83 MB / 0.8464 GB, free: 46.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.907e-05/1.529, allocations: 0 / 0.8464 GB, free: 46.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001955/1.531, allocations: 403.4 kB / 0.8468 GB, free: 46.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01092/1.542, allocations: 4.079 MB / 0.8508 GB, free: 42.13 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006359/1.542, allocations: 43.98 kB / 0.8508 GB, free: 42.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02071/1.563, allocations: 18.22 MB / 0.8686 GB, free: 23.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.563, allocations: 0 / 0.8686 GB, free: 23.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02232/1.586, allocations: 13.28 MB / 0.8816 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00154/1.587, allocations: 493.9 kB / 0.8821 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001409/1.589, allocations: 36 kB / 0.8821 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002616/1.591, allocations: 215.7 kB / 0.8823 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006097/1.592, allocations: 154.2 kB / 0.8825 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002045/1.592, allocations: 63.66 kB / 0.8825 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004069/1.596, allocations: 2.981 MB / 0.8854 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/1.596, allocations: 0 / 0.8854 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007017/1.603, allocations: 1.47 MB / 0.8869 GB, free: 5.008 MB / 0.5606 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.0006918/1.604, allocations: 218.4 kB / 0.8871 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01253/1.616, allocations: 8.289 MB / 0.8952 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/1.616, allocations: 4 kB / 0.8952 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004936/1.621, allocations: 3.12 MB / 0.8982 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003883/1.625, allocations: 0.5232 MB / 0.8987 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02549/1.651, allocations: 13.05 MB / 0.9115 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005482/1.656, allocations: 4.095 MB / 0.9155 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005203/1.662, allocations: 2.198 MB / 0.9176 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009542/1.663, allocations: 279.4 kB / 0.9179 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of SimCode: time 1.012e-06/1.663, allocations: 0 / 0.9179 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of Templates: time 0.4653/2.128, allocations: 60.89 MB / 0.9773 GB, free: 201.5 MB / 0.6231 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