Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001998/0.001998, allocations: 190.9 kB / 16.25 MB, free: 6.625 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.682/1.682, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.4039/0.4039, allocations: 39.93 MB / 309.4 MB, free: 9.625 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.001448/0.001449, allocations: 63.91 kB / 377.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1588, allocations: 56.88 MB / 434 MB, free: 4.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.3545/0.5134, allocations: 47.05 MB / 481 MB, free: 26.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02816/0.5416, allocations: 10.02 MB / 491.1 MB, free: 19.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01432/0.5561, allocations: 206.7 kB / 491.3 MB, free: 19.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005491/0.5616, allocations: 2.629 MB / 493.9 MB, free: 18.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007043/0.5687, allocations: 1.886 MB / 495.8 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002794/0.5715, allocations: 0.862 MB / 496.6 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01029/0.5818, allocations: 5.48 MB / 0.4904 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007072/0.589, allocations: 3.562 MB / 0.4938 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005635/0.5946, allocations: 1.778 MB / 0.4956 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006215/0.6009, allocations: 2.799 MB / 0.4983 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002897/0.6038, allocations: 385.1 kB / 0.4987 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006438/0.6103, allocations: 1.421 MB / 0.5001 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006009/0.6163, allocations: 2.223 MB / 0.5022 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009453/0.6258, allocations: 2.484 MB / 0.5047 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01652/0.6424, allocations: 7.715 MB / 0.5122 GB, free: 5.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.6424, allocations: 2.469 kB / 0.5122 GB, free: 5.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.6425, allocations: 0 / 0.5122 GB, free: 5.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004054/0.6429, allocations: 0 / 0.5122 GB, free: 5.52 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: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.02282/0.6657, allocations: 5.528 MB / 0.5176 GB, free: 1.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/0.6658, allocations: 13.39 kB / 0.5176 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/0.6776, allocations: 2.473 MB / 0.52 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01105/0.6887, allocations: 3.463 MB / 0.5234 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003017/0.689, allocations: 246.7 kB / 0.5236 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002332/0.6914, allocations: 331.6 kB / 0.524 GB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02518/0.7165, allocations: 10.88 MB / 0.5346 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001995/0.7168, allocations: 51.53 kB / 0.5346 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005145/0.7173, allocations: 155.8 kB / 0.5348 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003332/0.7207, allocations: 1.998 MB / 0.5367 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02152/0.7422, allocations: 9.445 MB / 0.5459 GB, free: 5.586 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06597/0.8082, allocations: 41.25 MB / 0.5862 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01129/0.8196, allocations: 4.273 MB / 0.5904 GB, free: 6.727 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003046/0.8226, allocations: 1.923 MB / 0.5923 GB, free: 4.797 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01265/0.8353, allocations: 7.618 MB / 0.5997 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.508e-05/0.8354, allocations: 55.5 kB / 0.5998 GB, free: 12.74 MB / 478.1 MB Notification: Performance of pre-optimization done (n=180): time 9.518e-06/0.8354, allocations: 3.984 kB / 0.5998 GB, free: 12.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=236): time 0.4812/1.317, allocations: 40.97 MB / 0.6398 GB, free: 146.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/1.317, allocations: 204.7 kB / 0.64 GB, free: 146.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007408/1.324, allocations: 4.336 MB / 0.6442 GB, free: 144.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009632/1.325, allocations: 62.48 kB / 0.6443 GB, free: 144.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002511/1.328, allocations: 3.162 MB / 0.6474 GB, free: 142.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001689/1.329, allocations: 0.8846 MB / 0.6482 GB, free: 141.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002326/1.332, allocations: 1.352 MB / 0.6495 GB, free: 140.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.788e-05/1.332, allocations: 304.1 kB / 0.6498 GB, free: 140.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0051/1.337, allocations: 3.626 MB / 0.6534 GB, free: 139.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008268/1.345, allocations: 7.295 MB / 0.6605 GB, free: 132.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02105/1.366, allocations: 11.63 MB / 0.6719 GB, free: 124.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003013/1.367, allocations: 37.06 kB / 0.6719 GB, free: 124.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=856) (initialization): time 0.05065/1.417, allocations: 16.2 MB / 0.6877 GB, free: 119.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003288/1.418, allocations: 62.31 kB / 0.6878 GB, free: 119.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003747/1.418, allocations: 125.1 kB / 0.6879 GB, free: 119.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02312/1.441, allocations: 6.234 MB / 0.694 GB, free: 117.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007331/1.449, allocations: 1.493 MB / 0.6954 GB, free: 117.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03686/1.486, allocations: 27.65 MB / 0.7224 GB, free: 89.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009174/1.495, allocations: 403.3 kB / 0.7228 GB, free: 88.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002317/1.497, allocations: 384 kB / 0.7232 GB, free: 88.39 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.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 (779): * Single equations (assignments): 774 * Array equations: 3 * 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 {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008894/1.506, allocations: 2.231 MB / 0.7254 GB, free: 86.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002547/1.509, allocations: 390.9 kB / 0.7257 GB, free: 85.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02951/1.538, allocations: 11.29 MB / 0.7368 GB, free: 74.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.878e-05/1.538, allocations: 24 kB / 0.7368 GB, free: 74.42 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.957e-05/1.538, allocations: 15.94 kB / 0.7368 GB, free: 74.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.567e-05/1.539, allocations: 12.72 kB / 0.7368 GB, free: 74.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04738/1.586, allocations: 20.7 MB / 0.757 GB, free: 53.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.521e-05/1.586, allocations: 8 kB / 0.757 GB, free: 53.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002331/1.588, allocations: 393.7 kB / 0.7574 GB, free: 52.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01903/1.608, allocations: 5.316 MB / 0.7626 GB, free: 47.58 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009744/1.609, allocations: 47.75 kB / 0.7627 GB, free: 47.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0291/1.638, allocations: 22.71 MB / 0.7848 GB, free: 24.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.507e-06/1.638, allocations: 11.94 kB / 0.7848 GB, free: 24.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03119/1.669, allocations: 14.6 MB / 0.7991 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003941/1.673, allocations: 0.9839 MB / 0.8001 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002603/1.676, allocations: 40 kB / 0.8001 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004152/1.68, allocations: 182 kB / 0.8003 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001493/1.681, allocations: 161 kB / 0.8004 GB, free: 8.473 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005757/1.682, allocations: 60 kB / 0.8005 GB, free: 8.414 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007053/1.689, allocations: 2.725 MB / 0.8031 GB, free: 5.684 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.21e-07/1.689, allocations: 0 / 0.8031 GB, free: 5.684 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.011/1.7, allocations: 1.37 MB / 0.8045 GB, free: 4.316 MB / 494.1 MB 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 (167): * Single equations (assignments): 162 * Array equations: 3 * 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 {(3,45,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001279/1.701, allocations: 185.6 kB / 0.8047 GB, free: 4.129 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2897/1.991, allocations: 9.728 MB / 0.8142 GB, free: 139.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/1.991, allocations: 0 / 0.8142 GB, free: 139.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004765/1.996, allocations: 3.219 MB / 0.8173 GB, free: 139 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004083/2, allocations: 0.4988 MB / 0.8178 GB, free: 138.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02523/2.025, allocations: 14.08 MB / 0.8315 GB, free: 131.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003909/2.029, allocations: 3.514 MB / 0.835 GB, free: 130.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005999/2.035, allocations: 1.961 MB / 0.8369 GB, free: 130.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/2.036, allocations: 263.7 kB / 0.8371 GB, free: 130.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.273e-06/2.036, allocations: 0 / 0.8371 GB, free: 130.1 MB / 494.1 MB Notification: Performance of Templates: time 0.1169/2.153, allocations: 70.21 MB / 0.9057 GB, free: 82.46 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1)