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.001081/0.001081, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001112/0.001112, allocations: 194.2 kB / 16.14 MB, free: 6.703 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.667/1.667, allocations: 205.1 MB / 222 MB, free: 4.754 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.3858/0.3858, allocations: 39.93 MB / 309.3 MB, free: 9.395 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.001393/0.001393, allocations: 63.92 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1586, allocations: 56.88 MB / 433.8 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.336/0.4946, allocations: 53.49 MB / 487.3 MB, free: 21.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03083/0.5255, allocations: 11.23 MB / 498.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01805/0.5436, allocations: 232.8 kB / 498.7 MB, free: 13.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007685/0.5514, allocations: 3.131 MB / 0.4901 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008154/0.5596, allocations: 2.406 MB / 0.4925 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002954/0.5626, allocations: 0.9179 MB / 0.4934 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01809/0.5807, allocations: 9.434 MB / 0.5026 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01005/0.5908, allocations: 4.3 MB / 0.5068 GB, free: 6.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007561/0.5984, allocations: 1.976 MB / 0.5087 GB, free: 6.168 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009871/0.6083, allocations: 3.444 MB / 0.5121 GB, free: 4.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004004/0.6124, allocations: 341.6 kB / 0.5124 GB, free: 4.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007717/0.6201, allocations: 1.426 MB / 0.5138 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007403/0.6276, allocations: 2.763 MB / 0.5165 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01166/0.6393, allocations: 3.125 MB / 0.5195 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01965/0.659, allocations: 9.954 MB / 0.5293 GB, free: 7.262 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.2e-05/0.6591, allocations: 0 / 0.5293 GB, free: 7.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.6591, allocations: 4 kB / 0.5293 GB, free: 7.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000679/0.6598, allocations: 0 / 0.5293 GB, free: 7.258 MB / 398.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.02726/0.6871, allocations: 7.343 MB / 0.5364 GB, free: 15.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.567e-05/0.6872, allocations: 8.031 kB / 0.5364 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01748/0.7047, allocations: 3.923 MB / 0.5403 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01162/0.7163, allocations: 4.216 MB / 0.5444 GB, free: 7.609 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000348/0.7167, allocations: 320.6 kB / 0.5447 GB, free: 7.293 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002671/0.7194, allocations: 439.5 kB / 0.5451 GB, free: 6.863 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03196/0.7514, allocations: 15.73 MB / 0.5605 GB, free: 6.207 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002426/0.7517, allocations: 63.52 kB / 0.5605 GB, free: 6.145 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001061/0.7528, allocations: 203.8 kB / 0.5607 GB, free: 5.945 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005019/0.7578, allocations: 3.212 MB / 0.5639 GB, free: 2.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03161/0.7894, allocations: 14.17 MB / 0.5777 GB, free: 4.539 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4413/1.231, allocations: 57.77 MB / 0.6341 GB, free: 106.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01334/1.244, allocations: 6.605 MB / 0.6406 GB, free: 105.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00479/1.249, allocations: 3.761 MB / 0.6442 GB, free: 105.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02387/1.273, allocations: 14.77 MB / 0.6587 GB, free: 98.65 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.829e-05/1.273, allocations: 63.28 kB / 0.6587 GB, free: 98.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=292): time 6.221e-06/1.273, allocations: 3.094 kB / 0.6587 GB, free: 98.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=342): time 0.1538/1.427, allocations: 42.54 MB / 0.7003 GB, free: 86.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.427, allocations: 213.3 kB / 0.7005 GB, free: 86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008819/1.436, allocations: 5.497 MB / 0.7058 GB, free: 81.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001171/1.437, allocations: 76.67 kB / 0.7059 GB, free: 81.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003026/1.44, allocations: 4.34 MB / 0.7102 GB, free: 77.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002313/1.442, allocations: 1.27 MB / 0.7114 GB, free: 76.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003353/1.446, allocations: 1.859 MB / 0.7132 GB, free: 74.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.596e-05/1.446, allocations: 301.1 kB / 0.7135 GB, free: 73.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006717/1.453, allocations: 4.839 MB / 0.7182 GB, free: 69.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01011/1.463, allocations: 9.826 MB / 0.7278 GB, free: 56.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01905/1.482, allocations: 15.63 MB / 0.7431 GB, free: 39.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003331/1.482, allocations: 48 kB / 0.7431 GB, free: 39.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.04654/1.529, allocations: 19.63 MB / 0.7623 GB, free: 19.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002367/1.529, allocations: 83.94 kB / 0.7624 GB, free: 19.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000302/1.529, allocations: 174.6 kB / 0.7625 GB, free: 19.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0209/1.55, allocations: 5.94 MB / 0.7683 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007623/1.558, allocations: 2.125 MB / 0.7704 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03206/1.59, allocations: 24.78 MB / 0.7946 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01054/1.601, allocations: 0.5617 MB / 0.7952 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002446/1.603, allocations: 0.5107 MB / 0.7957 GB, free: 1.035 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 (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.009827/1.613, allocations: 3.104 MB / 0.7987 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001871/1.615, allocations: 497.5 kB / 0.7992 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03356/1.649, allocations: 13.01 MB / 0.8119 GB, free: 360 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001363/1.649, allocations: 51.98 kB / 0.8119 GB, free: 308 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-05/1.649, allocations: 8 kB / 0.8119 GB, free: 300 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001038/1.649, allocations: 11.95 kB / 0.8119 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3564/2.005, allocations: 24.7 MB / 0.8361 GB, free: 171.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.306e-05/2.005, allocations: 9.781 kB / 0.8361 GB, free: 171.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003503/2.009, allocations: 0.5836 MB / 0.8366 GB, free: 171.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01829/2.027, allocations: 4.97 MB / 0.8415 GB, free: 170.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001072/2.028, allocations: 60.91 kB / 0.8415 GB, free: 170.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02794/2.056, allocations: 19.97 MB / 0.861 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/2.056, allocations: 9.875 kB / 0.8611 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0398/2.096, allocations: 17.58 MB / 0.8782 GB, free: 155 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004184/2.1, allocations: 1.259 MB / 0.8794 GB, free: 154.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002585/2.103, allocations: 56.47 kB / 0.8795 GB, free: 154.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004866/2.108, allocations: 261.2 kB / 0.8798 GB, free: 154.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001377/2.109, allocations: 197.4 kB / 0.8799 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007174/2.11, allocations: 82.09 kB / 0.88 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006837/2.117, allocations: 3.416 MB / 0.8834 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.7e-07/2.117, allocations: 2.625 kB / 0.8834 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01038/2.127, allocations: 1.773 MB / 0.8851 GB, free: 153.2 MB / 0.5294 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.001258/2.129, allocations: 201.4 kB / 0.8853 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01657/2.145, allocations: 11 MB / 0.896 GB, free: 149 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/2.145, allocations: 0 / 0.896 GB, free: 149 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006496/2.152, allocations: 4.137 MB / 0.9001 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006138/2.158, allocations: 0.5885 MB / 0.9006 GB, free: 147 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02975/2.188, allocations: 19.3 MB / 0.9195 GB, free: 129 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00609/2.194, allocations: 4.63 MB / 0.924 GB, free: 124.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00732/2.201, allocations: 2.982 MB / 0.9269 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001796/2.203, allocations: 351.4 kB / 0.9273 GB, free: 121 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/2.203, allocations: 0 / 0.9273 GB, free: 121 MB / 0.5294 GB Notification: Performance of Templates: time 0.1179/2.321, allocations: 78.44 MB / 1.004 GB, free: 42.52 MB / 0.5294 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)