Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004515/0.004521, allocations: 362.5 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.206/4.206, allocations: 388.9 MB / 405.6 MB, free: 9.641 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003527/0.003527, allocations: 223.1 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5131/0.5131, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006339/0.0006343, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1263, allocations: 54.87 MB / 0.6801 GB, free: 41.69 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5081/0.6345, allocations: 110.9 MB / 0.7884 GB, free: 6.812 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/0.6349, allocations: 92.69 kB / 0.7885 GB, free: 6.762 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.045/1.68, allocations: 170.6 MB / 0.955 GB, free: 92.93 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.657e-06/1.681, allocations: 0 / 0.955 GB, free: 92.93 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004876/1.681, allocations: 145.5 kB / 0.9552 GB, free: 92.93 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2779 * Number of variables: 2779 Notification: Performance of Generate backend data structure: time 0.03569/1.717, allocations: 8.086 MB / 0.9631 GB, free: 89.72 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/1.717, allocations: 11.81 kB / 0.9631 GB, free: 89.72 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0478/1.765, allocations: 6.029 MB / 0.969 GB, free: 89.16 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.028/1.793, allocations: 8.424 MB / 0.9772 GB, free: 87.68 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009007/1.794, allocations: 0.5668 MB / 0.9777 GB, free: 87.47 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005448/1.799, allocations: 0.7628 MB / 0.9785 GB, free: 87.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06907/1.868, allocations: 20.74 MB / 0.9987 GB, free: 68.94 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006389/1.869, allocations: 91.19 kB / 0.9988 GB, free: 68.85 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005234/1.874, allocations: 363.7 kB / 0.9992 GB, free: 68.54 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004644/1.879, allocations: 1.963 MB / 1.001 GB, free: 66.58 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05877/1.938, allocations: 18.28 MB / 1.019 GB, free: 48.29 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5553/2.493, allocations: 82.13 MB / 1.099 GB, free: 53.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03182/2.525, allocations: 7.391 MB / 1.106 GB, free: 52.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009984/2.535, allocations: 3.971 MB / 1.11 GB, free: 52.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05073/2.586, allocations: 18.09 MB / 1.128 GB, free: 48.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.124e-05/2.586, allocations: 61.16 kB / 1.128 GB, free: 48.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=332): time 8.175e-06/2.586, allocations: 0 / 1.128 GB, free: 48.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=413): time 0.2224/2.808, allocations: 35.86 MB / 1.163 GB, free: 41.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.919e-05/2.809, allocations: 195.5 kB / 1.163 GB, free: 41.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01861/2.827, allocations: 6.521 MB / 1.17 GB, free: 39.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00121/2.828, allocations: 82.12 kB / 1.17 GB, free: 39.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005605/2.834, allocations: 5.435 MB / 1.175 GB, free: 35.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00361/2.838, allocations: 1.516 MB / 1.176 GB, free: 34.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003038/2.841, allocations: 205.5 kB / 1.177 GB, free: 33.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.002095/2.843, allocations: 0.7498 MB / 1.177 GB, free: 33.42 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01983/2.863, allocations: 4.188 MB / 1.181 GB, free: 32.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02462/2.888, allocations: 10.04 MB / 1.191 GB, free: 22.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02256/2.91, allocations: 6.346 MB / 1.197 GB, free: 19.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002382/2.911, allocations: 56 kB / 1.197 GB, free: 19.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=1370) (initialization): time 0.05639/2.967, allocations: 15.95 MB / 1.213 GB, free: 6.633 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001764/2.967, allocations: 92 kB / 1.213 GB, free: 6.543 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004143/2.968, allocations: 204.9 kB / 1.213 GB, free: 6.344 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01407/2.982, allocations: 2.354 MB / 1.216 GB, free: 4.648 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01601/2.998, allocations: 2.442 MB / 1.218 GB, free: 2.539 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03929/3.037, allocations: 11.8 MB / 1.23 GB, free: 9.074 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01359/3.051, allocations: 0.6866 MB / 1.23 GB, free: 8.516 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002987/3.054, allocations: 0.5893 MB / 1.231 GB, free: 7.93 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 931 * Number of states: 0 () * Number of discrete variables: 46 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (1269): * Single equations (assignments): 1262 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01317/3.067, allocations: 3.757 MB / 1.234 GB, free: 4.656 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002328/3.069, allocations: 0.5939 MB / 1.235 GB, free: 4.055 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04094/3.11, allocations: 8.444 MB / 1.243 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002495/3.111, allocations: 63.89 kB / 1.243 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.772e-05/3.111, allocations: 12 kB / 1.243 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001521/3.111, allocations: 19.88 kB / 1.243 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1067/3.218, allocations: 18.81 MB / 1.262 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.267e-05/3.218, allocations: 16.03 kB / 1.262 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006172/3.224, allocations: 0.6474 MB / 1.262 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01321/3.237, allocations: 1.893 MB / 1.264 GB, free: 7.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009731/3.238, allocations: 75.98 kB / 1.264 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03196/3.27, allocations: 9.946 MB / 1.274 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.398e-05/3.27, allocations: 19.94 kB / 1.274 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0449/3.315, allocations: 12.36 MB / 1.286 GB, free: 0.6875 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3865/3.702, allocations: 1.156 MB / 1.287 GB, free: 153 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002117/3.704, allocations: 77.14 kB / 1.287 GB, free: 153 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006476/3.711, allocations: 260.4 kB / 1.288 GB, free: 153 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001584/3.712, allocations: 260.4 kB / 1.288 GB, free: 153 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006741/3.713, allocations: 110.8 kB / 1.288 GB, free: 153 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01264/3.726, allocations: 4.072 MB / 1.292 GB, free: 152.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.994e-06/3.726, allocations: 3.656 kB / 1.292 GB, free: 152.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01413/3.74, allocations: 1.934 MB / 1.294 GB, free: 152.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 2 (j2.s,j2.v) * 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 (324): * Single equations (assignments): 317 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001721/3.742, allocations: 273.8 kB / 1.294 GB, free: 152.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0277/3.769, allocations: 9.84 MB / 1.304 GB, free: 152.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-05/3.769, allocations: 4.781 kB / 1.304 GB, free: 152.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.009533/3.779, allocations: 3.33 MB / 1.307 GB, free: 152.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01011/3.789, allocations: 0.7756 MB / 1.308 GB, free: 152.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05163/3.841, allocations: 20.73 MB / 1.328 GB, free: 144.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01547/3.856, allocations: 5.747 MB / 1.334 GB, free: 143.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01676/3.873, allocations: 3.336 MB / 1.337 GB, free: 143.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00328/3.876, allocations: 412.1 kB / 1.337 GB, free: 143.2 MB / 0.5417 GB Notification: Performance of SimCode: time 1.603e-06/3.876, allocations: 0 / 1.337 GB, free: 143.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.1926/4.069, allocations: 68.5 MB / 1.404 GB, free: 110.9 MB / 0.5417 GB