Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00107/0.001071, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.19/1.19, allocations: 227.2 MB / 245 MB, free: 5.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008225/0.0008224, allocations: 97.3 kB / 297.3 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2954/0.2954, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002347/0.0002348, allocations: 8.219 kB / 468.4 MB, free: 7.734 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2696, allocations: 63.24 MB / 0.5192 GB, free: 37.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.3992, allocations: 118.3 MB / 0.6347 GB, free: 1.07 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.3995, allocations: 79.97 kB / 0.6348 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5515/0.951, allocations: 148.6 MB / 0.7799 GB, free: 63.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.9511, allocations: 0 / 0.7799 GB, free: 63.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000421/0.9515, allocations: 128 kB / 0.78 GB, free: 63.02 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.02052/0.972, allocations: 7.287 MB / 0.7872 GB, free: 55.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.9721, allocations: 8.031 kB / 0.7872 GB, free: 55.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0319/1.004, allocations: 9.32 MB / 0.7963 GB, free: 46.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01939/1.023, allocations: 7.936 MB / 0.804 GB, free: 38.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004016/1.024, allocations: 480.7 kB / 0.8045 GB, free: 37.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002763/1.027, allocations: 0.6325 MB / 0.8051 GB, free: 37.17 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03115/1.058, allocations: 15.66 MB / 0.8204 GB, free: 20.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003198/1.058, allocations: 75.31 kB / 0.8205 GB, free: 20.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001508/1.06, allocations: 303.8 kB / 0.8207 GB, free: 19.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001558/1.061, allocations: 1.381 MB / 0.8221 GB, free: 18.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02441/1.086, allocations: 12.91 MB / 0.8347 GB, free: 5.617 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.315/1.401, allocations: 64.38 MB / 0.8976 GB, free: 72.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01496/1.416, allocations: 6.27 MB / 0.9037 GB, free: 72.28 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01457/1.43, allocations: 11.14 MB / 0.9146 GB, free: 69.51 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/1.43, allocations: 65.59 kB / 0.9146 GB, free: 69.47 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=245): time 4.117e-06/1.43, allocations: 0 / 0.9146 GB, free: 69.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=337): time 0.1105/1.541, allocations: 37.19 MB / 0.951 GB, free: 64.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/1.541, allocations: 247.8 kB / 0.9512 GB, free: 64.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00639/1.547, allocations: 4.961 MB / 0.956 GB, free: 64.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008028/1.548, allocations: 78.08 kB / 0.9561 GB, free: 64.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002497/1.551, allocations: 4.459 MB / 0.9605 GB, free: 61.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001328/1.552, allocations: 1.241 MB / 0.9617 GB, free: 61.08 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004216/1.553, allocations: 159.6 kB / 0.9618 GB, free: 60.96 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003321/1.553, allocations: 0.65 MB / 0.9625 GB, free: 60.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004321/1.557, allocations: 3.61 MB / 0.966 GB, free: 59.17 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006823/1.564, allocations: 8.139 MB / 0.9739 GB, free: 51.78 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007012/1.571, allocations: 5.31 MB / 0.9791 GB, free: 49.76 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001255/1.571, allocations: 44.69 kB / 0.9792 GB, free: 49.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.02925/1.601, allocations: 14.75 MB / 0.9936 GB, free: 43.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.575e-05/1.601, allocations: 72 kB / 0.9936 GB, free: 43.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001665/1.601, allocations: 160 kB / 0.9938 GB, free: 43.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01059/1.611, allocations: 3.579 MB / 0.9973 GB, free: 41.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005478/1.617, allocations: 1.802 MB / 0.999 GB, free: 39.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02237/1.639, allocations: 18.64 MB / 1.017 GB, free: 23.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007495/1.647, allocations: 484.9 kB / 1.018 GB, free: 23.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001624/1.649, allocations: 482.8 kB / 1.018 GB, free: 22.89 MB / 0.5261 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.006556/1.655, allocations: 3.115 MB / 1.021 GB, free: 20.15 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001145/1.656, allocations: 0.5245 MB / 1.022 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01706/1.673, allocations: 8.886 MB / 1.03 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.463e-05/1.673, allocations: 36 kB / 1.03 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.097e-05/1.673, allocations: 12 kB / 1.03 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.784e-05/1.673, allocations: 22.53 kB / 1.03 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03473/1.708, allocations: 18.66 MB / 1.049 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.361e-05/1.708, allocations: 8 kB / 1.049 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002396/1.711, allocations: 491.6 kB / 1.049 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01106/1.722, allocations: 3.118 MB / 1.052 GB, free: 8.051 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006171/1.722, allocations: 63.98 kB / 1.052 GB, free: 7.988 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0229/1.745, allocations: 16.31 MB / 1.068 GB, free: 7.543 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-05/1.745, allocations: 19.88 kB / 1.068 GB, free: 7.523 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0235/1.769, allocations: 14.15 MB / 1.082 GB, free: 9.012 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001668/1.771, allocations: 0.5604 MB / 1.083 GB, free: 8.426 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008141/1.771, allocations: 63.75 kB / 1.083 GB, free: 8.367 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002379/1.774, allocations: 207.8 kB / 1.083 GB, free: 8.164 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005607/1.774, allocations: 214.2 kB / 1.083 GB, free: 7.953 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002417/1.775, allocations: 88 kB / 1.083 GB, free: 7.867 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005096/1.78, allocations: 3.518 MB / 1.087 GB, free: 4.379 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.78, allocations: 0 / 1.087 GB, free: 4.379 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006623/1.786, allocations: 1.682 MB / 1.088 GB, free: 2.711 MB / 0.573 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.0006481/1.787, allocations: 253.6 kB / 1.088 GB, free: 2.469 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01309/1.8, allocations: 8.907 MB / 1.097 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/1.8, allocations: 1.812 kB / 1.097 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.005092/1.805, allocations: 3.494 MB / 1.101 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003724/1.809, allocations: 0.7016 MB / 1.101 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2621/2.071, allocations: 17.88 MB / 1.119 GB, free: 161.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005151/2.076, allocations: 4.944 MB / 1.124 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.006096/2.082, allocations: 2.604 MB / 1.126 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009915/2.083, allocations: 346.1 kB / 1.126 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of SimCode: time 1.152e-06/2.083, allocations: 0 / 1.126 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.1005/2.184, allocations: 68.68 MB / 1.193 GB, free: 148.2 MB / 0.5886 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches