Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001465/0.001465, 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.001875/0.001874, allocations: 195.2 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.554/1.554, allocations: 205.1 MB / 222 MB, free: 4.98 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.4137/0.4137, allocations: 37.98 MB / 307.3 MB, free: 9.855 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.001595/0.001595, allocations: 62.41 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1415, allocations: 56.47 MB / 431 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.2968/0.4383, allocations: 47.04 MB / 478.1 MB, free: 27.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02851/0.4669, allocations: 10.15 MB / 488.2 MB, free: 21.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01416/0.4811, allocations: 202.8 kB / 488.4 MB, free: 21.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005503/0.4867, allocations: 2.719 MB / 491.1 MB, free: 20.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007204/0.494, allocations: 1.891 MB / 493 MB, free: 19.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002286/0.4963, allocations: 0.8462 MB / 493.9 MB, free: 18.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00933/0.5056, allocations: 7.442 MB / 0.4896 GB, free: 16.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006649/0.5123, allocations: 3.313 MB / 0.4928 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004832/0.5172, allocations: 1.545 MB / 0.4943 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006417/0.5237, allocations: 2.689 MB / 0.4969 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001882/0.5256, allocations: 264.5 kB / 0.4972 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005312/0.5309, allocations: 1.361 MB / 0.4985 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005886/0.5368, allocations: 2.104 MB / 0.5006 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008318/0.5452, allocations: 2.34 MB / 0.5028 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0147/0.5599, allocations: 7.574 MB / 0.5102 GB, free: 7.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.56, allocations: 0 / 0.5102 GB, free: 7.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.56, allocations: 0 / 0.5102 GB, free: 7.758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003909/0.5604, allocations: 1.469 kB / 0.5102 GB, free: 7.758 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.02246/0.5828, allocations: 5.535 MB / 0.5156 GB, free: 4.012 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.5829, allocations: 8.938 kB / 0.5157 GB, free: 4.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01259/0.5955, allocations: 2.475 MB / 0.5181 GB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009035/0.6046, allocations: 3.467 MB / 0.5215 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002368/0.6049, allocations: 238.7 kB / 0.5217 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002149/0.6071, allocations: 331.7 kB / 0.522 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03546/0.6425, allocations: 10.88 MB / 0.5326 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004124/0.643, allocations: 55.58 kB / 0.5327 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00247/0.6455, allocations: 151.9 kB / 0.5328 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004009/0.6495, allocations: 1.998 MB / 0.5348 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02256/0.6721, allocations: 9.444 MB / 0.544 GB, free: 8.691 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07148/0.7437, allocations: 41.25 MB / 0.5843 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01198/0.7557, allocations: 4.268 MB / 0.5885 GB, free: 9.828 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003115/0.7589, allocations: 1.915 MB / 0.5903 GB, free: 7.906 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01396/0.7729, allocations: 7.622 MB / 0.5978 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.916e-05/0.773, allocations: 51.56 kB / 0.5978 GB, free: 15.85 MB / 478.1 MB Notification: Performance of pre-optimization done (n=180): time 5.821e-06/0.773, allocations: 4 kB / 0.5978 GB, free: 15.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=236): time 0.4336/1.207, allocations: 40.97 MB / 0.6378 GB, free: 148.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.207, allocations: 204.7 kB / 0.638 GB, free: 148.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006529/1.213, allocations: 4.34 MB / 0.6423 GB, free: 146.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007524/1.214, allocations: 57.83 kB / 0.6423 GB, free: 146.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00188/1.216, allocations: 3.174 MB / 0.6454 GB, free: 144.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001287/1.217, allocations: 0.8787 MB / 0.6463 GB, free: 143.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001927/1.219, allocations: 1.352 MB / 0.6476 GB, free: 143.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.19e-05/1.219, allocations: 305.1 kB / 0.6479 GB, free: 142.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004361/1.224, allocations: 3.623 MB / 0.6514 GB, free: 141.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006597/1.23, allocations: 7.3 MB / 0.6586 GB, free: 135.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01646/1.247, allocations: 11.62 MB / 0.6699 GB, free: 126.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002166/1.247, allocations: 37.12 kB / 0.6699 GB, free: 126.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=856) (initialization): time 0.04635/1.293, allocations: 16.21 MB / 0.6858 GB, free: 121.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000178/1.294, allocations: 58.81 kB / 0.6858 GB, free: 121.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002887/1.294, allocations: 129 kB / 0.6859 GB, free: 121.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02234/1.316, allocations: 6.227 MB / 0.692 GB, free: 120.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0057/1.322, allocations: 1.49 MB / 0.6935 GB, free: 120.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02979/1.352, allocations: 26.14 MB / 0.719 GB, free: 95.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007429/1.359, allocations: 407.3 kB / 0.7194 GB, free: 95.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001554/1.361, allocations: 391.5 kB / 0.7198 GB, free: 94.86 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.005011/1.366, allocations: 2.217 MB / 0.7219 GB, free: 92.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/1.367, allocations: 394.9 kB / 0.7223 GB, free: 92.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02529/1.392, allocations: 11.28 MB / 0.7333 GB, free: 80.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-05/1.392, allocations: 32 kB / 0.7334 GB, free: 80.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.286e-05/1.393, allocations: 11.94 kB / 0.7334 GB, free: 80.89 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.186e-05/1.393, allocations: 15.95 kB / 0.7334 GB, free: 80.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03967/1.432, allocations: 20.7 MB / 0.7536 GB, free: 59.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.011e-05/1.432, allocations: 4 kB / 0.7536 GB, free: 59.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002168/1.435, allocations: 391.4 kB / 0.754 GB, free: 59.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01843/1.453, allocations: 5.306 MB / 0.7592 GB, free: 54.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007228/1.454, allocations: 54.14 kB / 0.7592 GB, free: 54.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02436/1.478, allocations: 21.22 MB / 0.7799 GB, free: 32.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/1.478, allocations: 11.94 kB / 0.78 GB, free: 32.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0287/1.507, allocations: 14.6 MB / 0.7942 GB, free: 17.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002926/1.51, allocations: 0.9839 MB / 0.7952 GB, free: 16.83 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008605/1.511, allocations: 44 kB / 0.7952 GB, free: 16.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002221/1.513, allocations: 179.7 kB / 0.7954 GB, free: 16.61 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007311/1.514, allocations: 157 kB / 0.7955 GB, free: 16.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002206/1.514, allocations: 65.48 kB / 0.7956 GB, free: 16.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003898/1.518, allocations: 2.725 MB / 0.7983 GB, free: 13.67 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.21e-07/1.518, allocations: 0 / 0.7983 GB, free: 13.67 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007195/1.525, allocations: 1.371 MB / 0.7996 GB, free: 12.3 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.0005782/1.526, allocations: 196.4 kB / 0.7998 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01096/1.537, allocations: 8.317 MB / 0.8079 GB, free: 3.812 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.537, allocations: 0 / 0.8079 GB, free: 3.812 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2481/1.785, allocations: 3.214 MB / 0.811 GB, free: 139.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004505/1.789, allocations: 480.3 kB / 0.8115 GB, free: 139.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02285/1.812, allocations: 14.09 MB / 0.8253 GB, free: 133.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004167/1.816, allocations: 3.517 MB / 0.8287 GB, free: 132.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005118/1.822, allocations: 1.963 MB / 0.8306 GB, free: 132.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/1.823, allocations: 261.3 kB / 0.8309 GB, free: 132.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.954e-06/1.823, allocations: 0 / 0.8309 GB, free: 132.3 MB / 494.1 MB Notification: Performance of Templates: time 0.1116/1.934, allocations: 67.58 MB / 0.8969 GB, free: 93.02 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1)