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.0008757/0.0008752, allocations: 94.09 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009932/0.0009936, allocations: 202.5 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.8 MB / 246.8 MB, free: 9.656 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2293/0.2293, allocations: 46.19 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1557, allocations: 63.56 MB / 483.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3919/0.5476, allocations: 46.6 MB / 0.5173 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03286/0.5805, allocations: 10.54 MB / 0.5276 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01461/0.5951, allocations: 206.7 kB / 0.5278 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002905/0.5981, allocations: 0.5049 MB / 0.5283 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00931/0.6074, allocations: 2.055 MB / 0.5303 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003937/0.6114, allocations: 1.077 MB / 0.5313 GB, free: 6.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01383/0.6252, allocations: 8.346 MB / 0.5395 GB, free: 3.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01181/0.6371, allocations: 7.033 MB / 0.5463 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004807/0.642, allocations: 1.569 MB / 0.5479 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005396/0.6474, allocations: 2.69 MB / 0.5505 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001292/0.6487, allocations: 200 kB / 0.5507 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004104/0.6528, allocations: 1.43 MB / 0.5521 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003489/0.6563, allocations: 2.305 MB / 0.5543 GB, free: 9.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003886/0.6603, allocations: 2.606 MB / 0.5569 GB, free: 6.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01276/0.673, allocations: 9.21 MB / 0.5659 GB, free: 13.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.6731, allocations: 11.94 kB / 0.5659 GB, free: 13.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.6731, allocations: 0 / 0.5659 GB, free: 13.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003215/0.6734, allocations: 0 / 0.5659 GB, free: 13.54 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.01408/0.6875, allocations: 5.345 MB / 0.5711 GB, free: 8.152 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.524e-05/0.6876, allocations: 16.88 kB / 0.5711 GB, free: 8.137 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01909/0.7067, allocations: 2.773 MB / 0.5738 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009255/0.716, allocations: 3.576 MB / 0.5773 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004169/0.7164, allocations: 351 kB / 0.5776 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001516/0.718, allocations: 432.6 kB / 0.5781 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02925/0.7472, allocations: 13.9 MB / 0.5916 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001469/0.7474, allocations: 47.53 kB / 0.5917 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005429/0.748, allocations: 208.2 kB / 0.5919 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003708/0.7517, allocations: 2.4 MB / 0.5942 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0258/0.7775, allocations: 11.82 MB / 0.6058 GB, free: 4.02 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.07938/0.8569, allocations: 51.79 MB / 0.6563 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0139/0.8709, allocations: 4.742 MB / 0.661 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004297/0.8752, allocations: 2.958 MB / 0.6639 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02774/0.903, allocations: 12.95 MB / 0.6765 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.007e-05/0.9032, allocations: 59.81 kB / 0.6766 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 7.404e-06/0.9032, allocations: 0 / 0.6766 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of matching and sorting (n=248): time 0.4531/1.356, allocations: 43.11 MB / 0.7187 GB, free: 194.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.604e-05/1.356, allocations: 235.7 kB / 0.7189 GB, free: 194 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008609/1.365, allocations: 4.766 MB / 0.7235 GB, free: 193.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006143/1.366, allocations: 67.28 kB / 0.7236 GB, free: 193.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002522/1.368, allocations: 3.836 MB / 0.7273 GB, free: 191 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001216/1.369, allocations: 0.9375 MB / 0.7283 GB, free: 190.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001046/1.37, allocations: 0.6339 MB / 0.7289 GB, free: 190.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.934e-05/1.371, allocations: 301.1 kB / 0.7292 GB, free: 189.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006075/1.377, allocations: 3.453 MB / 0.7325 GB, free: 188.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007324/1.384, allocations: 7.714 MB / 0.7401 GB, free: 181.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01386/1.398, allocations: 11.87 MB / 0.7517 GB, free: 172.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001985/1.398, allocations: 43.06 kB / 0.7517 GB, free: 172.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.03327/1.431, allocations: 14.48 MB / 0.7658 GB, free: 167.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/1.432, allocations: 68.84 kB / 0.7659 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002263/1.432, allocations: 153.2 kB / 0.7661 GB, free: 167.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01161/1.443, allocations: 4.025 MB / 0.77 GB, free: 163.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004966/1.448, allocations: 1.634 MB / 0.7716 GB, free: 161.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02178/1.47, allocations: 18.69 MB / 0.7898 GB, free: 142.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006765/1.477, allocations: 463.3 kB / 0.7903 GB, free: 142.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/1.478, allocations: 441 kB / 0.7907 GB, free: 141.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.00441/1.483, allocations: 2.653 MB / 0.7933 GB, free: 139.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009389/1.484, allocations: 418.6 kB / 0.7937 GB, free: 138.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01702/1.501, allocations: 8.649 MB / 0.8021 GB, free: 130 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.911e-05/1.501, allocations: 24 kB / 0.8022 GB, free: 130 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.273e-05/1.501, allocations: 15.94 kB / 0.8022 GB, free: 130 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.654e-05/1.501, allocations: 15.95 kB / 0.8022 GB, free: 130 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03219/1.533, allocations: 17.9 MB / 0.8197 GB, free: 112.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.192e-05/1.533, allocations: 7.938 kB / 0.8197 GB, free: 112.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002172/1.535, allocations: 399.4 kB / 0.8201 GB, free: 111.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0116/1.547, allocations: 4.077 MB / 0.824 GB, free: 107.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006736/1.548, allocations: 40 kB / 0.8241 GB, free: 107.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02125/1.569, allocations: 17.12 MB / 0.8408 GB, free: 90.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.569, allocations: 4 kB / 0.8408 GB, free: 90.31 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02376/1.593, allocations: 13.24 MB / 0.8537 GB, free: 77.05 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001523/1.594, allocations: 475.4 kB / 0.8542 GB, free: 76.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001107/1.595, allocations: 36 kB / 0.8542 GB, free: 76.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002856/1.598, allocations: 216.2 kB / 0.8544 GB, free: 76.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000851/1.599, allocations: 154.2 kB / 0.8546 GB, free: 76.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002291/1.599, allocations: 69.17 kB / 0.8546 GB, free: 76.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006186/1.606, allocations: 2.977 MB / 0.8575 GB, free: 73.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.52e-07/1.606, allocations: 0 / 0.8575 GB, free: 73.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008951/1.615, allocations: 1.472 MB / 0.859 GB, free: 71.66 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.0009014/1.615, allocations: 220 kB / 0.8592 GB, free: 71.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0126/1.628, allocations: 8.273 MB / 0.8673 GB, free: 63.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/1.628, allocations: 0 / 0.8673 GB, free: 63.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004359/1.633, allocations: 3.113 MB / 0.8703 GB, free: 60.06 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004443/1.637, allocations: 0.4937 MB / 0.8708 GB, free: 59.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02404/1.661, allocations: 15.68 MB / 0.8861 GB, free: 43.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003684/1.665, allocations: 4.095 MB / 0.8901 GB, free: 39.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00498/1.67, allocations: 2.19 MB / 0.8922 GB, free: 37.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008998/1.671, allocations: 279.4 kB / 0.8925 GB, free: 37.27 MB / 0.545 GB Notification: Performance of SimCode: time 1.533e-06/1.671, allocations: 0 / 0.8925 GB, free: 37.27 MB / 0.545 GB Notification: Performance of Templates: time 0.3814/2.052, allocations: 60.8 MB / 0.9519 GB, free: 166.2 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