Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.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.Joints.Universal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01187/0.01187, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001869/0.00187, allocations: 195.1 kB / 16.68 MB, free: 5.922 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.538/1.538, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.3208/0.3208, allocations: 39.96 MB / 309.9 MB, free: 9.434 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.001431/0.001431, allocations: 71.89 kB / 435.8 MB, free: 2.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3228, allocations: 56.87 MB / 492.7 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.0137/0.3365, allocations: 14.23 MB / 0.495 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.3481, allocations: 4.275 MB / 0.4992 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00395/0.3521, allocations: 71.81 kB / 0.4993 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004404/0.3566, allocations: 1.986 MB / 0.5012 GB, free: 5.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006062/0.3627, allocations: 1.914 MB / 0.5031 GB, free: 3.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.3642, allocations: 0.5544 MB / 0.5036 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005652/0.3699, allocations: 4.072 MB / 0.5076 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003545/0.3735, allocations: 2.888 MB / 0.5104 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002439/0.3759, allocations: 1.47 MB / 0.5118 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002928/0.3789, allocations: 2.037 MB / 0.5138 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007152/0.3796, allocations: 307.3 kB / 0.5141 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/0.3817, allocations: 1.007 MB / 0.5151 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001621/0.3834, allocations: 1.89 MB / 0.5169 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001954/0.3853, allocations: 2.267 MB / 0.5192 GB, free: 9.258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006586/0.3919, allocations: 7.37 MB / 0.5264 GB, free: 1.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.392, allocations: 3.984 kB / 0.5264 GB, free: 1.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.392, allocations: 0 / 0.5264 GB, free: 1.859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001684/0.3921, allocations: 0 / 0.5264 GB, free: 1.859 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: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.008953/0.4011, allocations: 4.92 MB / 0.5312 GB, free: 12.87 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.4011, allocations: 11.89 kB / 0.5312 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/0.4117, allocations: 3.137 MB / 0.5342 GB, free: 9.711 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005614/0.4173, allocations: 2.259 MB / 0.5364 GB, free: 7.402 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.4176, allocations: 242.2 kB / 0.5367 GB, free: 7.164 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001023/0.4186, allocations: 311.8 kB / 0.537 GB, free: 6.859 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02119/0.4398, allocations: 12.1 MB / 0.5488 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001052/0.44, allocations: 35.75 kB / 0.5488 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000423/0.4404, allocations: 139.8 kB / 0.549 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004888/0.4453, allocations: 2.835 MB / 0.5517 GB, free: 7.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0216/0.4669, allocations: 11.37 MB / 0.5628 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05815/0.5251, allocations: 40.95 MB / 0.6028 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01122/0.5364, allocations: 6.075 MB / 0.6088 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003837/0.5402, allocations: 3.005 MB / 0.6117 GB, free: 8.543 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001703/0.542, allocations: 1.888 MB / 0.6135 GB, free: 6.328 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.542, allocations: 56.56 kB / 0.6136 GB, free: 6.262 MB / 494.1 MB Notification: Performance of pre-optimization done (n=262): time 4.809e-06/0.542, allocations: 4 kB / 0.6136 GB, free: 6.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=283): time 0.04565/0.5877, allocations: 20.15 MB / 0.6333 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.5878, allocations: 77.41 kB / 0.6333 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3192/0.907, allocations: 3.052 MB / 0.6363 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006628/0.9077, allocations: 63.23 kB / 0.6364 GB, free: 126.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002008/0.9097, allocations: 3.008 MB / 0.6393 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001149/0.9109, allocations: 1.024 MB / 0.6403 GB, free: 124.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001947/0.9128, allocations: 1.204 MB / 0.6415 GB, free: 123.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.24e-05/0.9129, allocations: 305.6 kB / 0.6418 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004696/0.9176, allocations: 2.859 MB / 0.6446 GB, free: 122.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005859/0.9235, allocations: 6.071 MB / 0.6505 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/0.935, allocations: 9.719 MB / 0.66 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001077/0.9351, allocations: 32.06 kB / 0.66 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=798) (initialization): time 0.01868/0.9538, allocations: 10.09 MB / 0.6699 GB, free: 106.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.954, allocations: 52.44 kB / 0.6699 GB, free: 106.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001882/0.9542, allocations: 110.6 kB / 0.67 GB, free: 106.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003653/0.9578, allocations: 1.362 MB / 0.6714 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005162/0.963, allocations: 1.39 MB / 0.6727 GB, free: 106.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008815/0.9718, allocations: 7.813 MB / 0.6804 GB, free: 102.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005792/0.9777, allocations: 364.8 kB / 0.6807 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/0.9787, allocations: 350.7 kB / 0.681 GB, free: 102.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 507 * Number of states: 0 () * Number of discrete variables: 30 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (728): * Single equations (assignments): 721 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003894/0.9826, allocations: 2.306 MB / 0.6833 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007158/0.9833, allocations: 305.5 kB / 0.6836 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009016/0.9924, allocations: 6.626 MB / 0.6901 GB, free: 95.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.852e-05/0.9924, allocations: 47.98 kB / 0.6901 GB, free: 95.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.9925, allocations: 4 kB / 0.6901 GB, free: 95.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.166e-05/0.9925, allocations: 19.95 kB / 0.6901 GB, free: 95.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02188/1.014, allocations: 13.89 MB / 0.7037 GB, free: 81.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/1.014, allocations: 8 kB / 0.7037 GB, free: 81.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/1.016, allocations: 455.3 kB / 0.7041 GB, free: 81.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002871/1.019, allocations: 1.208 MB / 0.7053 GB, free: 80.06 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000306/1.02, allocations: 55.42 kB / 0.7054 GB, free: 80.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007623/1.027, allocations: 7.017 MB / 0.7122 GB, free: 72.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.027, allocations: 11.94 kB / 0.7122 GB, free: 72.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/1.039, allocations: 9.877 MB / 0.7219 GB, free: 62.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002562/1.042, allocations: 0.825 MB / 0.7227 GB, free: 61.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000997/1.043, allocations: 44 kB / 0.7227 GB, free: 61.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003083/1.046, allocations: 203.3 kB / 0.7229 GB, free: 61.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007303/1.047, allocations: 157.6 kB / 0.7231 GB, free: 61.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003103/1.047, allocations: 91.86 kB / 0.7232 GB, free: 61.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004357/1.051, allocations: 1.887 MB / 0.725 GB, free: 59.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.31e-07/1.051, allocations: 0 / 0.725 GB, free: 59.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01134/1.063, allocations: 1.132 MB / 0.7261 GB, free: 58.46 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001424/1.064, allocations: 193 kB / 0.7263 GB, free: 58.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0171/1.081, allocations: 7 MB / 0.7331 GB, free: 51.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.207e-05/1.081, allocations: 8.125 kB / 0.7331 GB, free: 51.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007512/1.089, allocations: 2.852 MB / 0.7359 GB, free: 48.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005137/1.094, allocations: 415 kB / 0.7363 GB, free: 48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03406/1.128, allocations: 11.36 MB / 0.7474 GB, free: 36.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008092/1.136, allocations: 3.587 MB / 0.7509 GB, free: 32.92 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.008042/1.145, allocations: 2.204 MB / 0.7531 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001787/1.146, allocations: 243.4 kB / 0.7533 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of SimCode: time 1.593e-06/1.146, allocations: 4 kB / 0.7533 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of Templates: time 0.06595/1.212, allocations: 39.44 MB / 0.7918 GB, free: 7.145 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1)