Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 171.7 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.6 MB / 222.4 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008434/0.0008437, allocations: 85.61 kB / 270.8 MB, free: 8.121 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4614/0.4614, allocations: 43.67 MB / 362.7 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003274, allocations: 19.94 kB / 432.3 MB, free: 5.012 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.11, allocations: 58.84 MB / 491.2 MB, free: 10.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.2467/0.3567, allocations: 43.85 MB / 0.5225 GB, free: 19.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02598/0.3827, allocations: 13.81 MB / 0.536 GB, free: 8.277 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01437/0.3972, allocations: 207.8 kB / 0.5362 GB, free: 8.246 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002346/0.3996, allocations: 0.5113 MB / 0.5367 GB, free: 8.043 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006353/0.4059, allocations: 2.075 MB / 0.5387 GB, free: 7.121 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002809/0.4088, allocations: 1.077 MB / 0.5397 GB, free: 6.688 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009086/0.4179, allocations: 8.045 MB / 0.5476 GB, free: 4.363 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01329/0.4312, allocations: 8.469 MB / 0.5559 GB, free: 15.76 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005546/0.4368, allocations: 1.746 MB / 0.5576 GB, free: 15.16 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006381/0.4432, allocations: 2.684 MB / 0.5602 GB, free: 14.33 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001926/0.4452, allocations: 200 kB / 0.5604 GB, free: 14.33 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005476/0.4507, allocations: 1.412 MB / 0.5618 GB, free: 13.88 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005003/0.4558, allocations: 2.305 MB / 0.564 GB, free: 12.61 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006856/0.4626, allocations: 2.625 MB / 0.5666 GB, free: 10.64 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0143/0.477, allocations: 9.274 MB / 0.5756 GB, free: 1.992 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.477, allocations: 0 / 0.5756 GB, free: 1.992 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.4771, allocations: 4 kB / 0.5756 GB, free: 1.988 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000438/0.4775, allocations: 0 / 0.5756 GB, free: 1.988 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.01419/0.4917, allocations: 5.384 MB / 0.5809 GB, free: 12.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.4918, allocations: 8.031 kB / 0.5809 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/0.5092, allocations: 2.782 MB / 0.5836 GB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01133/0.5206, allocations: 3.72 MB / 0.5872 GB, free: 5.945 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004495/0.5211, allocations: 358.1 kB / 0.5876 GB, free: 5.586 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001879/0.523, allocations: 435.7 kB / 0.588 GB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03189/0.5549, allocations: 13.85 MB / 0.6015 GB, free: 6.449 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002894/0.5552, allocations: 55.52 kB / 0.6016 GB, free: 6.395 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001524/0.5568, allocations: 203.8 kB / 0.6018 GB, free: 6.195 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003981/0.5608, allocations: 2.406 MB / 0.6041 GB, free: 3.789 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02796/0.5888, allocations: 11.74 MB / 0.6156 GB, free: 8.031 MB / 442.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.07785/0.6667, allocations: 51.83 MB / 0.6662 GB, free: 2.746 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01329/0.68, allocations: 4.738 MB / 0.6708 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00492/0.685, allocations: 2.944 MB / 0.6737 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2806/0.9656, allocations: 12.85 MB / 0.6863 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.117e-05/0.9657, allocations: 60.53 kB / 0.6863 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=197): time 5.791e-06/0.9657, allocations: 0 / 0.6863 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=248): time 0.1481/1.114, allocations: 43.35 MB / 0.7286 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.196e-05/1.114, allocations: 232.2 kB / 0.7289 GB, free: 139 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007553/1.122, allocations: 4.75 MB / 0.7335 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007668/1.122, allocations: 63.38 kB / 0.7336 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002398/1.125, allocations: 3.843 MB / 0.7373 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001421/1.126, allocations: 0.9346 MB / 0.7382 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007791/1.127, allocations: 146.8 kB / 0.7384 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003799/1.127, allocations: 0.6151 MB / 0.739 GB, free: 133 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004736/1.132, allocations: 3.418 MB / 0.7423 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006969/1.139, allocations: 7.675 MB / 0.7498 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01254/1.152, allocations: 11.84 MB / 0.7614 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001106/1.152, allocations: 43.94 kB / 0.7614 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02992/1.182, allocations: 14.41 MB / 0.7755 GB, free: 95.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/1.182, allocations: 68.94 kB / 0.7755 GB, free: 94.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001628/1.182, allocations: 152 kB / 0.7757 GB, free: 94.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01139/1.194, allocations: 4.031 MB / 0.7796 GB, free: 90.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005494/1.199, allocations: 1.639 MB / 0.7812 GB, free: 89.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02282/1.222, allocations: 18.66 MB / 0.7995 GB, free: 70.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006937/1.229, allocations: 459.2 kB / 0.7999 GB, free: 69.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001481/1.23, allocations: 441.1 kB / 0.8003 GB, free: 69.49 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.005142/1.236, allocations: 2.66 MB / 0.8029 GB, free: 66.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001153/1.237, allocations: 431.5 kB / 0.8033 GB, free: 66.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01619/1.253, allocations: 8.633 MB / 0.8117 GB, free: 57.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.078e-05/1.253, allocations: 28 kB / 0.8118 GB, free: 57.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.058e-05/1.253, allocations: 12 kB / 0.8118 GB, free: 57.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-05/1.253, allocations: 11.91 kB / 0.8118 GB, free: 57.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03297/1.286, allocations: 17.9 MB / 0.8293 GB, free: 39.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.243e-05/1.286, allocations: 4 kB / 0.8293 GB, free: 39.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00242/1.289, allocations: 403.3 kB / 0.8297 GB, free: 39.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01169/1.3, allocations: 4.073 MB / 0.8336 GB, free: 35.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006626/1.301, allocations: 41.56 kB / 0.8337 GB, free: 35.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02074/1.322, allocations: 17.1 MB / 0.8504 GB, free: 18.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.322, allocations: 4.031 kB / 0.8504 GB, free: 18.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02288/1.345, allocations: 13.2 MB / 0.8633 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00311/1.348, allocations: 0.964 MB / 0.8642 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001325/1.349, allocations: 40 kB / 0.8643 GB, free: 3.754 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00298/1.352, allocations: 217.3 kB / 0.8645 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007177/1.353, allocations: 154.2 kB / 0.8646 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002108/1.353, allocations: 56 kB / 0.8647 GB, free: 3.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004977/1.358, allocations: 2.969 MB / 0.8676 GB, free: 384 kB / 0.4948 GB Notification: Performance of sort global known variables: time 2.51e-07/1.358, allocations: 4 kB / 0.8676 GB, free: 380 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.306/1.664, allocations: 1.494 MB / 0.869 GB, free: 152.4 MB / 0.5105 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.001228/1.666, allocations: 224.6 kB / 0.8692 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01629/1.682, allocations: 8.225 MB / 0.8773 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/1.682, allocations: 3.406 kB / 0.8773 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005015/1.687, allocations: 3.105 MB / 0.8803 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004591/1.692, allocations: 0.4897 MB / 0.8808 GB, free: 151 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02452/1.716, allocations: 15.72 MB / 0.8961 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004673/1.721, allocations: 4.109 MB / 0.9001 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005657/1.727, allocations: 2.201 MB / 0.9023 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000907/1.728, allocations: 284.3 kB / 0.9026 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of SimCode: time 2.385e-06/1.728, allocations: 0 / 0.9026 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.1024/1.83, allocations: 61.11 MB / 0.9623 GB, free: 104.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/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