Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008868/0.0008868, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008247/0.0008247, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.3/0.3, allocations: 38.04 MB / 308.4 MB, free: 10.39 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.0005406/0.0005407, allocations: 12 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1145, allocations: 57.52 MB / 434 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.256/0.3706, allocations: 48.45 MB / 482.4 MB, free: 26.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02149/0.3921, allocations: 10.65 MB / 493.1 MB, free: 19.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00938/0.4015, allocations: 227.9 kB / 493.3 MB, free: 19.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007698/0.4093, allocations: 2.505 MB / 495.8 MB, free: 18.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01804/0.4273, allocations: 7.598 MB / 0.4916 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004167/0.4315, allocations: 0.8586 MB / 0.4924 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04484/0.4764, allocations: 36.62 MB / 0.5282 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00856/0.485, allocations: 5.13 MB / 0.5332 GB, free: 6.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004497/0.4895, allocations: 1.895 MB / 0.5351 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00552/0.4951, allocations: 3.135 MB / 0.5381 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002299/0.4974, allocations: 236 kB / 0.5383 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003845/0.5013, allocations: 1.12 MB / 0.5394 GB, free: 376 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004286/0.5056, allocations: 2.579 MB / 0.542 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002115/0.5078, allocations: 1.193 MB / 0.5431 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00995/0.5177, allocations: 7.969 MB / 0.5509 GB, free: 4.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5178, allocations: 3.938 kB / 0.5509 GB, free: 4.586 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5178, allocations: 0 / 0.5509 GB, free: 4.586 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000336/0.5181, allocations: 0 / 0.5509 GB, free: 4.586 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.0139/0.532, allocations: 6.177 MB / 0.5569 GB, free: 14.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.5321, allocations: 12.03 kB / 0.5569 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01465/0.5468, allocations: 4.02 MB / 0.5609 GB, free: 10.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008978/0.5558, allocations: 4.152 MB / 0.5649 GB, free: 6.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003799/0.5562, allocations: 320 kB / 0.5652 GB, free: 5.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001965/0.5582, allocations: 443.5 kB / 0.5657 GB, free: 5.316 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02768/0.5859, allocations: 15.73 MB / 0.581 GB, free: 4.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001623/0.5861, allocations: 63.38 kB / 0.5811 GB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005627/0.5867, allocations: 203.8 kB / 0.5813 GB, free: 4.398 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004855/0.5915, allocations: 3.216 MB / 0.5844 GB, free: 1.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02682/0.6184, allocations: 14.13 MB / 0.5982 GB, free: 3.027 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2978/0.9163, allocations: 57.76 MB / 0.6546 GB, free: 106.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01203/0.9283, allocations: 6.591 MB / 0.661 GB, free: 105.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00444/0.9328, allocations: 3.743 MB / 0.6647 GB, free: 104.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01941/0.9523, allocations: 14.79 MB / 0.6791 GB, free: 97.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.502e-05/0.9524, allocations: 69.06 kB / 0.6792 GB, free: 97.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=292): time 6.292e-06/0.9524, allocations: 0 / 0.6792 GB, free: 97.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=342): time 0.129/1.081, allocations: 42.78 MB / 0.721 GB, free: 83 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/1.082, allocations: 213.5 kB / 0.7212 GB, free: 82.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007548/1.089, allocations: 5.463 MB / 0.7265 GB, free: 77.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009113/1.09, allocations: 69.7 kB / 0.7266 GB, free: 77.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00265/1.093, allocations: 4.348 MB / 0.7308 GB, free: 72.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001781/1.094, allocations: 1.263 MB / 0.7321 GB, free: 71.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005265/1.095, allocations: 182.7 kB / 0.7322 GB, free: 71.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004223/1.095, allocations: 0.6944 MB / 0.7329 GB, free: 70.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005985/1.101, allocations: 4.804 MB / 0.7376 GB, free: 65.94 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007892/1.109, allocations: 9.789 MB / 0.7472 GB, free: 53.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008721/1.118, allocations: 6.687 MB / 0.7537 GB, free: 47.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001135/1.118, allocations: 48 kB / 0.7537 GB, free: 47.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.03969/1.158, allocations: 19.57 MB / 0.7729 GB, free: 27.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/1.158, allocations: 87.06 kB / 0.7729 GB, free: 27.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001628/1.158, allocations: 176 kB / 0.7731 GB, free: 27.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01876/1.177, allocations: 5.988 MB / 0.779 GB, free: 21.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007319/1.184, allocations: 2.125 MB / 0.781 GB, free: 19.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02823/1.213, allocations: 24.78 MB / 0.8052 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007516/1.22, allocations: 0.5772 MB / 0.8058 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001567/1.222, allocations: 0.51 MB / 0.8063 GB, free: 8.965 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.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 (1099): * Single equations (assignments): 1091 * Array equations: 6 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005958/1.228, allocations: 3.097 MB / 0.8093 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/1.229, allocations: 0.4898 MB / 0.8098 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02934/1.258, allocations: 13.01 MB / 0.8225 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001037/1.258, allocations: 58.88 kB / 0.8226 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.048e-05/1.258, allocations: 12 kB / 0.8226 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.874e-05/1.258, allocations: 19.94 kB / 0.8226 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.278/1.536, allocations: 24.74 MB / 0.8467 GB, free: 155 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.418e-05/1.537, allocations: 9.375 kB / 0.8468 GB, free: 155 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002749/1.539, allocations: 0.5824 MB / 0.8473 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01592/1.555, allocations: 4.997 MB / 0.8522 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007091/1.556, allocations: 57.5 kB / 0.8523 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02607/1.582, allocations: 19.98 MB / 0.8718 GB, free: 144.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/1.582, allocations: 7.094 kB / 0.8718 GB, free: 144.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03364/1.616, allocations: 17.57 MB / 0.8889 GB, free: 138.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002687/1.619, allocations: 1.263 MB / 0.8902 GB, free: 138.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008949/1.619, allocations: 53.66 kB / 0.8902 GB, free: 138.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002648/1.622, allocations: 268.8 kB / 0.8905 GB, free: 138.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000637/1.623, allocations: 191.2 kB / 0.8907 GB, free: 138.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00026/1.623, allocations: 91.59 kB / 0.8907 GB, free: 138 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004509/1.628, allocations: 3.383 MB / 0.8941 GB, free: 136.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/1.628, allocations: 0 / 0.8941 GB, free: 136.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008231/1.636, allocations: 1.767 MB / 0.8958 GB, free: 136.7 MB / 0.5137 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 (257): * Single equations (assignments): 249 * Array equations: 6 * 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 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009813/1.637, allocations: 203.1 kB / 0.896 GB, free: 136.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01549/1.652, allocations: 10.95 MB / 0.9067 GB, free: 130.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/1.652, allocations: 0 / 0.9067 GB, free: 130.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00535/1.658, allocations: 4.129 MB / 0.9107 GB, free: 126.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003905/1.662, allocations: 0.5984 MB / 0.9113 GB, free: 125.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02303/1.685, allocations: 18.69 MB / 0.9295 GB, free: 107.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004435/1.689, allocations: 4.636 MB / 0.9341 GB, free: 102.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006338/1.696, allocations: 2.978 MB / 0.937 GB, free: 99.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/1.697, allocations: 355.4 kB / 0.9373 GB, free: 99.19 MB / 0.5137 GB Notification: Performance of SimCode: time 9.01e-07/1.697, allocations: 0 / 0.9373 GB, free: 99.19 MB / 0.5137 GB Notification: Performance of Templates: time 0.1034/1.8, allocations: 75.55 MB / 1.011 GB, free: 23.54 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) Environment - environmentSimulation: