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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009469/0.0009467, allocations: 92.92 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2266/0.2266, allocations: 44.16 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.704e-05/1.707e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.134, allocations: 61.92 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4531/0.5871, allocations: 116 MB / 0.608 GB, free: 12.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.5874, allocations: 71.97 kB / 0.608 GB, free: 12.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6265/1.214, allocations: 122.6 MB / 0.7278 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.068e-06/1.214, allocations: 0 / 0.7278 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005016/1.214, allocations: 102.5 kB / 0.7279 GB, free: 115.5 MB / 0.4948 GB 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.02059/1.235, allocations: 5.635 MB / 0.7334 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/1.235, allocations: 12.42 kB / 0.7334 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01971/1.255, allocations: 4.725 MB / 0.738 GB, free: 113 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01781/1.273, allocations: 6.341 MB / 0.7442 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004642/1.273, allocations: 260.2 kB / 0.7445 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003068/1.276, allocations: 327.1 kB / 0.7448 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01536/1.292, allocations: 8.461 MB / 0.753 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03033/1.322, allocations: 12.07 MB / 0.7648 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004897/1.323, allocations: 63.38 kB / 0.7649 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00245/1.325, allocations: 36.38 kB / 0.7649 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002107/1.327, allocations: 1.296 MB / 0.7662 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0816/1.409, allocations: 57.6 MB / 0.8224 GB, free: 53.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005867/1.415, allocations: 3.927 MB / 0.8263 GB, free: 49.83 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003976/1.419, allocations: 2.62 MB / 0.8288 GB, free: 47.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02102/1.44, allocations: 11.71 MB / 0.8403 GB, free: 35.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.866e-05/1.44, allocations: 55.86 kB / 0.8403 GB, free: 34.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=191): time 7.805e-06/1.44, allocations: 0 / 0.8403 GB, free: 34.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=242): time 0.1112/1.551, allocations: 33.44 MB / 0.873 GB, free: 1.379 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.875e-05/1.551, allocations: 243.6 kB / 0.8732 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01035/1.562, allocations: 3.646 MB / 0.8768 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009597/1.563, allocations: 25.7 kB / 0.8768 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00418/1.567, allocations: 3.962 MB / 0.8807 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001771/1.569, allocations: 0.8905 MB / 0.8815 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009903/1.57, allocations: 0 / 0.8815 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008555/1.57, allocations: 0.62 MB / 0.8821 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005745/1.576, allocations: 3.06 MB / 0.8851 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3257/1.902, allocations: 7.45 MB / 0.8924 GB, free: 115 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008264/1.91, allocations: 4.657 MB / 0.897 GB, free: 115 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002366/1.911, allocations: 44.06 kB / 0.897 GB, free: 115 MB / 0.5105 GB Notification: Performance of matching and sorting (n=968) (initialization): time 0.03273/1.943, allocations: 12.83 MB / 0.9095 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002178/1.944, allocations: 72.91 kB / 0.9096 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003026/1.944, allocations: 157 kB / 0.9097 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0117/1.956, allocations: 3.785 MB / 0.9134 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005834/1.961, allocations: 1.659 MB / 0.9151 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02231/1.984, allocations: 16.52 MB / 0.9312 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007024/1.991, allocations: 350.4 kB / 0.9315 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002104/1.993, allocations: 448 kB / 0.932 GB, free: 109.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 716 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (885): * Single equations (assignments): 881 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001884/1.995, allocations: 498.9 kB / 0.9324 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009566/1.996, allocations: 406.8 kB / 0.9328 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0164/2.012, allocations: 7.884 MB / 0.9405 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.747e-05/2.012, allocations: 25.8 kB / 0.9405 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.439e-05/2.012, allocations: 15.88 kB / 0.9406 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.806e-05/2.013, allocations: 11.16 kB / 0.9406 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02964/2.042, allocations: 16.22 MB / 0.9564 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.599e-05/2.042, allocations: 0 / 0.9564 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/2.044, allocations: 389.4 kB / 0.9568 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01105/2.055, allocations: 3.821 MB / 0.9605 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007401/2.056, allocations: 7.078 kB / 0.9605 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01854/2.075, allocations: 15.01 MB / 0.9752 GB, free: 93.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/2.075, allocations: 0 / 0.9752 GB, free: 93.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01957/2.094, allocations: 12.35 MB / 0.9872 GB, free: 83.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/2.096, allocations: 425.6 kB / 0.9876 GB, free: 83.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008392/2.097, allocations: 4 kB / 0.9876 GB, free: 83.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00233/2.099, allocations: 173.3 kB / 0.9878 GB, free: 83.37 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004588/2.099, allocations: 151.3 kB / 0.988 GB, free: 83.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001914/2.1, allocations: 63.36 kB / 0.988 GB, free: 83.22 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003473/2.103, allocations: 2.433 MB / 0.9904 GB, free: 81.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/2.103, allocations: 4.938 kB / 0.9904 GB, free: 81.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006821/2.11, allocations: 1.271 MB / 0.9916 GB, free: 79.84 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 163 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006316/2.111, allocations: 183 kB / 0.9918 GB, free: 79.69 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0093/2.12, allocations: 7.418 MB / 0.9991 GB, free: 72.94 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/2.12, allocations: 3.938 kB / 0.9991 GB, free: 72.94 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003286/2.123, allocations: 2.846 MB / 1.002 GB, free: 70.33 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/2.126, allocations: 402.9 kB / 1.002 GB, free: 69.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/2.142, allocations: 10.47 MB / 1.012 GB, free: 59.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004252/2.146, allocations: 4.204 MB / 1.017 GB, free: 55.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005441/2.152, allocations: 2.213 MB / 1.019 GB, free: 53.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008134/2.153, allocations: 275 kB / 1.019 GB, free: 52.89 MB / 0.5105 GB Notification: Performance of SimCode: time 1.213e-06/2.153, allocations: 0 / 1.019 GB, free: 52.89 MB / 0.5105 GB Notification: Performance of Templates: time 0.07875/2.231, allocations: 53.61 MB / 1.071 GB, free: 15.96 MB / 0.5261 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches