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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.002259/0.002259, allocations: 187 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 222.5 MB, free: 8.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 95.88 kB / 269.9 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3473/0.3473, allocations: 43.49 MB / 360.7 MB, free: 51.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 55.92 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1247, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.245/0.3697, allocations: 48.24 MB / 0.5227 GB, free: 34.93 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0205/0.3903, allocations: 10.71 MB / 0.5332 GB, free: 28.54 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009329/0.3996, allocations: 210 kB / 0.5334 GB, free: 28.51 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006002/0.4057, allocations: 3.981 MB / 0.5373 GB, free: 26.66 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004576/0.4103, allocations: 2.071 MB / 0.5393 GB, free: 25.74 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.4124, allocations: 1.08 MB / 0.5403 GB, free: 25.29 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006644/0.419, allocations: 8.07 MB / 0.5482 GB, free: 22.96 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005901/0.4249, allocations: 5.074 MB / 0.5532 GB, free: 21.13 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004478/0.4295, allocations: 1.942 MB / 0.5551 GB, free: 20.38 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005554/0.435, allocations: 3.131 MB / 0.5581 GB, free: 19.32 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001046/0.4361, allocations: 349 kB / 0.5585 GB, free: 19.32 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003134/0.4392, allocations: 1.576 MB / 0.56 GB, free: 18.96 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002557/0.4418, allocations: 2.537 MB / 0.5625 GB, free: 18.13 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00295/0.4448, allocations: 2.875 MB / 0.5653 GB, free: 16.17 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008304/0.4531, allocations: 9.555 MB / 0.5746 GB, free: 9.703 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4531, allocations: 0 / 0.5746 GB, free: 9.703 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4531, allocations: 0 / 0.5746 GB, free: 9.703 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002664/0.4534, allocations: 0 / 0.5746 GB, free: 9.703 MB / 394.7 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.01206/0.4655, allocations: 6.542 MB / 0.581 GB, free: 5.188 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.4655, allocations: 8.031 kB / 0.581 GB, free: 5.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01569/0.4812, allocations: 2.716 MB / 0.5837 GB, free: 2.453 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008201/0.4895, allocations: 3.736 MB / 0.5873 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002745/0.4898, allocations: 342.4 kB / 0.5876 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001176/0.4909, allocations: 439.6 kB / 0.5881 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02527/0.5162, allocations: 13.84 MB / 0.6016 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001409/0.5164, allocations: 51.53 kB / 0.6016 GB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005175/0.5169, allocations: 199.8 kB / 0.6018 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003549/0.5205, allocations: 2.414 MB / 0.6042 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02198/0.5425, allocations: 11.76 MB / 0.6156 GB, free: 0.7461 MB / 426.7 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.07142/0.6139, allocations: 51.79 MB / 0.6662 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01201/0.626, allocations: 4.741 MB / 0.6709 GB, free: 6.605 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003847/0.6299, allocations: 2.958 MB / 0.6737 GB, free: 3.633 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0207/0.6506, allocations: 12.85 MB / 0.6863 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.6507, allocations: 59.81 kB / 0.6864 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=197): time 4.698e-06/0.6507, allocations: 0 / 0.6864 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of matching and sorting (n=248): time 0.3699/1.021, allocations: 43.43 MB / 0.7288 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.285e-05/1.021, allocations: 235.8 kB / 0.729 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008081/1.029, allocations: 4.79 MB / 0.7337 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006839/1.03, allocations: 69.53 kB / 0.7337 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002664/1.032, allocations: 3.84 MB / 0.7375 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001315/1.034, allocations: 0.9373 MB / 0.7384 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002378/1.036, allocations: 1.508 MB / 0.7399 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.873e-05/1.036, allocations: 303 kB / 0.7402 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005122/1.041, allocations: 3.444 MB / 0.7435 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005475/1.047, allocations: 7.709 MB / 0.7511 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/1.057, allocations: 11.88 MB / 0.7627 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.318e-05/1.057, allocations: 48 kB / 0.7627 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02584/1.083, allocations: 14.48 MB / 0.7768 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.133e-05/1.083, allocations: 68 kB / 0.7769 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001137/1.083, allocations: 152 kB / 0.777 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01113/1.094, allocations: 4.021 MB / 0.781 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004621/1.099, allocations: 1.634 MB / 0.7826 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02136/1.12, allocations: 18.68 MB / 0.8008 GB, free: 81.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006276/1.127, allocations: 459.5 kB / 0.8013 GB, free: 80.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009188/1.128, allocations: 436 kB / 0.8017 GB, free: 80.51 MB / 0.4948 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.003529/1.131, allocations: 2.65 MB / 0.8043 GB, free: 77.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007627/1.132, allocations: 434.5 kB / 0.8047 GB, free: 77.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01633/1.148, allocations: 8.643 MB / 0.8131 GB, free: 68.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.204e-05/1.148, allocations: 28 kB / 0.8131 GB, free: 68.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.783e-05/1.148, allocations: 12 kB / 0.8131 GB, free: 68.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.057e-05/1.148, allocations: 14.39 kB / 0.8132 GB, free: 68.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03112/1.18, allocations: 17.91 MB / 0.8307 GB, free: 50.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/1.18, allocations: 0 / 0.8307 GB, free: 50.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/1.181, allocations: 399.4 kB / 0.831 GB, free: 50.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01107/1.192, allocations: 4.069 MB / 0.835 GB, free: 46.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002925/1.193, allocations: 51.84 kB / 0.8351 GB, free: 46.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01912/1.212, allocations: 17.11 MB / 0.8518 GB, free: 29.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.212, allocations: 0 / 0.8518 GB, free: 29.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4504/1.662, allocations: 125.3 MB / 0.9741 GB, free: 86.97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002771/1.665, allocations: 0.9608 MB / 0.975 GB, free: 86.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007393/1.666, allocations: 39.91 kB / 0.9751 GB, free: 86.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002298/1.668, allocations: 219.2 kB / 0.9753 GB, free: 85.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005732/1.669, allocations: 150.2 kB / 0.9754 GB, free: 85.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001938/1.669, allocations: 63.98 kB / 0.9755 GB, free: 85.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003511/1.672, allocations: 2.993 MB / 0.9784 GB, free: 82.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/1.672, allocations: 0 / 0.9784 GB, free: 82.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007202/1.68, allocations: 2.091 MB / 0.9804 GB, free: 80.64 MB / 0.4948 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.0005861/1.68, allocations: 226.8 kB / 0.9807 GB, free: 80.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01021/1.691, allocations: 8.26 MB / 0.9887 GB, free: 72.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.691, allocations: 3.938 kB / 0.9887 GB, free: 72.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003838/1.694, allocations: 3.11 MB / 0.9918 GB, free: 69.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003593/1.698, allocations: 0.508 MB / 0.9923 GB, free: 68.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02177/1.72, allocations: 17.65 MB / 1.01 GB, free: 51.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0042/1.724, allocations: 4.205 MB / 1.014 GB, free: 46.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004981/1.729, allocations: 2.242 MB / 1.016 GB, free: 44.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009464/1.73, allocations: 287.4 kB / 1.016 GB, free: 44.29 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/1.73, allocations: 0 / 1.016 GB, free: 44.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.3471/2.077, allocations: 95.2 MB / 1.109 GB, free: 134.6 MB / 0.5105 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches