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.001159/0.001159, 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.001249/0.001249, allocations: 195 kB / 16.14 MB, free: 6.711 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.552/1.552, allocations: 205.1 MB / 222 MB, free: 4.773 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.3747/0.3747, allocations: 37.98 MB / 307.3 MB, free: 10.06 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.001383/0.001383, allocations: 68.55 kB / 374.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1454, allocations: 56.47 MB / 431 MB, free: 7.055 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.3266/0.472, allocations: 53.49 MB / 484.5 MB, free: 23.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02714/0.4993, allocations: 11.23 MB / 495.7 MB, free: 16.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01472/0.514, allocations: 229.5 kB / 496 MB, free: 16.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006289/0.5204, allocations: 3.142 MB / 499.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008133/0.5286, allocations: 2.407 MB / 0.4898 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003088/0.5317, allocations: 0.9111 MB / 0.4906 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01805/0.5498, allocations: 9.421 MB / 0.4998 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008919/0.5587, allocations: 4.3 MB / 0.504 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007319/0.5661, allocations: 1.975 MB / 0.506 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008092/0.5743, allocations: 3.446 MB / 0.5093 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003058/0.5774, allocations: 336.8 kB / 0.5097 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005399/0.5828, allocations: 1.422 MB / 0.511 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004667/0.5875, allocations: 2.765 MB / 0.5137 GB, free: 5.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007305/0.5948, allocations: 3.124 MB / 0.5168 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01452/0.6093, allocations: 9.956 MB / 0.5265 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.6094, allocations: 0 / 0.5265 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6094, allocations: 4 kB / 0.5265 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000583/0.61, allocations: 0 / 0.5265 GB, free: 11.4 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.02606/0.6361, allocations: 7.331 MB / 0.5337 GB, free: 3.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.6362, allocations: 12.02 kB / 0.5337 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01655/0.6527, allocations: 3.927 MB / 0.5375 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01306/0.6658, allocations: 4.22 MB / 0.5417 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004008/0.6663, allocations: 320.6 kB / 0.542 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002521/0.6688, allocations: 439.6 kB / 0.5424 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03107/0.6999, allocations: 15.73 MB / 0.5577 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002163/0.7002, allocations: 67.38 kB / 0.5578 GB, free: 10.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009717/0.7012, allocations: 207.8 kB / 0.558 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005063/0.7062, allocations: 3.212 MB / 0.5611 GB, free: 6.863 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03018/0.7364, allocations: 14.17 MB / 0.575 GB, free: 8.668 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3652/1.102, allocations: 57.77 MB / 0.6314 GB, free: 128.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/1.115, allocations: 6.612 MB / 0.6378 GB, free: 127.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004526/1.119, allocations: 3.761 MB / 0.6415 GB, free: 127.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02197/1.141, allocations: 14.78 MB / 0.6559 GB, free: 120.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.774e-05/1.141, allocations: 66.16 kB / 0.656 GB, free: 120.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=292): time 5.701e-06/1.141, allocations: 0 / 0.656 GB, free: 120.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=342): time 0.145/1.286, allocations: 42.54 MB / 0.6976 GB, free: 109.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/1.287, allocations: 215.8 kB / 0.6978 GB, free: 108.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008634/1.295, allocations: 5.492 MB / 0.7031 GB, free: 106 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001078/1.296, allocations: 71.61 kB / 0.7032 GB, free: 105.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003061/1.299, allocations: 4.35 MB / 0.7074 GB, free: 102.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002069/1.302, allocations: 1.267 MB / 0.7087 GB, free: 101.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003438/1.305, allocations: 1.867 MB / 0.7105 GB, free: 99.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.143e-05/1.305, allocations: 301.1 kB / 0.7108 GB, free: 99.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00835/1.313, allocations: 4.835 MB / 0.7155 GB, free: 94.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01025/1.324, allocations: 9.827 MB / 0.7251 GB, free: 82.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01648/1.34, allocations: 15.62 MB / 0.7404 GB, free: 64.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000219/1.341, allocations: 52 kB / 0.7404 GB, free: 64.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.04637/1.387, allocations: 19.62 MB / 0.7596 GB, free: 44.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002677/1.387, allocations: 80 kB / 0.7596 GB, free: 44.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003383/1.388, allocations: 172 kB / 0.7598 GB, free: 44.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02096/1.409, allocations: 5.945 MB / 0.7656 GB, free: 38.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007868/1.417, allocations: 2.125 MB / 0.7677 GB, free: 36.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03026/1.447, allocations: 24.78 MB / 0.7919 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/1.457, allocations: 0.5618 MB / 0.7924 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002432/1.46, allocations: 0.5117 MB / 0.7929 GB, free: 10.13 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.007435/1.467, allocations: 3.099 MB / 0.796 GB, free: 7.023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001387/1.469, allocations: 0.4898 MB / 0.7964 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02913/1.498, allocations: 13.01 MB / 0.8091 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001049/1.498, allocations: 55.98 kB / 0.8092 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.371e-05/1.498, allocations: 8.938 kB / 0.8092 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.506e-05/1.498, allocations: 15.94 kB / 0.8092 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3353/1.834, allocations: 24.69 MB / 0.8333 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.454e-05/1.834, allocations: 6.656 kB / 0.8333 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003322/1.837, allocations: 0.5829 MB / 0.8339 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01904/1.856, allocations: 4.968 MB / 0.8388 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001107/1.857, allocations: 59.95 kB / 0.8388 GB, free: 135.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02973/1.887, allocations: 19.97 MB / 0.8583 GB, free: 126.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/1.887, allocations: 13.11 kB / 0.8583 GB, free: 126.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03463/1.922, allocations: 17.58 MB / 0.8755 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003541/1.925, allocations: 1.255 MB / 0.8767 GB, free: 119.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001473/1.927, allocations: 60.95 kB / 0.8768 GB, free: 119.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003681/1.93, allocations: 263.7 kB / 0.877 GB, free: 119.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001011/1.931, allocations: 194.8 kB / 0.8772 GB, free: 119.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003067/1.932, allocations: 90.89 kB / 0.8773 GB, free: 119.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005808/1.938, allocations: 3.413 MB / 0.8806 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.21e-07/1.938, allocations: 0 / 0.8806 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009999/1.948, allocations: 1.766 MB / 0.8824 GB, free: 118.4 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.0009844/1.949, allocations: 206.9 kB / 0.8826 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0166/1.965, allocations: 10.99 MB / 0.8933 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/1.965, allocations: 4 kB / 0.8933 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006701/1.972, allocations: 4.133 MB / 0.8973 GB, free: 106.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007792/1.98, allocations: 0.5929 MB / 0.8979 GB, free: 106.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02856/2.008, allocations: 19.31 MB / 0.9168 GB, free: 86.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006333/2.015, allocations: 4.63 MB / 0.9213 GB, free: 82.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007425/2.022, allocations: 2.982 MB / 0.9242 GB, free: 79.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001961/2.024, allocations: 351.4 kB / 0.9245 GB, free: 78.99 MB / 0.4981 GB Notification: Performance of SimCode: time 1.813e-06/2.024, allocations: 0 / 0.9245 GB, free: 78.99 MB / 0.4981 GB Notification: Performance of Templates: time 0.3778/2.402, allocations: 78.43 MB / 1.001 GB, free: 135.8 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)