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.001181/0.001181, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007792/0.000779, allocations: 82.64 kB / 261.8 MB, free: 1.68 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.2019/0.2019, allocations: 43.48 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.573e-05/1.575e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1174, allocations: 58.85 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4795/0.5969, allocations: 114 MB / 0.5772 GB, free: 13.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.5972, allocations: 83.11 kB / 0.5773 GB, free: 13.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3118/0.9091, allocations: 121.1 MB / 0.6956 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.9091, allocations: 0 / 0.6956 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003108/0.9095, allocations: 112 kB / 0.6957 GB, free: 12.3 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.02057/0.93, allocations: 5.641 MB / 0.7012 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.9301, allocations: 8.031 kB / 0.7012 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02089/0.951, allocations: 4.727 MB / 0.7058 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3177/1.269, allocations: 6.626 MB / 0.7123 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005949/1.269, allocations: 263.5 kB / 0.7125 GB, free: 110 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003312/1.273, allocations: 324.8 kB / 0.7128 GB, free: 110 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02332/1.296, allocations: 8.465 MB / 0.7211 GB, free: 110 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0277/1.324, allocations: 12.06 MB / 0.7329 GB, free: 107 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001908/1.324, allocations: 67.16 kB / 0.733 GB, free: 107 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007356/1.325, allocations: 40.61 kB / 0.733 GB, free: 107 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001468/1.326, allocations: 1.292 MB / 0.7343 GB, free: 107 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05916/1.385, allocations: 57.64 MB / 0.7906 GB, free: 70.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004543/1.39, allocations: 3.915 MB / 0.7944 GB, free: 68.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002749/1.393, allocations: 2.624 MB / 0.7969 GB, free: 67.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01486/1.408, allocations: 11.75 MB / 0.8084 GB, free: 60.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/1.408, allocations: 55.28 kB / 0.8085 GB, free: 60.42 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=191): time 6.722e-06/1.408, allocations: 6.969 kB / 0.8085 GB, free: 60.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=242): time 0.07098/1.479, allocations: 33.54 MB / 0.8412 GB, free: 41.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.161e-05/1.479, allocations: 238 kB / 0.8415 GB, free: 41.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005312/1.484, allocations: 3.671 MB / 0.845 GB, free: 38.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006826/1.485, allocations: 26.64 kB / 0.8451 GB, free: 38.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001941/1.487, allocations: 3.975 MB / 0.849 GB, free: 34.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001054/1.488, allocations: 0.8829 MB / 0.8498 GB, free: 33.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003251/1.488, allocations: 3.094 kB / 0.8498 GB, free: 33.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002998/1.489, allocations: 0.6209 MB / 0.8504 GB, free: 33.42 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003213/1.492, allocations: 3.058 MB / 0.8534 GB, free: 30.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004816/1.497, allocations: 7.451 MB / 0.8607 GB, free: 21.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005575/1.502, allocations: 4.661 MB / 0.8652 GB, free: 17.49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.863e-05/1.502, allocations: 44 kB / 0.8653 GB, free: 17.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=968) (initialization): time 0.02517/1.528, allocations: 12.83 MB / 0.8778 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/1.528, allocations: 72.22 kB / 0.8779 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001494/1.528, allocations: 160 kB / 0.878 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01047/1.538, allocations: 3.78 MB / 0.8817 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005589/1.544, allocations: 1.66 MB / 0.8833 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02611/1.57, allocations: 16.74 MB / 0.8997 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006902/1.577, allocations: 347.3 kB / 0.9 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001757/1.579, allocations: 455.9 kB / 0.9005 GB, free: 3.09 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.001397/1.58, allocations: 498.2 kB / 0.9009 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001029/1.581, allocations: 410.6 kB / 0.9013 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3068/1.888, allocations: 7.878 MB / 0.909 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.77e-05/1.888, allocations: 25.19 kB / 0.909 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.514e-05/1.888, allocations: 13.5 kB / 0.9091 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.98e-05/1.888, allocations: 15.75 kB / 0.9091 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03406/1.922, allocations: 16.23 MB / 0.9249 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.284e-05/1.923, allocations: 3.234 kB / 0.9249 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002016/1.925, allocations: 386.9 kB / 0.9253 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01104/1.936, allocations: 3.82 MB / 0.929 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000573/1.936, allocations: 7.641 kB / 0.929 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01868/1.955, allocations: 15 MB / 0.9437 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/1.955, allocations: 3.406 kB / 0.9437 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01998/1.975, allocations: 12.36 MB / 0.9558 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002383/1.977, allocations: 0.8951 MB / 0.9566 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006511/1.978, allocations: 0 / 0.9566 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002161/1.98, allocations: 180.1 kB / 0.9568 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004956/1.981, allocations: 149 kB / 0.9569 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001826/1.981, allocations: 59.77 kB / 0.957 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003715/1.985, allocations: 2.459 MB / 0.9594 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/1.985, allocations: 0 / 0.9594 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007802/1.992, allocations: 1.27 MB / 0.9606 GB, free: 106.3 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.001085/1.994, allocations: 184.6 kB / 0.9608 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01141/2.005, allocations: 7.412 MB / 0.9681 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/2.005, allocations: 7.156 kB / 0.9681 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00379/2.009, allocations: 2.838 MB / 0.9708 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/2.011, allocations: 401.2 kB / 0.9712 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0197/2.031, allocations: 10.51 MB / 0.9815 GB, free: 98.49 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004087/2.035, allocations: 4.212 MB / 0.9856 GB, free: 97 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005111/2.04, allocations: 2.218 MB / 0.9878 GB, free: 96.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007005/2.041, allocations: 272.5 kB / 0.988 GB, free: 96.95 MB / 0.5105 GB Notification: Performance of SimCode: time 1.162e-06/2.041, allocations: 0 / 0.988 GB, free: 96.95 MB / 0.5105 GB Notification: Performance of Templates: time 0.0797/2.121, allocations: 53.65 MB / 1.04 GB, free: 55.95 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