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.0009528/0.0009526, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008985/0.0008986, allocations: 98.72 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2207/0.2207, allocations: 45.15 MB / 383.8 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.423e-05/1.416e-05, allocations: 0 / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1208, allocations: 63.24 MB / 0.5043 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4972/0.618, allocations: 117.6 MB / 0.6192 GB, free: 1.324 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.6184, allocations: 83.33 kB / 0.6193 GB, free: 1.285 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.696/1.314, allocations: 145.8 MB / 0.7617 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.304e-06/1.314, allocations: 0 / 0.7617 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000514/1.315, allocations: 132.7 kB / 0.7618 GB, free: 113.3 MB / 0.5261 GB 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.02836/1.343, allocations: 6.654 MB / 0.7683 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/1.343, allocations: 13.5 kB / 0.7683 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03694/1.38, allocations: 9.336 MB / 0.7774 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02291/1.403, allocations: 7.888 MB / 0.7852 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003608/1.404, allocations: 207.1 kB / 0.7853 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003338/1.407, allocations: 381.7 kB / 0.7857 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01723/1.424, allocations: 9.35 MB / 0.7948 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03537/1.46, allocations: 13.27 MB / 0.8078 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005943/1.46, allocations: 81.03 kB / 0.8079 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003075/1.463, allocations: 41.58 kB / 0.8079 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00214/1.466, allocations: 1.383 MB / 0.8093 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06924/1.535, allocations: 62.26 MB / 0.8701 GB, free: 63.85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004844/1.54, allocations: 4.347 MB / 0.8743 GB, free: 61.62 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003271/1.543, allocations: 3.019 MB / 0.8773 GB, free: 60.31 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002044/1.545, allocations: 2.384 MB / 0.8796 GB, free: 58.32 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.77e-05/1.545, allocations: 59.56 kB / 0.8797 GB, free: 58.26 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=251): time 5.7e-06/1.545, allocations: 0 / 0.8797 GB, free: 58.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=343): time 0.06835/1.614, allocations: 27.41 MB / 0.9064 GB, free: 36.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.614, allocations: 243.9 kB / 0.9067 GB, free: 36.37 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008732/1.622, allocations: 4.356 MB / 0.9109 GB, free: 32.56 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009162/1.623, allocations: 29.7 kB / 0.9109 GB, free: 32.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002928/1.626, allocations: 4.501 MB / 0.9153 GB, free: 28.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001719/1.628, allocations: 1.214 MB / 0.9165 GB, free: 27.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006749/1.629, allocations: 0 / 0.9165 GB, free: 27.34 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003858/1.629, allocations: 0.6674 MB / 0.9172 GB, free: 26.76 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00438/1.634, allocations: 3.437 MB / 0.9205 GB, free: 23.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006726/1.64, allocations: 8.094 MB / 0.9284 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006759/1.647, allocations: 5.204 MB / 0.9335 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001183/1.647, allocations: 52 kB / 0.9336 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1105) (initialization): time 0.02912/1.676, allocations: 13.68 MB / 0.9469 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000124/1.677, allocations: 76 kB / 0.947 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002095/1.677, allocations: 164 kB / 0.9471 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01246/1.689, allocations: 3.51 MB / 0.9506 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007147/1.696, allocations: 1.856 MB / 0.9524 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3177/2.014, allocations: 16.82 MB / 0.9688 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006722/2.021, allocations: 329.8 kB / 0.9691 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002111/2.023, allocations: 487.9 kB / 0.9696 GB, free: 110.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 751 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1004): * Single equations (assignments): 1000 * 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.003459/2.027, allocations: 0.5168 MB / 0.9701 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/2.028, allocations: 0.5028 MB / 0.9706 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02/2.048, allocations: 8.526 MB / 0.9789 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.603e-05/2.048, allocations: 35.12 kB / 0.9789 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.838e-05/2.048, allocations: 14.94 kB / 0.979 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-05/2.048, allocations: 22.81 kB / 0.979 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03401/2.082, allocations: 17.28 MB / 0.9959 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.298e-05/2.082, allocations: 7.594 kB / 0.9959 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002536/2.085, allocations: 495.2 kB / 0.9963 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01054/2.095, allocations: 3.051 MB / 0.9993 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007294/2.096, allocations: 14.22 kB / 0.9993 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02186/2.118, allocations: 14.5 MB / 1.013 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/2.118, allocations: 12.66 kB / 1.014 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02495/2.143, allocations: 13.8 MB / 1.027 GB, free: 98.83 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/2.145, allocations: 0.5162 MB / 1.027 GB, free: 98.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001781/2.147, allocations: 17.03 kB / 1.027 GB, free: 98.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003752/2.151, allocations: 151.6 kB / 1.028 GB, free: 98.44 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009933/2.152, allocations: 224.2 kB / 1.028 GB, free: 98.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000474/2.152, allocations: 91.34 kB / 1.028 GB, free: 98.38 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005576/2.158, allocations: 2.968 MB / 1.031 GB, free: 97.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.994e-06/2.158, allocations: 0 / 1.031 GB, free: 97.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009292/2.167, allocations: 1.468 MB / 1.032 GB, free: 97.3 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 255 * 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.001054/2.168, allocations: 202.9 kB / 1.032 GB, free: 97.21 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01315/2.181, allocations: 8.455 MB / 1.041 GB, free: 94.21 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/2.181, allocations: 3.25 kB / 1.041 GB, free: 94.21 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005083/2.186, allocations: 3.354 MB / 1.044 GB, free: 92.75 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004432/2.191, allocations: 0.5744 MB / 1.045 GB, free: 92.54 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02628/2.217, allocations: 12.75 MB / 1.057 GB, free: 87.82 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007385/2.225, allocations: 4.955 MB / 1.062 GB, free: 86.15 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007209/2.232, allocations: 2.671 MB / 1.064 GB, free: 85.88 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/2.233, allocations: 345.2 kB / 1.065 GB, free: 85.56 MB / 0.5417 GB Notification: Performance of SimCode: time 8.12e-07/2.233, allocations: 0 / 1.065 GB, free: 85.56 MB / 0.5417 GB Notification: Performance of Templates: time 0.1051/2.338, allocations: 63.13 MB / 1.126 GB, free: 33.15 MB / 0.5417 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