Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001338/0.001338, 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.442/1.442, 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.0007722/0.0007722, allocations: 88.86 kB / 271.3 MB, free: 8.254 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.369/0.369, allocations: 43.56 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003626, allocations: 19.98 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1128, allocations: 58.84 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3262/0.439, allocations: 115.6 MB / 0.5929 GB, free: 2.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.4394, allocations: 80.92 kB / 0.5929 GB, free: 2.242 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5311/0.9705, allocations: 140.8 MB / 0.7304 GB, free: 86.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.9706, allocations: 3.938 kB / 0.7304 GB, free: 86.85 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004641/0.971, allocations: 131 kB / 0.7305 GB, free: 86.85 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02047/0.9915, allocations: 7.06 MB / 0.7374 GB, free: 83.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.9916, allocations: 7.844 kB / 0.7374 GB, free: 83.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02512/1.017, allocations: 6.868 MB / 0.7441 GB, free: 82.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01806/1.035, allocations: 7.919 MB / 0.7519 GB, free: 79.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006262/1.035, allocations: 481.2 kB / 0.7523 GB, free: 79.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003722/1.039, allocations: 0.6335 MB / 0.7529 GB, free: 79.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03271/1.072, allocations: 15.48 MB / 0.7681 GB, free: 71.74 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004104/1.072, allocations: 89.05 kB / 0.7681 GB, free: 71.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002311/1.075, allocations: 297.2 kB / 0.7684 GB, free: 71.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001939/1.077, allocations: 1.391 MB / 0.7698 GB, free: 71.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02596/1.103, allocations: 12.67 MB / 0.7822 GB, free: 65.38 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06746/1.17, allocations: 64.35 MB / 0.845 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01698/1.187, allocations: 6.208 MB / 0.8511 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004977/1.192, allocations: 3.154 MB / 0.8541 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.226/1.418, allocations: 11.07 MB / 0.865 GB, free: 94.63 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/1.418, allocations: 62.06 kB / 0.865 GB, free: 94.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=245): time 5.219e-06/1.418, allocations: 0 / 0.865 GB, free: 94.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=337): time 0.1101/1.528, allocations: 36.81 MB / 0.901 GB, free: 90.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.951e-05/1.529, allocations: 246.8 kB / 0.9012 GB, free: 90.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009078/1.538, allocations: 5.628 MB / 0.9067 GB, free: 90.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007575/1.538, allocations: 80.95 kB / 0.9068 GB, free: 90.15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002961/1.541, allocations: 4.475 MB / 0.9111 GB, free: 87.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001737/1.543, allocations: 1.236 MB / 0.9124 GB, free: 86.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004402/1.544, allocations: 167.8 kB / 0.9125 GB, free: 86.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003747/1.544, allocations: 0.6499 MB / 0.9131 GB, free: 85.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004345/1.548, allocations: 3.605 MB / 0.9167 GB, free: 84.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006097/1.554, allocations: 8.169 MB / 0.9246 GB, free: 76.99 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01232/1.567, allocations: 12.75 MB / 0.9371 GB, free: 67.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001412/1.567, allocations: 44.31 kB / 0.9371 GB, free: 67.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.02725/1.594, allocations: 14.75 MB / 0.9515 GB, free: 61.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/1.594, allocations: 75.84 kB / 0.9516 GB, free: 61.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001616/1.595, allocations: 156 kB / 0.9518 GB, free: 61.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01034/1.605, allocations: 3.563 MB / 0.9552 GB, free: 61.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005626/1.611, allocations: 1.797 MB / 0.957 GB, free: 61.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02235/1.633, allocations: 18.01 MB / 0.9746 GB, free: 51.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007002/1.64, allocations: 483.9 kB / 0.975 GB, free: 51.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001464/1.642, allocations: 471.4 kB / 0.9755 GB, free: 51.07 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 724 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.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],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (972): * Single equations (assignments): 968 * 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 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005676/1.647, allocations: 3.125 MB / 0.9785 GB, free: 48.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/1.648, allocations: 0.5331 MB / 0.9791 GB, free: 47.78 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01657/1.665, allocations: 8.895 MB / 0.9877 GB, free: 40.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-05/1.665, allocations: 37.48 kB / 0.9878 GB, free: 40.78 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.171e-05/1.665, allocations: 16 kB / 0.9878 GB, free: 40.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.673e-05/1.665, allocations: 15.66 kB / 0.9878 GB, free: 40.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03169/1.697, allocations: 18.66 MB / 1.006 GB, free: 25.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.441e-05/1.697, allocations: 16.02 kB / 1.006 GB, free: 25.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002181/1.699, allocations: 487.6 kB / 1.007 GB, free: 25.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009642/1.709, allocations: 3.114 MB / 1.01 GB, free: 23.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000647/1.709, allocations: 67.94 kB / 1.01 GB, free: 23.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01927/1.729, allocations: 15.68 MB / 1.025 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/1.729, allocations: 8 kB / 1.025 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03464/1.763, allocations: 13.27 MB / 1.038 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00508/1.769, allocations: 1.091 MB / 1.039 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002293/1.771, allocations: 60 kB / 1.039 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005615/1.777, allocations: 209.5 kB / 1.039 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001343/1.778, allocations: 226.2 kB / 1.039 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007383/1.779, allocations: 87.98 kB / 1.04 GB, free: 8.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0103/1.789, allocations: 3.542 MB / 1.043 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.02e-07/1.789, allocations: 0 / 1.043 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01367/1.803, allocations: 1.687 MB / 1.045 GB, free: 3.492 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (253): * Single equations (assignments): 249 * 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 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001424/1.804, allocations: 244.4 kB / 1.045 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2505/2.055, allocations: 8.913 MB / 1.054 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/2.055, allocations: 2.5 kB / 1.054 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00621/2.061, allocations: 3.487 MB / 1.057 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008936/2.07, allocations: 0.7264 MB / 1.058 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02624/2.096, allocations: 17.98 MB / 1.075 GB, free: 113 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005313/2.102, allocations: 4.826 MB / 1.08 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006664/2.108, allocations: 2.603 MB / 1.082 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/2.109, allocations: 350.9 kB / 1.083 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of SimCode: time 7.51e-07/2.109, allocations: 0 / 1.083 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.107/2.216, allocations: 69.04 MB / 1.15 GB, free: 98.95 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches