Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001285/0.001285, allocations: 108 kB / 15.6 MB, free: 132 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.001288/0.001288, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.63/1.63, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4662/0.4662, allocations: 39.94 MB / 309.7 MB, free: 9.281 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.2. 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.001558/0.001558, allocations: 74.39 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1602, allocations: 56.88 MB / 434.5 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01718/0.1775, allocations: 15.1 MB / 449.6 MB, free: 4.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3068/0.4843, allocations: 4.828 MB / 454.4 MB, free: 36.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005795/0.4902, allocations: 91.38 kB / 454.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008365/0.4986, allocations: 3.156 MB / 457.7 MB, free: 36.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00844/0.5071, allocations: 2.559 MB / 460.2 MB, free: 35.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002757/0.5099, allocations: 0.9954 MB / 461.2 MB, free: 35.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01017/0.52, allocations: 6.642 MB / 467.9 MB, free: 35.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006337/0.5264, allocations: 4.385 MB / 472.2 MB, free: 33.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005449/0.5319, allocations: 2.24 MB / 474.5 MB, free: 33.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005847/0.5378, allocations: 3.257 MB / 477.7 MB, free: 32.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001561/0.5393, allocations: 488.4 kB / 478.2 MB, free: 32.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003747/0.5431, allocations: 1.484 MB / 479.7 MB, free: 31.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0036/0.5467, allocations: 2.87 MB / 482.6 MB, free: 30.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007892/0.5546, allocations: 3.261 MB / 485.8 MB, free: 28.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02769/0.5823, allocations: 10.08 MB / 495.9 MB, free: 25.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.281e-05/0.5824, allocations: 4 kB / 495.9 MB, free: 25.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5824, allocations: 0 / 495.9 MB, free: 25.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008107/0.5833, allocations: 2.344 kB / 495.9 MB, free: 25.15 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.04183/0.6251, allocations: 7.334 MB / 0.4915 GB, free: 20.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.407e-05/0.6252, allocations: 13.55 kB / 0.4915 GB, free: 20.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02057/0.6458, allocations: 3.925 MB / 0.4953 GB, free: 18.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01486/0.6607, allocations: 4.222 MB / 0.4994 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005721/0.6613, allocations: 318.1 kB / 0.4997 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003606/0.6649, allocations: 437.8 kB / 0.5002 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04227/0.7072, allocations: 15.73 MB / 0.5155 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005727/0.7079, allocations: 55.53 kB / 0.5156 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003668/0.7116, allocations: 211.8 kB / 0.5158 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00638/0.718, allocations: 3.213 MB / 0.5189 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04008/0.7581, allocations: 14.18 MB / 0.5328 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.112/0.8702, allocations: 57.77 MB / 0.5892 GB, free: 5.008 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01565/0.8859, allocations: 6.601 MB / 0.5956 GB, free: 14.16 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00606/0.892, allocations: 3.757 MB / 0.5993 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02801/0.92, allocations: 14.78 MB / 0.6137 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.284e-05/0.9201, allocations: 60.5 kB / 0.6138 GB, free: 11.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=292): time 8.877e-06/0.9202, allocations: 8 kB / 0.6138 GB, free: 11.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=342): time 0.4387/1.359, allocations: 42.53 MB / 0.6553 GB, free: 140.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/1.359, allocations: 219 kB / 0.6555 GB, free: 140 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0144/1.374, allocations: 5.492 MB / 0.6609 GB, free: 138.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001459/1.375, allocations: 69.58 kB / 0.661 GB, free: 138 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003349/1.378, allocations: 4.349 MB / 0.6652 GB, free: 134.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002411/1.381, allocations: 1.266 MB / 0.6664 GB, free: 133.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003688/1.385, allocations: 1.859 MB / 0.6683 GB, free: 132.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.133e-05/1.385, allocations: 301.1 kB / 0.6685 GB, free: 132.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008721/1.393, allocations: 4.838 MB / 0.6733 GB, free: 130.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01109/1.404, allocations: 9.831 MB / 0.6829 GB, free: 122 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02003/1.425, allocations: 15.63 MB / 0.6981 GB, free: 106.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002633/1.425, allocations: 54.91 kB / 0.6982 GB, free: 106.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.05139/1.476, allocations: 19.62 MB / 0.7173 GB, free: 86.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002488/1.477, allocations: 80 kB / 0.7174 GB, free: 86.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003814/1.477, allocations: 172 kB / 0.7176 GB, free: 86.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02246/1.499, allocations: 5.939 MB / 0.7234 GB, free: 80.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00885/1.508, allocations: 2.129 MB / 0.7255 GB, free: 78.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03231/1.541, allocations: 26.17 MB / 0.751 GB, free: 52.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01392/1.555, allocations: 0.5575 MB / 0.7516 GB, free: 51.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004104/1.559, allocations: 0.5078 MB / 0.7521 GB, free: 51.12 MB / 494.1 MB 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 (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 {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01482/1.574, allocations: 3.106 MB / 0.7551 GB, free: 48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002916/1.577, allocations: 497.5 kB / 0.7556 GB, free: 47.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03693/1.614, allocations: 13.01 MB / 0.7683 GB, free: 34.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001421/1.614, allocations: 59.03 kB / 0.7683 GB, free: 34.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.639e-05/1.614, allocations: 8 kB / 0.7683 GB, free: 34.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000113/1.614, allocations: 15.95 kB / 0.7684 GB, free: 34.35 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0682/1.682, allocations: 24.69 MB / 0.7925 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.8e-05/1.682, allocations: 8 kB / 0.7925 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003749/1.686, allocations: 0.5811 MB / 0.793 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01951/1.706, allocations: 4.969 MB / 0.7979 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001339/1.707, allocations: 59.91 kB / 0.7979 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3493/2.056, allocations: 21.34 MB / 0.8188 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/2.056, allocations: 9.406 kB / 0.8188 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05019/2.106, allocations: 17.58 MB / 0.836 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004293/2.111, allocations: 1.252 MB / 0.8372 GB, free: 138.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002126/2.113, allocations: 62.19 kB / 0.8372 GB, free: 138.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004297/2.117, allocations: 263.6 kB / 0.8375 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000865/2.118, allocations: 192 kB / 0.8377 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002891/2.118, allocations: 87.02 kB / 0.8378 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006668/2.125, allocations: 3.419 MB / 0.8411 GB, free: 137.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/2.125, allocations: 2.156 kB / 0.8411 GB, free: 137.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01277/2.138, allocations: 1.77 MB / 0.8428 GB, free: 136.9 MB / 0.4981 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 (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 {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001354/2.139, allocations: 205.2 kB / 0.843 GB, free: 136.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02699/2.166, allocations: 15.92 MB / 0.8586 GB, free: 132.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/2.166, allocations: 3.844 kB / 0.8586 GB, free: 132.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00609/2.172, allocations: 4.131 MB / 0.8626 GB, free: 130.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005427/2.178, allocations: 0.6176 MB / 0.8632 GB, free: 129.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0313/2.209, allocations: 16.28 MB / 0.8791 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005429/2.215, allocations: 4.631 MB / 0.8836 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.008427/2.223, allocations: 2.988 MB / 0.8866 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001769/2.225, allocations: 350.6 kB / 0.8869 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.933e-06/2.225, allocations: 0 / 0.8869 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.1276/2.353, allocations: 81.45 MB / 0.9664 GB, free: 28.25 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1)