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.001185/0.001185, allocations: 108 kB / 15.61 MB, free: 148 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.001256/0.001256, allocations: 196.2 kB / 16.53 MB, free: 6.656 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.576/1.576, 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.1+maint.om/package.mo): time 0.3371/0.3371, allocations: 37.99 MB / 307.7 MB, free: 10.07 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.001612/0.001612, allocations: 68.12 kB / 375.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.142, allocations: 56.46 MB / 431.7 MB, free: 6.617 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.0155/0.1576, allocations: 15.08 MB / 446.8 MB, free: 7.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.1695, allocations: 4.835 MB / 451.6 MB, free: 2.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003389/0.1729, allocations: 91.75 kB / 451.7 MB, free: 2.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2345/0.4075, allocations: 3.152 MB / 454.9 MB, free: 35.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007418/0.4149, allocations: 2.556 MB / 457.4 MB, free: 35.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00246/0.4174, allocations: 0.9958 MB / 458.4 MB, free: 35.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00914/0.4266, allocations: 6.64 MB / 465.1 MB, free: 35.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006862/0.4335, allocations: 4.379 MB / 469.4 MB, free: 34.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006159/0.4397, allocations: 2.242 MB / 471.7 MB, free: 33.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005665/0.4454, allocations: 3.259 MB / 474.9 MB, free: 32.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002357/0.4478, allocations: 486.4 kB / 475.4 MB, free: 32.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004808/0.4527, allocations: 1.487 MB / 476.9 MB, free: 32.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004729/0.4574, allocations: 2.881 MB / 479.8 MB, free: 31.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008017/0.4655, allocations: 3.252 MB / 483 MB, free: 29.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02211/0.4876, allocations: 10.08 MB / 493.1 MB, free: 26.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.4877, allocations: 4 kB / 493.1 MB, free: 26.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4877, allocations: 0 / 493.1 MB, free: 26.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005861/0.4883, allocations: 1.281 kB / 493.1 MB, free: 26.01 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.03361/0.5219, allocations: 7.332 MB / 0.4887 GB, free: 22.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/0.522, allocations: 13.27 kB / 0.4887 GB, free: 22.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0199/0.5419, allocations: 3.923 MB / 0.4926 GB, free: 20.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01532/0.5573, allocations: 4.229 MB / 0.4967 GB, free: 18.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006702/0.558, allocations: 318.1 kB / 0.497 GB, free: 17.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004392/0.5624, allocations: 433.5 kB / 0.4974 GB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0368/0.5993, allocations: 15.74 MB / 0.5128 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003452/0.5996, allocations: 55.47 kB / 0.5128 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002619/0.6023, allocations: 203.3 kB / 0.513 GB, free: 5.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005065/0.6073, allocations: 3.223 MB / 0.5162 GB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03237/0.6397, allocations: 14.16 MB / 0.53 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1203/0.7601, allocations: 57.77 MB / 0.5864 GB, free: 8.992 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01546/0.7756, allocations: 6.607 MB / 0.5929 GB, free: 2.141 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005804/0.7814, allocations: 3.76 MB / 0.5966 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02978/0.8112, allocations: 14.78 MB / 0.611 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.464e-05/0.8113, allocations: 56.56 kB / 0.6111 GB, free: 15.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=292): time 1.046e-05/0.8114, allocations: 4 kB / 0.6111 GB, free: 15.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=342): time 0.4529/1.264, allocations: 42.55 MB / 0.6526 GB, free: 143.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001838/1.264, allocations: 210.7 kB / 0.6528 GB, free: 143.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01325/1.278, allocations: 5.488 MB / 0.6582 GB, free: 141.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001416/1.279, allocations: 74.31 kB / 0.6582 GB, free: 141.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004017/1.283, allocations: 4.35 MB / 0.6625 GB, free: 137.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002426/1.286, allocations: 1.27 MB / 0.6637 GB, free: 136.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003965/1.29, allocations: 1.854 MB / 0.6655 GB, free: 136 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.549e-05/1.29, allocations: 301.1 kB / 0.6658 GB, free: 135.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008101/1.298, allocations: 4.838 MB / 0.6705 GB, free: 133.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01165/1.31, allocations: 9.819 MB / 0.6801 GB, free: 125.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01816/1.328, allocations: 15.63 MB / 0.6954 GB, free: 113 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002099/1.328, allocations: 52 kB / 0.6954 GB, free: 112.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.04539/1.373, allocations: 19.62 MB / 0.7146 GB, free: 93.28 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/1.374, allocations: 81 kB / 0.7147 GB, free: 93.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001597/1.374, allocations: 172 kB / 0.7149 GB, free: 93.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02177/1.395, allocations: 5.943 MB / 0.7207 GB, free: 87.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008278/1.404, allocations: 2.125 MB / 0.7227 GB, free: 84.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0281/1.432, allocations: 26.16 MB / 0.7483 GB, free: 58.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01043/1.442, allocations: 0.5652 MB / 0.7488 GB, free: 57.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001965/1.444, allocations: 0.5078 MB / 0.7493 GB, free: 57.46 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.006713/1.451, allocations: 3.095 MB / 0.7524 GB, free: 54.35 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001417/1.453, allocations: 0.4898 MB / 0.7528 GB, free: 53.85 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02888/1.481, allocations: 13.02 MB / 0.7655 GB, free: 40.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.325e-05/1.482, allocations: 52.75 kB / 0.7656 GB, free: 40.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.173e-05/1.482, allocations: 8 kB / 0.7656 GB, free: 40.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.826e-05/1.482, allocations: 15.94 kB / 0.7656 GB, free: 40.69 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04911/1.531, allocations: 24.69 MB / 0.7897 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.361e-05/1.531, allocations: 4.594 kB / 0.7897 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003192/1.534, allocations: 0.5889 MB / 0.7903 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01905/1.553, allocations: 4.965 MB / 0.7952 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009196/1.554, allocations: 65.42 kB / 0.7952 GB, free: 9.934 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.245/1.799, allocations: 21.35 MB / 0.8161 GB, free: 148 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/1.799, allocations: 11.06 kB / 0.8161 GB, free: 148 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03718/1.836, allocations: 17.57 MB / 0.8332 GB, free: 142 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004535/1.841, allocations: 1.251 MB / 0.8345 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002097/1.843, allocations: 56.81 kB / 0.8345 GB, free: 141.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004548/1.848, allocations: 267.1 kB / 0.8348 GB, free: 141.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001185/1.849, allocations: 194.8 kB / 0.835 GB, free: 141.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004198/1.849, allocations: 82.81 kB / 0.835 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.008482/1.858, allocations: 3.422 MB / 0.8384 GB, free: 140.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.11e-07/1.858, allocations: 0 / 0.8384 GB, free: 140.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01405/1.872, allocations: 1.77 MB / 0.8401 GB, free: 140.1 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.001572/1.873, allocations: 200.5 kB / 0.8403 GB, free: 140 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0304/1.904, allocations: 15.92 MB / 0.8558 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/1.904, allocations: 0 / 0.8558 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006086/1.91, allocations: 4.135 MB / 0.8599 GB, free: 134.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005405/1.915, allocations: 0.6211 MB / 0.8605 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0288/1.944, allocations: 16.28 MB / 0.8764 GB, free: 120.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005059/1.949, allocations: 4.632 MB / 0.8809 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006958/1.956, allocations: 2.979 MB / 0.8838 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001607/1.958, allocations: 352.9 kB / 0.8842 GB, free: 114.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.313e-06/1.958, allocations: 4 kB / 0.8842 GB, free: 114.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.1179/2.076, allocations: 81.44 MB / 0.9637 GB, free: 33.07 MB / 0.4981 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)