Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001562/0.001562, allocations: 186.4 kB / 16.41 MB, free: 5.727 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.904/1.904, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001122/0.001122, allocations: 84.48 kB / 270.9 MB, free: 8.383 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.5178/0.5178, allocations: 43.55 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004844, allocations: 15.98 kB / 431.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1261, allocations: 58.85 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5107/0.6368, allocations: 114.7 MB / 0.5908 GB, free: 3.797 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/0.6372, allocations: 79.95 kB / 0.5908 GB, free: 3.719 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8267/1.464, allocations: 123.5 MB / 0.7115 GB, free: 94.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.464, allocations: 0 / 0.7115 GB, free: 94.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003803/1.464, allocations: 108.9 kB / 0.7116 GB, free: 94.88 MB / 490.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.02732/1.492, allocations: 6.035 MB / 0.7175 GB, free: 92.51 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/1.492, allocations: 8.938 kB / 0.7175 GB, free: 92.51 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03568/1.527, allocations: 4.724 MB / 0.7221 GB, free: 92.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02517/1.553, allocations: 6.687 MB / 0.7286 GB, free: 91.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005511/1.553, allocations: 445.8 kB / 0.729 GB, free: 91.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003083/1.556, allocations: 0.5379 MB / 0.7296 GB, free: 91.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0425/1.599, allocations: 14.2 MB / 0.7434 GB, free: 85.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003056/1.599, allocations: 71.95 kB / 0.7435 GB, free: 85.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001452/1.601, allocations: 266.5 kB / 0.7438 GB, free: 85.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002535/1.603, allocations: 1.297 MB / 0.745 GB, free: 84.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03738/1.641, allocations: 11.9 MB / 0.7566 GB, free: 81.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08543/1.726, allocations: 59.33 MB / 0.8146 GB, free: 31.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0201/1.746, allocations: 4.674 MB / 0.8191 GB, free: 26.19 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02482/1.771, allocations: 12.61 MB / 0.8315 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/1.771, allocations: 59.81 kB / 0.8315 GB, free: 13.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=191): time 6.291e-06/1.771, allocations: 0 / 0.8315 GB, free: 13.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=242): time 0.5969/2.368, allocations: 39.81 MB / 0.8704 GB, free: 100.7 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.341e-05/2.368, allocations: 235.8 kB / 0.8706 GB, free: 100.4 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01207/2.38, allocations: 4.282 MB / 0.8748 GB, free: 100 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.000738/2.381, allocations: 64.81 kB / 0.8749 GB, free: 99.99 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003541/2.385, allocations: 3.791 MB / 0.8786 GB, free: 97.94 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001611/2.386, allocations: 0.9077 MB / 0.8795 GB, free: 97.43 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001108/2.388, allocations: 142.8 kB / 0.8796 GB, free: 97.43 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005114/2.388, allocations: 0.6182 MB / 0.8802 GB, free: 97.1 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008483/2.397, allocations: 3.253 MB / 0.8834 GB, free: 97.08 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01177/2.408, allocations: 7.526 MB / 0.8907 GB, free: 91.59 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01154/2.42, allocations: 4.805 MB / 0.8954 GB, free: 91.37 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001802/2.42, allocations: 43.12 kB / 0.8954 GB, free: 91.37 MB / 0.4949 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.04942/2.47, allocations: 13.72 MB / 0.9088 GB, free: 86.94 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001487/2.47, allocations: 68.75 kB / 0.9089 GB, free: 86.94 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000304/2.47, allocations: 152.2 kB / 0.9091 GB, free: 86.94 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0226/2.493, allocations: 3.811 MB / 0.9128 GB, free: 86.28 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009927/2.503, allocations: 1.62 MB / 0.9144 GB, free: 86.08 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0432/2.546, allocations: 18.65 MB / 0.9326 GB, free: 78.18 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009725/2.556, allocations: 486.9 kB / 0.933 GB, free: 78.04 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001818/2.558, allocations: 433.1 kB / 0.9335 GB, free: 77.99 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 689 * 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 (859): * Single equations (assignments): 855 * 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.007936/2.566, allocations: 2.664 MB / 0.9361 GB, free: 76.73 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001391/2.567, allocations: 435.5 kB / 0.9365 GB, free: 76.49 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03095/2.598, allocations: 8.139 MB / 0.9444 GB, free: 73.76 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-05/2.598, allocations: 30.97 kB / 0.9444 GB, free: 73.76 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.437e-05/2.598, allocations: 15.72 kB / 0.9445 GB, free: 73.75 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.223e-05/2.598, allocations: 10.55 kB / 0.9445 GB, free: 73.75 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05616/2.654, allocations: 17.46 MB / 0.9615 GB, free: 67.48 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.077e-05/2.654, allocations: 0 / 0.9615 GB, free: 67.48 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003755/2.658, allocations: 381.6 kB / 0.9619 GB, free: 67.46 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02129/2.68, allocations: 3.867 MB / 0.9657 GB, free: 66.77 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006531/2.68, allocations: 38.66 kB / 0.9657 GB, free: 66.74 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03877/2.719, allocations: 17.08 MB / 0.9824 GB, free: 54.57 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/2.719, allocations: 3.938 kB / 0.9824 GB, free: 54.57 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0387/2.758, allocations: 12.66 MB / 0.9947 GB, free: 44.19 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003587/2.761, allocations: 0.9366 MB / 0.9957 GB, free: 43.23 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001631/2.763, allocations: 38.75 kB / 0.9957 GB, free: 43.19 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00506/2.768, allocations: 211.7 kB / 0.9959 GB, free: 42.98 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001071/2.769, allocations: 150.2 kB / 0.996 GB, free: 42.84 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003241/2.77, allocations: 64.91 kB / 0.9961 GB, free: 42.77 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.007709/2.777, allocations: 2.995 MB / 0.999 GB, free: 39.79 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8.21e-07/2.777, allocations: 0 / 0.999 GB, free: 39.79 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.009577/2.787, allocations: 1.457 MB / 1 GB, free: 38.34 MB / 0.4949 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 (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.001124/2.788, allocations: 219.3 kB / 1.001 GB, free: 38.13 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01785/2.806, allocations: 7.881 MB / 1.008 GB, free: 30.28 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.669e-06/2.806, allocations: 7.984 kB / 1.008 GB, free: 30.27 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.006707/2.813, allocations: 2.953 MB / 1.011 GB, free: 27.3 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004118/2.817, allocations: 497.4 kB / 1.012 GB, free: 26.83 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03465/2.852, allocations: 15.51 MB / 1.027 GB, free: 11.3 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009675/2.861, allocations: 4.218 MB / 1.031 GB, free: 7.086 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001927/2.863, allocations: 331.4 kB / 1.031 GB, free: 6.762 MB / 0.4949 GB Notification: Performance of SimCode: time 1.843e-06/2.863, allocations: 0 / 1.031 GB, free: 6.762 MB / 0.4949 GB Notification: Performance of Templates: time 0.5602/3.424, allocations: 96.72 MB / 1.126 GB, free: 89.02 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches