Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 111.6 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2155/0.2155, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 71.91 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1386, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.02146/0.1602, allocations: 13.3 MB / 0.5009 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.1713, allocations: 4.841 MB / 0.5056 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002605/0.174, allocations: 83.75 kB / 0.5057 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007855/0.1818, allocations: 3.987 MB / 0.5096 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006948/0.1889, allocations: 2.265 MB / 0.5118 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002878/0.1918, allocations: 1.189 MB / 0.513 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008765/0.2005, allocations: 5.587 MB / 0.5184 GB, free: 12.42 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007974/0.2085, allocations: 5.178 MB / 0.5235 GB, free: 7.176 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00484/0.2134, allocations: 2.189 MB / 0.5256 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005078/0.2185, allocations: 2.976 MB / 0.5285 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001848/0.2204, allocations: 0.5 MB / 0.529 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3299/0.5503, allocations: 1.641 MB / 0.5306 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005452/0.5558, allocations: 2.689 MB / 0.5332 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007584/0.5635, allocations: 3.027 MB / 0.5362 GB, free: 11.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02016/0.5836, allocations: 9.958 MB / 0.5459 GB, free: 10.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.5837, allocations: 0.75 kB / 0.5459 GB, free: 10.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5837, allocations: 3.562 kB / 0.5459 GB, free: 10.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006306/0.5843, allocations: 0.5625 kB / 0.5459 GB, free: 10.68 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.0278/0.6122, allocations: 6.526 MB / 0.5523 GB, free: 8.254 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.6122, allocations: 16.11 kB / 0.5523 GB, free: 8.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01865/0.6309, allocations: 2.711 MB / 0.555 GB, free: 7.883 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01132/0.6422, allocations: 3.802 MB / 0.5587 GB, free: 6.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004543/0.6427, allocations: 345.4 kB / 0.559 GB, free: 6.523 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002839/0.6456, allocations: 435.2 kB / 0.5594 GB, free: 6.414 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03206/0.6777, allocations: 13.85 MB / 0.5729 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001711/0.6779, allocations: 56.45 kB / 0.573 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006418/0.6785, allocations: 200 kB / 0.5732 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003483/0.682, allocations: 2.412 MB / 0.5755 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02689/0.7089, allocations: 11.75 MB / 0.587 GB, free: 3.156 MB / 430.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.0774/0.7864, allocations: 51.54 MB / 0.6373 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01285/0.7993, allocations: 4.743 MB / 0.642 GB, free: 9.965 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004929/0.8043, allocations: 2.958 MB / 0.6449 GB, free: 7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0221/0.8264, allocations: 12.86 MB / 0.6574 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/0.8265, allocations: 59.42 kB / 0.6575 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=197): time 5.711e-06/0.8265, allocations: 4 kB / 0.6575 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.1505/0.977, allocations: 43.44 MB / 0.6999 GB, free: 14.08 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.9772, allocations: 234.3 kB / 0.7001 GB, free: 13.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00865/0.9858, allocations: 4.794 MB / 0.7048 GB, free: 9.004 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007573/0.9866, allocations: 65.73 kB / 0.7049 GB, free: 8.934 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003141/0.9898, allocations: 3.837 MB / 0.7086 GB, free: 5.094 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001564/0.9914, allocations: 0.9425 MB / 0.7095 GB, free: 4.164 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002742/0.9941, allocations: 1.503 MB / 0.711 GB, free: 2.652 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.9942, allocations: 305.1 kB / 0.7113 GB, free: 2.352 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006004/1, allocations: 3.438 MB / 0.7147 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009847/1.01, allocations: 7.715 MB / 0.7222 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01873/1.029, allocations: 11.87 MB / 0.7338 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001739/1.029, allocations: 44 kB / 0.7338 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.03526/1.064, allocations: 14.48 MB / 0.748 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/1.065, allocations: 68 kB / 0.748 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001806/1.065, allocations: 148 kB / 0.7482 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01337/1.078, allocations: 4.025 MB / 0.7521 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006689/1.085, allocations: 1.63 MB / 0.7537 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4376/1.523, allocations: 19.85 MB / 0.7731 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009042/1.532, allocations: 454.4 kB / 0.7735 GB, free: 199.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002124/1.534, allocations: 432.7 kB / 0.7739 GB, free: 199.5 MB / 0.5919 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.00829/1.542, allocations: 2.666 MB / 0.7765 GB, free: 198.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/1.543, allocations: 430 kB / 0.7769 GB, free: 198.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01893/1.562, allocations: 8.641 MB / 0.7854 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.013e-05/1.562, allocations: 30.09 kB / 0.7854 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.433e-05/1.562, allocations: 11.16 kB / 0.7854 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.136e-05/1.562, allocations: 11.48 kB / 0.7854 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03877/1.601, allocations: 17.84 MB / 0.8028 GB, free: 187 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.425e-05/1.601, allocations: 6.406 kB / 0.8029 GB, free: 187 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002186/1.604, allocations: 401.1 kB / 0.8032 GB, free: 186.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01169/1.615, allocations: 4.068 MB / 0.8072 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000921/1.616, allocations: 45.08 kB / 0.8073 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02247/1.639, allocations: 18.21 MB / 0.825 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/1.639, allocations: 4 kB / 0.825 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0228/1.662, allocations: 13.23 MB / 0.838 GB, free: 151.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003568/1.665, allocations: 0.9617 MB / 0.8389 GB, free: 150.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001371/1.667, allocations: 36 kB / 0.8389 GB, free: 150.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002679/1.669, allocations: 223.1 kB / 0.8391 GB, free: 150.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008081/1.67, allocations: 147.9 kB / 0.8393 GB, free: 150.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002416/1.67, allocations: 62.27 kB / 0.8393 GB, free: 150.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005911/1.676, allocations: 2.997 MB / 0.8423 GB, free: 147.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/1.676, allocations: 0 / 0.8423 GB, free: 147.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009144/1.685, allocations: 1.496 MB / 0.8437 GB, free: 145.6 MB / 0.5919 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.0009407/1.686, allocations: 228.1 kB / 0.844 GB, free: 145.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0136/1.7, allocations: 8.269 MB / 0.852 GB, free: 137.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.7, allocations: 0 / 0.852 GB, free: 137.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00407/1.704, allocations: 3.115 MB / 0.8551 GB, free: 134 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003965/1.708, allocations: 0.5143 MB / 0.8556 GB, free: 133.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02869/1.737, allocations: 12.91 MB / 0.8682 GB, free: 120.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004947/1.742, allocations: 4.103 MB / 0.8722 GB, free: 116.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005113/1.747, allocations: 2.198 MB / 0.8743 GB, free: 114.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/1.748, allocations: 283.4 kB / 0.8746 GB, free: 114 MB / 0.5919 GB Notification: Performance of SimCode: time 2.254e-06/1.748, allocations: 0 / 0.8746 GB, free: 114 MB / 0.5919 GB Notification: Performance of Templates: time 0.1067/1.855, allocations: 61.19 MB / 0.9344 GB, free: 52.88 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches