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.00979/0.00979, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.002082/0.002082, allocations: 189.4 kB / 16.67 MB, free: 5.969 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.484/1.484, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.3376/0.3376, allocations: 38 MB / 307.9 MB, free: 10.2 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.001615/0.001615, allocations: 67.88 kB / 433 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3263, allocations: 56.48 MB / 489.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01591/0.3423, allocations: 15.09 MB / 0.4927 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01278/0.3551, allocations: 4.832 MB / 0.4974 GB, free: 5.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004139/0.3593, allocations: 92.69 kB / 0.4975 GB, free: 5.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006355/0.3657, allocations: 3.162 MB / 0.5006 GB, free: 4.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00755/0.3733, allocations: 2.558 MB / 0.5031 GB, free: 2.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002326/0.3756, allocations: 0.9928 MB / 0.5041 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009971/0.3856, allocations: 6.639 MB / 0.5106 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006237/0.3919, allocations: 4.382 MB / 0.5148 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005174/0.3971, allocations: 2.245 MB / 0.517 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005918/0.403, allocations: 3.271 MB / 0.5202 GB, free: 8.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001765/0.4048, allocations: 488 kB / 0.5207 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005651/0.4105, allocations: 1.486 MB / 0.5221 GB, free: 6.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004251/0.4148, allocations: 2.899 MB / 0.525 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00621/0.421, allocations: 3.262 MB / 0.5282 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01439/0.4354, allocations: 10.46 MB / 0.5384 GB, free: 5.496 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.4355, allocations: 4 kB / 0.5384 GB, free: 5.492 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4355, allocations: 0 / 0.5384 GB, free: 5.492 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003911/0.4359, allocations: 0 / 0.5384 GB, free: 5.492 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.0206/0.4565, allocations: 7.318 MB / 0.5455 GB, free: 14.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.4566, allocations: 11.89 kB / 0.5455 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01656/0.4731, allocations: 3.931 MB / 0.5494 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01167/0.4849, allocations: 4.29 MB / 0.5536 GB, free: 5.781 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002796/0.4852, allocations: 320.4 kB / 0.5539 GB, free: 5.465 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001965/0.4872, allocations: 435.6 kB / 0.5543 GB, free: 5.039 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03329/0.5205, allocations: 15.73 MB / 0.5696 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002759/0.5208, allocations: 67.36 kB / 0.5697 GB, free: 4.312 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001061/0.5219, allocations: 203.8 kB / 0.5699 GB, free: 4.113 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005352/0.5273, allocations: 3.212 MB / 0.573 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02975/0.557, allocations: 14.17 MB / 0.5869 GB, free: 2.703 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4098/0.9669, allocations: 57.5 MB / 0.643 GB, free: 88.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01773/0.9847, allocations: 6.606 MB / 0.6495 GB, free: 87.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005523/0.9902, allocations: 3.751 MB / 0.6531 GB, free: 86.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02789/1.018, allocations: 14.78 MB / 0.6676 GB, free: 79.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.029e-05/1.018, allocations: 70.31 kB / 0.6676 GB, free: 79.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=292): time 7.875e-06/1.018, allocations: 0 / 0.6676 GB, free: 79.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=342): time 0.1446/1.163, allocations: 42.54 MB / 0.7092 GB, free: 56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.651e-05/1.163, allocations: 214 kB / 0.7094 GB, free: 55.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007572/1.171, allocations: 5.49 MB / 0.7148 GB, free: 50.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.00086/1.172, allocations: 69.7 kB / 0.7148 GB, free: 50.19 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002352/1.174, allocations: 4.349 MB / 0.7191 GB, free: 45.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001643/1.176, allocations: 1.272 MB / 0.7203 GB, free: 44.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002508/1.178, allocations: 1.847 MB / 0.7221 GB, free: 42.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.473e-05/1.178, allocations: 305.1 kB / 0.7224 GB, free: 42.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005949/1.184, allocations: 4.839 MB / 0.7271 GB, free: 37.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007923/1.192, allocations: 9.83 MB / 0.7367 GB, free: 25.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0186/1.211, allocations: 15.62 MB / 0.752 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002115/1.211, allocations: 48 kB / 0.752 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.05032/1.261, allocations: 19.62 MB / 0.7712 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/1.261, allocations: 83.94 kB / 0.7713 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000217/1.262, allocations: 172 kB / 0.7714 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0241/1.286, allocations: 5.941 MB / 0.7772 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00892/1.295, allocations: 2.119 MB / 0.7793 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03566/1.33, allocations: 26.17 MB / 0.8049 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00922/1.34, allocations: 0.5577 MB / 0.8054 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002116/1.342, allocations: 0.5127 MB / 0.8059 GB, free: 15.93 MB / 0.5606 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.007069/1.349, allocations: 3.106 MB / 0.8089 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0015/1.351, allocations: 497.5 kB / 0.8094 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0322/1.383, allocations: 13.01 MB / 0.8221 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001644/1.383, allocations: 65.8 kB / 0.8222 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.856e-05/1.383, allocations: 12 kB / 0.8222 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001165/1.383, allocations: 11.95 kB / 0.8222 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0568/1.44, allocations: 24.61 MB / 0.8462 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.647e-05/1.44, allocations: 8 kB / 0.8462 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003462/1.444, allocations: 0.5855 MB / 0.8468 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02067/1.464, allocations: 4.965 MB / 0.8517 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008985/1.465, allocations: 60 kB / 0.8517 GB, free: 444 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3636/1.829, allocations: 21.35 MB / 0.8726 GB, free: 213.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/1.829, allocations: 10.73 kB / 0.8726 GB, free: 213.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03865/1.867, allocations: 17.59 MB / 0.8898 GB, free: 207.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004239/1.872, allocations: 1.249 MB / 0.891 GB, free: 207.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007845/1.872, allocations: 56.3 kB / 0.891 GB, free: 207.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002906/1.875, allocations: 265.1 kB / 0.8913 GB, free: 207.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007613/1.876, allocations: 198.7 kB / 0.8915 GB, free: 207.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002822/1.876, allocations: 81.91 kB / 0.8916 GB, free: 207.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.005158/1.882, allocations: 3.418 MB / 0.8949 GB, free: 206.3 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.21e-07/1.882, allocations: 0 / 0.8949 GB, free: 206.3 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.008862/1.891, allocations: 1.764 MB / 0.8966 GB, free: 206.1 MB / 0.6075 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.0008995/1.891, allocations: 206.8 kB / 0.8968 GB, free: 206 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01846/1.91, allocations: 11.04 MB / 0.9076 GB, free: 201.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/1.91, allocations: 3.969 kB / 0.9076 GB, free: 201.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.006677/1.917, allocations: 4.134 MB / 0.9116 GB, free: 200.1 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005258/1.922, allocations: 0.6275 MB / 0.9122 GB, free: 199.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02224/1.944, allocations: 16.12 MB / 0.928 GB, free: 191.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004002/1.948, allocations: 4.619 MB / 0.9325 GB, free: 188.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00569/1.954, allocations: 2.986 MB / 0.9354 GB, free: 185.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/1.955, allocations: 351.4 kB / 0.9357 GB, free: 185.1 MB / 0.6075 GB Notification: Performance of SimCode: time 1.432e-06/1.955, allocations: 0 / 0.9357 GB, free: 185.1 MB / 0.6075 GB Notification: Performance of Templates: time 0.1037/2.059, allocations: 77.65 MB / 1.012 GB, free: 107.5 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (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)