Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 196 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3414/0.3414, allocations: 38 MB / 307.8 MB, free: 9.91 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 72.75 kB / 375.2 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1368, allocations: 56.47 MB / 431.7 MB, free: 6.641 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01458/0.1514, allocations: 12.1 MB / 443.8 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.1642, allocations: 4.307 MB / 448.1 MB, free: 6.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/0.1669, allocations: 75.75 kB / 448.2 MB, free: 6.086 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005232/0.1723, allocations: 2.741 MB / 450.9 MB, free: 3.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005904/0.1782, allocations: 2.015 MB / 452.9 MB, free: 1.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.1802, allocations: 0.9124 MB / 453.9 MB, free: 408 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2821/0.4623, allocations: 5.243 MB / 459.1 MB, free: 36.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005936/0.4683, allocations: 3.367 MB / 462.5 MB, free: 35.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004358/0.4727, allocations: 1.739 MB / 464.2 MB, free: 35.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004515/0.4773, allocations: 2.523 MB / 466.7 MB, free: 35.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002909/0.4803, allocations: 385.9 kB / 467.1 MB, free: 35.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004782/0.4851, allocations: 1.394 MB / 468.5 MB, free: 35.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002142/0.4872, allocations: 2.194 MB / 470.7 MB, free: 34.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002376/0.4896, allocations: 2.449 MB / 473.1 MB, free: 33.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007184/0.4968, allocations: 7.666 MB / 480.8 MB, free: 30.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.4968, allocations: 0 / 480.8 MB, free: 30.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.4969, allocations: 0 / 480.8 MB, free: 30.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000241/0.4971, allocations: 4 kB / 480.8 MB, free: 30.55 MB / 382.1 MB 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.01442/0.5115, allocations: 5.53 MB / 486.3 MB, free: 27.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.5116, allocations: 16.7 kB / 486.4 MB, free: 27.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01278/0.5244, allocations: 2.474 MB / 488.8 MB, free: 27.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01052/0.535, allocations: 3.46 MB / 492.3 MB, free: 25.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003051/0.5353, allocations: 243.6 kB / 492.5 MB, free: 25.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001932/0.5373, allocations: 334.4 kB / 492.9 MB, free: 25.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02573/0.563, allocations: 10.88 MB / 0.4919 GB, free: 20.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002325/0.5633, allocations: 53.91 kB / 0.492 GB, free: 20.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007445/0.564, allocations: 153.5 kB / 0.4921 GB, free: 20.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004122/0.5682, allocations: 2.004 MB / 0.4941 GB, free: 20.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02131/0.5895, allocations: 9.439 MB / 0.5033 GB, free: 16.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05867/0.6482, allocations: 41.25 MB / 0.5436 GB, free: 6.129 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01129/0.6596, allocations: 4.273 MB / 0.5478 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002945/0.6625, allocations: 1.911 MB / 0.5496 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01263/0.6752, allocations: 7.616 MB / 0.5571 GB, free: 7.848 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.712e-05/0.6753, allocations: 55.5 kB / 0.5571 GB, free: 7.781 MB / 430.1 MB Notification: Performance of pre-optimization done (n=180): time 4.819e-06/0.6753, allocations: 4 kB / 0.5571 GB, free: 7.777 MB / 430.1 MB Notification: Performance of matching and sorting (n=236): time 0.1681/0.8435, allocations: 40.96 MB / 0.5971 GB, free: 14.82 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.8436, allocations: 206.8 kB / 0.5973 GB, free: 14.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007016/0.8507, allocations: 4.333 MB / 0.6016 GB, free: 10.21 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008169/0.8515, allocations: 61.7 kB / 0.6016 GB, free: 10.14 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002723/0.8542, allocations: 3.174 MB / 0.6047 GB, free: 6.977 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001439/0.8557, allocations: 0.8783 MB / 0.6056 GB, free: 6.105 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002102/0.8578, allocations: 1.356 MB / 0.6069 GB, free: 4.738 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.8579, allocations: 305.1 kB / 0.6072 GB, free: 4.438 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004917/0.8629, allocations: 3.624 MB / 0.6107 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00724/0.8701, allocations: 7.299 MB / 0.6179 GB, free: 7.715 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2824/1.153, allocations: 11.63 MB / 0.6292 GB, free: 141.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001723/1.153, allocations: 36.25 kB / 0.6292 GB, free: 141.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=856) (initialization): time 0.04073/1.194, allocations: 16.21 MB / 0.6451 GB, free: 137.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/1.194, allocations: 57.97 kB / 0.6451 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001795/1.194, allocations: 128.4 kB / 0.6452 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0266/1.22, allocations: 6.224 MB / 0.6513 GB, free: 136.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005721/1.226, allocations: 1.494 MB / 0.6528 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03608/1.262, allocations: 27.64 MB / 0.6798 GB, free: 122.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007849/1.27, allocations: 407 kB / 0.6802 GB, free: 122 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001505/1.272, allocations: 385.2 kB / 0.6805 GB, free: 122 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * 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 (779): * Single equations (assignments): 774 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004691/1.276, allocations: 2.229 MB / 0.6827 GB, free: 120.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/1.277, allocations: 395.9 kB / 0.6831 GB, free: 120.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02798/1.305, allocations: 11.3 MB / 0.6941 GB, free: 112.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.675e-05/1.306, allocations: 28 kB / 0.6941 GB, free: 112.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.148e-05/1.306, allocations: 8 kB / 0.6942 GB, free: 112.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.071e-05/1.306, allocations: 15.95 kB / 0.6942 GB, free: 112.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04046/1.346, allocations: 20.7 MB / 0.7144 GB, free: 91.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.424e-05/1.346, allocations: 4 kB / 0.7144 GB, free: 91.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002106/1.348, allocations: 388 kB / 0.7148 GB, free: 91.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01983/1.368, allocations: 5.308 MB / 0.7199 GB, free: 85.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006907/1.369, allocations: 47.83 kB / 0.72 GB, free: 85.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02581/1.395, allocations: 22.72 MB / 0.7422 GB, free: 63.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.969e-06/1.395, allocations: 11.94 kB / 0.7422 GB, free: 63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03075/1.426, allocations: 14.6 MB / 0.7564 GB, free: 48.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00289/1.428, allocations: 0.9839 MB / 0.7574 GB, free: 47.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009634/1.429, allocations: 43.73 kB / 0.7574 GB, free: 47.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002443/1.432, allocations: 179.7 kB / 0.7576 GB, free: 47.08 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007112/1.433, allocations: 157 kB / 0.7578 GB, free: 46.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001942/1.433, allocations: 63.83 kB / 0.7578 GB, free: 46.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003994/1.437, allocations: 2.728 MB / 0.7605 GB, free: 44.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.112e-06/1.437, allocations: 0 / 0.7605 GB, free: 44.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006662/1.444, allocations: 1.381 MB / 0.7618 GB, free: 42.76 MB / 494.1 MB 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,45,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000571/1.444, allocations: 185.1 kB / 0.762 GB, free: 42.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01391/1.458, allocations: 9.725 MB / 0.7715 GB, free: 32.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/1.458, allocations: 0 / 0.7715 GB, free: 32.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00434/1.462, allocations: 3.21 MB / 0.7746 GB, free: 29.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004135/1.467, allocations: 0.5107 MB / 0.7751 GB, free: 29.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01972/1.486, allocations: 11.97 MB / 0.7868 GB, free: 17.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003563/1.49, allocations: 3.512 MB / 0.7903 GB, free: 13.58 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004699/1.495, allocations: 1.964 MB / 0.7922 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009253/1.496, allocations: 267.4 kB / 0.7924 GB, free: 11.35 MB / 494.1 MB Notification: Performance of SimCode: time 1.613e-06/1.496, allocations: 0 / 0.7924 GB, free: 11.35 MB / 494.1 MB Notification: Performance of Templates: time 0.384/1.88, allocations: 70.21 MB / 0.861 GB, free: 137.8 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1)