Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.UniversalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001385/0.001386, allocations: 192.2 kB / 7.804 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009105/0.0009109, allocations: 86.61 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2039/0.2039, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2191/0.423, allocations: 64.96 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.7697, allocations: 58.84 MB / 476.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1769/0.9466, allocations: 120.8 MB / 0.5835 GB, free: 10.05 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.9469, allocations: 83.45 kB / 0.5835 GB, free: 9.977 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4701 * Number of variables: 4701 Notification: Performance of Generate backend data structure: time 0.816/1.763, allocations: 236 MB / 0.814 GB, free: 7.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/1.763, allocations: 12 kB / 0.814 GB, free: 7.418 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.454/2.217, allocations: 10.08 MB / 0.8239 GB, free: 83.52 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04046/2.258, allocations: 14.04 MB / 0.8376 GB, free: 83 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007948/2.258, allocations: 475.8 kB / 0.838 GB, free: 83 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007727/2.266, allocations: 0.8525 MB / 0.8388 GB, free: 82.99 MB / 490.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04302/2.309, allocations: 19.88 MB / 0.8583 GB, free: 82.92 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07241/2.382, allocations: 28.38 MB / 0.886 GB, free: 76.91 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001072/2.383, allocations: 148.8 kB / 0.8861 GB, free: 76.9 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00659/2.389, allocations: 65.41 kB / 0.8862 GB, free: 76.9 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0041/2.394, allocations: 2.692 MB / 0.8888 GB, free: 76.88 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4976/2.891, allocations: 128.3 MB / 1.014 GB, free: 35.95 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01176/2.903, allocations: 8.457 MB / 1.022 GB, free: 35.29 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009366/2.912, allocations: 7.176 MB / 1.029 GB, free: 35.23 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0551/2.968, allocations: 32.1 MB / 1.061 GB, free: 27.18 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.839e-05/2.968, allocations: 83.56 kB / 1.061 GB, free: 27.14 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=424): time 8.726e-06/2.968, allocations: 0 / 1.061 GB, free: 27.14 MB / 0.4949 GB Notification: Performance of matching and sorting (n=554): time 0.2642/3.232, allocations: 89.77 MB / 1.148 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002598/3.232, allocations: 334.4 kB / 1.149 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02226/3.254, allocations: 7.518 MB / 1.156 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001909/3.256, allocations: 29.7 kB / 1.156 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.008354/3.265, allocations: 8.38 MB / 1.164 GB, free: 10.69 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.004535/3.269, allocations: 2.072 MB / 1.166 GB, free: 8.824 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002943/3.272, allocations: 8 kB / 1.166 GB, free: 8.816 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.002398/3.275, allocations: 0.9993 MB / 1.167 GB, free: 8.008 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02139/3.296, allocations: 9.355 MB / 1.176 GB, free: 0 / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3163/3.613, allocations: 18.67 MB / 1.195 GB, free: 122.3 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01759/3.63, allocations: 12.9 MB / 1.207 GB, free: 122.2 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003518/3.631, allocations: 97.09 kB / 1.207 GB, free: 122.2 MB / 0.5418 GB Notification: Performance of matching and sorting (n=2139) (initialization): time 0.07182/3.702, allocations: 33.03 MB / 1.24 GB, free: 121.2 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/3.703, allocations: 7.625 kB / 1.24 GB, free: 121.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04959/3.752, allocations: 21.59 MB / 1.261 GB, free: 120.9 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03262/3.785, allocations: 8.863 MB / 1.269 GB, free: 120.8 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01681/3.802, allocations: 3.854 MB / 1.273 GB, free: 120.5 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05363/3.855, allocations: 42.02 MB / 1.314 GB, free: 96.68 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02124/3.877, allocations: 1.001 MB / 1.315 GB, free: 96.68 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005861/3.883, allocations: 1.005 MB / 1.316 GB, free: 96.55 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1533 * Number of states: 0 () * Number of discrete variables: 72 (init2.arrowColor[3],init2.arrowColor[2],init2.arrowColor[1],init.arrowColor[3],init.arrowColor[2],init.arrowColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],universalSpherical1.cylinderColor[3],universalSpherical1.cylinderColor[2],universalSpherical1.cylinderColor[1],universalSpherical1.sphereColor[3],universalSpherical1.sphereColor[2],universalSpherical1.sphereColor[1],universalSpherical1.rodColor[3],universalSpherical1.rodColor[2],universalSpherical1.rodColor[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],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2004): * Single equations (assignments): 1977 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 5 {1,1,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,93.8%) 8,(8,76.6%) 20,(1,100.0%) 3,(1,100.0%) 9,(4,87.5%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01076/3.893, allocations: 0.9278 MB / 1.317 GB, free: 96.01 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003974/3.897, allocations: 0.8303 MB / 1.318 GB, free: 96 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07385/3.971, allocations: 26.17 MB / 1.343 GB, free: 82.3 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06453/4.036, allocations: 24.48 MB / 1.367 GB, free: 63.83 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001544/4.036, allocations: 24 kB / 1.367 GB, free: 63.81 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002432/4.036, allocations: 26.91 kB / 1.367 GB, free: 63.81 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4035/4.44, allocations: 54.78 MB / 1.421 GB, free: 117.6 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.118e-05/4.44, allocations: 6.375 kB / 1.421 GB, free: 117.6 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006417/4.446, allocations: 0.9392 MB / 1.422 GB, free: 117.6 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04683/4.493, allocations: 12.85 MB / 1.434 GB, free: 117.5 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001719/4.495, allocations: 95.52 kB / 1.434 GB, free: 117.5 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06975/4.565, allocations: 53.29 MB / 1.486 GB, free: 102.4 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0289/4.594, allocations: 20.07 MB / 1.506 GB, free: 91.41 MB / 0.5418 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.08466/4.679, allocations: 38.3 MB / 1.543 GB, free: 73.96 MB / 0.5418 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.4343/5.113, allocations: 73.75 MB / 1.616 GB, free: 113.9 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007598/5.121, allocations: 2.413 MB / 1.618 GB, free: 113.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003692/5.124, allocations: 43.44 kB / 1.618 GB, free: 113.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01008/5.134, allocations: 485.8 kB / 1.618 GB, free: 113.8 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002077/5.137, allocations: 300.5 kB / 1.619 GB, free: 113.8 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000716/5.137, allocations: 176.9 kB / 1.619 GB, free: 113.8 MB / 0.5418 GB Notification: Performance of sort global known variables: time 0.01287/5.15, allocations: 5.028 MB / 1.624 GB, free: 113.5 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.02605/5.176, allocations: 4.064 MB / 1.628 GB, free: 113.5 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 30 ($STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[6],$STATESET3.x[5],$STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[5],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (435): * Single equations (assignments): 420 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {3,8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 6,(4,87.5%) 6,(1,100.0%) 4,(4,93.8%) 8,(8,76.6%) 20,(7,93.9%) 12} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002649/5.179, allocations: 188.9 kB / 1.628 GB, free: 113.4 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.04417/5.223, allocations: 23.02 MB / 1.65 GB, free: 110.2 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/5.223, allocations: 2.875 kB / 1.65 GB, free: 110.2 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.02122/5.244, allocations: 10.61 MB / 1.661 GB, free: 105.5 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01107/5.256, allocations: 1.032 MB / 1.662 GB, free: 105.1 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09623/5.352, allocations: 31.45 MB / 1.692 GB, free: 94.66 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0275/5.379, allocations: 10.36 MB / 1.703 GB, free: 91.75 MB / 0.5418 GB Notification: Performance of SimCode: time 1.583e-06/5.379, allocations: 1.422 kB / 1.703 GB, free: 91.75 MB / 0.5418 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.UniversalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.UniversalSpherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_UniversalSpherical_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_UniversalSpherical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe 2>&1)