Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001823/0.001823, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009411/0.0009411, allocations: 96.38 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3085/0.3085, allocations: 45.22 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002556/0.0002556, allocations: 4 kB / 468.4 MB, free: 7.738 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3087, allocations: 63.24 MB / 0.5192 GB, free: 43.72 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.4397, allocations: 109.4 MB / 0.626 GB, free: 12.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.44, allocations: 76.72 kB / 0.6261 GB, free: 12.12 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4491/0.8891, allocations: 98.69 MB / 0.7225 GB, free: 97.27 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8892, allocations: 0 / 0.7225 GB, free: 97.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003055/0.8895, allocations: 86.84 kB / 0.7226 GB, free: 97.27 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01611/0.9056, allocations: 5.03 MB / 0.7275 GB, free: 95.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.9057, allocations: 8.25 kB / 0.7275 GB, free: 95.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02541/0.9311, allocations: 6.728 MB / 0.734 GB, free: 94.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01557/0.9467, allocations: 5.387 MB / 0.7393 GB, free: 94.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004562/0.9472, allocations: 330.9 kB / 0.7396 GB, free: 94.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002322/0.9495, allocations: 436.5 kB / 0.74 GB, free: 94.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02419/0.9737, allocations: 11.06 MB / 0.7508 GB, free: 91.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003187/0.9741, allocations: 70.94 kB / 0.7509 GB, free: 91.15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00161/0.9757, allocations: 207.4 kB / 0.7511 GB, free: 91.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001357/0.9771, allocations: 1.023 MB / 0.7521 GB, free: 90.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01662/0.9937, allocations: 9.299 MB / 0.7612 GB, free: 87.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04463/1.038, allocations: 47.62 MB / 0.8077 GB, free: 52.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009127/1.048, allocations: 4.138 MB / 0.8117 GB, free: 50.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01016/1.058, allocations: 7.497 MB / 0.819 GB, free: 46.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/1.058, allocations: 54.16 kB / 0.8191 GB, free: 45.97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=180): time 3.737e-06/1.058, allocations: 0 / 0.8191 GB, free: 45.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=236): time 0.1429/1.201, allocations: 40.92 MB / 0.8591 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/1.201, allocations: 209.9 kB / 0.8593 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006108/1.207, allocations: 3.789 MB / 0.863 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004294/1.207, allocations: 61.7 kB / 0.863 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001705/1.209, allocations: 3.228 MB / 0.8662 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008742/1.21, allocations: 0.8795 MB / 0.867 GB, free: 360 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005453/1.211, allocations: 124 kB / 0.8671 GB, free: 236 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003641/1.211, allocations: 0.5706 MB / 0.8677 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004463/1.215, allocations: 3.428 MB / 0.871 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006987/1.222, allocations: 7.049 MB / 0.8779 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006046/1.228, allocations: 4.778 MB / 0.8826 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.675e-05/1.229, allocations: 39.94 kB / 0.8826 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=823) (initialization): time 0.2717/1.5, allocations: 15.45 MB / 0.8977 GB, free: 113 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002205/1.501, allocations: 59.47 kB / 0.8978 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003179/1.501, allocations: 127.4 kB / 0.8979 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02212/1.523, allocations: 5.936 MB / 0.9037 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005018/1.528, allocations: 1.435 MB / 0.9051 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03353/1.562, allocations: 25.7 MB / 0.9302 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005708/1.567, allocations: 392.2 kB / 0.9306 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001442/1.569, allocations: 381.5 kB / 0.9309 GB, free: 108.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (746): * Single equations (assignments): 741 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004904/1.574, allocations: 2.21 MB / 0.9331 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/1.575, allocations: 406.2 kB / 0.9335 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02724/1.602, allocations: 10.82 MB / 0.944 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.249e-05/1.602, allocations: 29.92 kB / 0.9441 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.702e-05/1.602, allocations: 12.88 kB / 0.9441 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-05/1.602, allocations: 15.05 kB / 0.9441 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03892/1.641, allocations: 20.2 MB / 0.9638 GB, free: 96.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.049e-05/1.641, allocations: 5.406 kB / 0.9638 GB, free: 96.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/1.643, allocations: 385 kB / 0.9642 GB, free: 96.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01776/1.661, allocations: 4.995 MB / 0.9691 GB, free: 95.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005486/1.662, allocations: 49.58 kB / 0.9691 GB, free: 95.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02308/1.685, allocations: 20.88 MB / 0.9895 GB, free: 85.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/1.685, allocations: 10.78 kB / 0.9895 GB, free: 85.47 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02723/1.712, allocations: 14.59 MB / 1.004 GB, free: 79.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001506/1.714, allocations: 449.9 kB / 1.004 GB, free: 79.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001514/1.715, allocations: 48.27 kB / 1.004 GB, free: 79.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003103/1.718, allocations: 165.5 kB / 1.004 GB, free: 79.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007849/1.719, allocations: 157.4 kB / 1.005 GB, free: 79.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003449/1.719, allocations: 69.98 kB / 1.005 GB, free: 79.28 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004729/1.724, allocations: 2.672 MB / 1.007 GB, free: 76.72 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.71e-07/1.724, allocations: 0 / 1.007 GB, free: 76.72 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006865/1.731, allocations: 1.329 MB / 1.009 GB, free: 75.41 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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): 162 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 45} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007581/1.732, allocations: 199 kB / 1.009 GB, free: 75.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01019/1.742, allocations: 7.962 MB / 1.016 GB, free: 67.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.742, allocations: 1.969 kB / 1.016 GB, free: 67.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003515/1.746, allocations: 3.115 MB / 1.02 GB, free: 64.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/1.748, allocations: 491.7 kB / 1.02 GB, free: 64.15 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/1.765, allocations: 13.39 MB / 1.033 GB, free: 50.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003771/1.768, allocations: 3.598 MB / 1.037 GB, free: 47.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004614/1.773, allocations: 1.976 MB / 1.039 GB, free: 45.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/1.774, allocations: 267.4 kB / 1.039 GB, free: 45.08 MB / 0.5261 GB Notification: Performance of SimCode: time 7.22e-07/1.774, allocations: 0 / 1.039 GB, free: 45.08 MB / 0.5261 GB Notification: Performance of Templates: time 0.3162/2.09, allocations: 63.69 MB / 1.101 GB, free: 125.3 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches