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.001632/0.001632, allocations: 175.8 kB / 16.76 MB, free: 5.051 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.533/1.533, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007729/0.0007729, allocations: 108.9 kB / 271.3 MB, free: 8.242 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.3277/0.3277, allocations: 43.56 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.000491, allocations: 12 kB / 432.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1393, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3782/0.5175, allocations: 114.9 MB / 0.5922 GB, free: 3.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.5179, allocations: 75.97 kB / 0.5923 GB, free: 2.945 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5127/1.031, allocations: 121.8 MB / 0.7112 GB, free: 95.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.031, allocations: 0 / 0.7112 GB, free: 95.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004808/1.031, allocations: 120.5 kB / 0.7114 GB, free: 95.07 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.02112/1.052, allocations: 5.801 MB / 0.717 GB, free: 92.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/1.052, allocations: 8.656 kB / 0.717 GB, free: 92.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01792/1.07, allocations: 3.871 MB / 0.7208 GB, free: 92.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01542/1.086, allocations: 5.518 MB / 0.7262 GB, free: 91.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005692/1.086, allocations: 441.8 kB / 0.7266 GB, free: 91.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002811/1.089, allocations: 0.5546 MB / 0.7272 GB, free: 91.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03082/1.12, allocations: 14.06 MB / 0.7409 GB, free: 85.87 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003394/1.12, allocations: 67.02 kB / 0.741 GB, free: 85.83 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001987/1.122, allocations: 263.3 kB / 0.7412 GB, free: 85.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00172/1.124, allocations: 1.295 MB / 0.7425 GB, free: 85.44 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02396/1.148, allocations: 11.69 MB / 0.7539 GB, free: 81.78 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06506/1.213, allocations: 59.24 MB / 0.8117 GB, free: 34.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01104/1.224, allocations: 4.662 MB / 0.8163 GB, free: 29.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003181/1.228, allocations: 2.756 MB / 0.819 GB, free: 26.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01621/1.244, allocations: 12.49 MB / 0.8312 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/1.244, allocations: 55.81 kB / 0.8312 GB, free: 13.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=191): time 4.689e-06/1.244, allocations: 0 / 0.8312 GB, free: 13.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=242): time 0.359/1.603, allocations: 39.61 MB / 0.8699 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/1.603, allocations: 231.3 kB / 0.8701 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008049/1.611, allocations: 4.795 MB / 0.8748 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005906/1.612, allocations: 63.64 kB / 0.8749 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002417/1.614, allocations: 3.913 MB / 0.8787 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001138/1.615, allocations: 0.9197 MB / 0.8796 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003841/1.616, allocations: 144.2 kB / 0.8797 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003109/1.616, allocations: 0.6103 MB / 0.8803 GB, free: 100 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004345/1.62, allocations: 3.252 MB / 0.8835 GB, free: 100 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006317/1.627, allocations: 7.553 MB / 0.8909 GB, free: 94.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01255/1.639, allocations: 11.61 MB / 0.9022 GB, free: 87.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000216/1.64, allocations: 41.06 kB / 0.9023 GB, free: 87.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.03325/1.673, allocations: 13.87 MB / 0.9158 GB, free: 82.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001475/1.673, allocations: 72.97 kB / 0.9159 GB, free: 82.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002662/1.673, allocations: 148 kB / 0.916 GB, free: 82.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01092/1.684, allocations: 3.792 MB / 0.9197 GB, free: 82.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005363/1.69, allocations: 1.617 MB / 0.9213 GB, free: 81.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02272/1.712, allocations: 18.08 MB / 0.939 GB, free: 74.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007229/1.72, allocations: 490.4 kB / 0.9394 GB, free: 74.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001564/1.721, allocations: 430.5 kB / 0.9398 GB, free: 73.96 MB / 0.4948 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.005921/1.727, allocations: 2.672 MB / 0.9424 GB, free: 72.69 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001195/1.728, allocations: 431.5 kB / 0.9429 GB, free: 72.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0158/1.744, allocations: 8.144 MB / 0.9508 GB, free: 69.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.487e-05/1.744, allocations: 27.67 kB / 0.9508 GB, free: 69.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.106e-05/1.744, allocations: 15.47 kB / 0.9509 GB, free: 69.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.826e-05/1.744, allocations: 10.41 kB / 0.9509 GB, free: 69.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03077/1.775, allocations: 17.46 MB / 0.9679 GB, free: 63.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-05/1.775, allocations: 0 / 0.9679 GB, free: 63.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/1.777, allocations: 388.2 kB / 0.9683 GB, free: 63.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01005/1.787, allocations: 3.865 MB / 0.9721 GB, free: 62.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003461/1.787, allocations: 42.11 kB / 0.9721 GB, free: 62.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01924/1.807, allocations: 16.52 MB / 0.9882 GB, free: 48.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.807, allocations: 4 kB / 0.9882 GB, free: 48.35 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02068/1.827, allocations: 12.53 MB / 1 GB, free: 37.01 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002824/1.83, allocations: 0.9404 MB / 1.001 GB, free: 36.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001125/1.831, allocations: 36 kB / 1.001 GB, free: 36.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002383/1.834, allocations: 211.7 kB / 1.002 GB, free: 35.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005368/1.834, allocations: 155.2 kB / 1.002 GB, free: 35.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/1.835, allocations: 57.25 kB / 1.002 GB, free: 35.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00476/1.839, allocations: 2.999 MB / 1.005 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/1.839, allocations: 0.75 kB / 1.005 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007801/1.847, allocations: 1.463 MB / 1.006 GB, free: 31.16 MB / 0.4948 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.000697/1.848, allocations: 214.8 kB / 1.006 GB, free: 30.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0109/1.859, allocations: 7.888 MB / 1.014 GB, free: 23.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.859, allocations: 0 / 1.014 GB, free: 23.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003558/1.862, allocations: 2.957 MB / 1.017 GB, free: 20.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004054/1.866, allocations: 0.5157 MB / 1.017 GB, free: 19.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02147/1.888, allocations: 14.92 MB / 1.032 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004117/1.892, allocations: 4.101 MB / 1.036 GB, free: 0.5859 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005515/1.898, allocations: 2.182 MB / 1.038 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008135/1.898, allocations: 282.9 kB / 1.038 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of SimCode: time 7.02e-07/1.898, allocations: 3.938 kB / 1.038 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of Templates: time 0.3451/2.244, allocations: 58.7 MB / 1.096 GB, free: 104.1 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/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_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches