Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_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.001532/0.001532, allocations: 113.2 kB / 17.78 MB, free: 5.266 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.00182/0.00182, allocations: 184.2 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2531/0.2531, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 67.89 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4646/0.4659, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01685/0.4828, allocations: 13.26 MB / 0.5319 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01412/0.497, allocations: 4.855 MB / 0.5366 GB, free: 6.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004504/0.5015, allocations: 85 kB / 0.5367 GB, free: 6.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009842/0.5116, allocations: 3.979 MB / 0.5406 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01124/0.5229, allocations: 2.255 MB / 0.5428 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00549/0.5284, allocations: 1.19 MB / 0.5439 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0127/0.5411, allocations: 5.729 MB / 0.5495 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009028/0.5502, allocations: 5.188 MB / 0.5546 GB, free: 7.375 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005685/0.5559, allocations: 2.173 MB / 0.5567 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005976/0.5619, allocations: 2.968 MB / 0.5596 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002266/0.5642, allocations: 0.5 MB / 0.5601 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005087/0.5693, allocations: 1.662 MB / 0.5617 GB, free: 56 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00522/0.5746, allocations: 2.685 MB / 0.5644 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008851/0.5834, allocations: 3.018 MB / 0.5673 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01808/0.6016, allocations: 9.948 MB / 0.577 GB, free: 356 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6016, allocations: 0 / 0.577 GB, free: 356 kB / 430.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.6016, allocations: 3.984 kB / 0.577 GB, free: 352 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005423/0.6022, allocations: 0 / 0.577 GB, free: 352 kB / 430.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.02496/0.6272, allocations: 6.519 MB / 0.5834 GB, free: 9.746 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.456e-05/0.6273, allocations: 8.031 kB / 0.5834 GB, free: 9.738 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02049/0.6478, allocations: 2.712 MB / 0.586 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01192/0.6597, allocations: 3.704 MB / 0.5897 GB, free: 3.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000524/0.6603, allocations: 350.2 kB / 0.59 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0025/0.6628, allocations: 431.7 kB / 0.5904 GB, free: 2.477 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03529/0.6981, allocations: 13.84 MB / 0.6039 GB, free: 3.773 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002966/0.6985, allocations: 55.53 kB / 0.604 GB, free: 3.719 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001892/0.7004, allocations: 199.8 kB / 0.6042 GB, free: 3.523 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004355/0.7047, allocations: 2.406 MB / 0.6065 GB, free: 1.117 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02694/0.7317, allocations: 11.76 MB / 0.618 GB, free: 5.34 MB / 478.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.08197/0.8137, allocations: 51.53 MB / 0.6683 GB, free: 336 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01353/0.8273, allocations: 4.738 MB / 0.673 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004689/0.832, allocations: 2.948 MB / 0.6758 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.022/0.854, allocations: 12.86 MB / 0.6884 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.61e-05/0.8541, allocations: 55.81 kB / 0.6884 GB, free: 10.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=197): time 4.779e-06/0.8541, allocations: 0 / 0.6884 GB, free: 10.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=248): time 0.5426/1.397, allocations: 43.4 MB / 0.7308 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/1.397, allocations: 236.9 kB / 0.7311 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01061/1.407, allocations: 4.774 MB / 0.7357 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009755/1.409, allocations: 61.64 kB / 0.7358 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002954/1.412, allocations: 3.833 MB / 0.7395 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001941/1.413, allocations: 0.9484 MB / 0.7404 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002631/1.416, allocations: 1.507 MB / 0.7419 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.515e-05/1.416, allocations: 305.1 kB / 0.7422 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004738/1.421, allocations: 3.446 MB / 0.7456 GB, free: 156 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006782/1.428, allocations: 7.702 MB / 0.7531 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/1.44, allocations: 11.87 MB / 0.7647 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001523/1.44, allocations: 40 kB / 0.7647 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.0318/1.472, allocations: 14.49 MB / 0.7789 GB, free: 121.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002207/1.472, allocations: 68 kB / 0.7789 GB, free: 121.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003206/1.473, allocations: 152.1 kB / 0.7791 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0135/1.486, allocations: 4.02 MB / 0.783 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006622/1.493, allocations: 1.634 MB / 0.7846 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02689/1.52, allocations: 19.84 MB / 0.804 GB, free: 95.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007519/1.527, allocations: 467.2 kB / 0.8044 GB, free: 95.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001591/1.529, allocations: 435.1 kB / 0.8048 GB, free: 95.09 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.006226/1.535, allocations: 2.65 MB / 0.8074 GB, free: 92.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001832/1.537, allocations: 434.5 kB / 0.8078 GB, free: 92 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0194/1.557, allocations: 8.633 MB / 0.8163 GB, free: 83.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.31e-05/1.557, allocations: 28 kB / 0.8163 GB, free: 83.31 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.812e-05/1.557, allocations: 12 kB / 0.8163 GB, free: 83.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.967e-05/1.557, allocations: 23.83 kB / 0.8163 GB, free: 83.28 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03846/1.595, allocations: 17.84 MB / 0.8338 GB, free: 65.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.044e-05/1.595, allocations: 0 / 0.8338 GB, free: 65.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002119/1.597, allocations: 395.4 kB / 0.8341 GB, free: 65.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01179/1.609, allocations: 4.075 MB / 0.8381 GB, free: 60.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005854/1.61, allocations: 40 kB / 0.8381 GB, free: 60.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02277/1.633, allocations: 18.21 MB / 0.8559 GB, free: 42.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.633, allocations: 7.938 kB / 0.8559 GB, free: 42.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02343/1.656, allocations: 13.22 MB / 0.8688 GB, free: 29.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/1.658, allocations: 467.4 kB / 0.8693 GB, free: 28.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001511/1.659, allocations: 36 kB / 0.8693 GB, free: 28.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00322/1.662, allocations: 223.7 kB / 0.8695 GB, free: 28.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008752/1.663, allocations: 154.2 kB / 0.8697 GB, free: 28.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003832/1.664, allocations: 64.69 kB / 0.8698 GB, free: 28.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005092/1.669, allocations: 2.985 MB / 0.8727 GB, free: 25.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.2e-07/1.669, allocations: 0 / 0.8727 GB, free: 25.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008692/1.677, allocations: 1.484 MB / 0.8741 GB, free: 23.93 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.0009958/1.678, allocations: 230.3 kB / 0.8743 GB, free: 23.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01171/1.69, allocations: 8.277 MB / 0.8824 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/1.69, allocations: 192 / 0.8824 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004291/1.695, allocations: 3.115 MB / 0.8855 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005056/1.7, allocations: 0.5283 MB / 0.886 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02227/1.722, allocations: 12.86 MB / 0.8985 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007609/1.73, allocations: 4.099 MB / 0.9025 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006794/1.736, allocations: 2.194 MB / 0.9047 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001525/1.738, allocations: 283.4 kB / 0.9049 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of SimCode: time 1.062e-06/1.738, allocations: 0 / 0.9049 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of Templates: time 0.3698/2.108, allocations: 61.12 MB / 0.9646 GB, free: 195.3 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches