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.001228/0.001228, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001425/0.001425, allocations: 193.8 kB / 16.14 MB, free: 6.738 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.649/1.649, allocations: 205.1 MB / 222 MB, free: 4.988 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.4328/0.4328, allocations: 39.93 MB / 309.3 MB, free: 9.555 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.001602/0.001603, allocations: 62.42 kB / 376.9 MB, free: 13.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1443, allocations: 56.88 MB / 433.8 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.3568/0.5011, allocations: 47.06 MB / 480.9 MB, free: 25.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03602/0.5372, allocations: 10.14 MB / 491 MB, free: 19.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01552/0.5529, allocations: 204.3 kB / 491.2 MB, free: 19.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005807/0.5588, allocations: 2.719 MB / 493.9 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006444/0.5653, allocations: 1.891 MB / 495.8 MB, free: 17.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.5678, allocations: 0.8249 MB / 496.6 MB, free: 16.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01212/0.58, allocations: 7.452 MB / 0.4923 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007689/0.5877, allocations: 3.315 MB / 0.4955 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005139/0.5929, allocations: 1.545 MB / 0.497 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006523/0.5995, allocations: 2.689 MB / 0.4996 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001835/0.6014, allocations: 264.3 kB / 0.4999 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004969/0.6063, allocations: 1.357 MB / 0.5012 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004397/0.6108, allocations: 2.115 MB / 0.5033 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007579/0.6184, allocations: 2.339 MB / 0.5056 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01658/0.635, allocations: 7.567 MB / 0.513 GB, free: 4.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-05/0.6351, allocations: 0 / 0.513 GB, free: 4.898 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.08e-06/0.6351, allocations: 0 / 0.513 GB, free: 4.898 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005853/0.6357, allocations: 4 kB / 0.513 GB, free: 4.895 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.02324/0.659, allocations: 5.529 MB / 0.5184 GB, free: 1.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.6591, allocations: 7.094 kB / 0.5184 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/0.671, allocations: 2.486 MB / 0.5208 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/0.6812, allocations: 3.452 MB / 0.5242 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.6814, allocations: 242.7 kB / 0.5244 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001702/0.6831, allocations: 339.6 kB / 0.5247 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02322/0.7064, allocations: 10.88 MB / 0.5353 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001887/0.7067, allocations: 51.48 kB / 0.5354 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004854/0.7071, allocations: 159.8 kB / 0.5356 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003453/0.7106, allocations: 1.998 MB / 0.5375 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02195/0.7326, allocations: 9.444 MB / 0.5467 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05901/0.7917, allocations: 41.24 MB / 0.587 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/0.8028, allocations: 4.275 MB / 0.5912 GB, free: 5.875 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002723/0.8056, allocations: 1.923 MB / 0.5931 GB, free: 3.945 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01228/0.8179, allocations: 7.61 MB / 0.6005 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/0.818, allocations: 59.44 kB / 0.6005 GB, free: 11.89 MB / 478.1 MB Notification: Performance of pre-optimization done (n=180): time 4.99e-06/0.818, allocations: 4 kB / 0.6005 GB, free: 11.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=236): time 0.5/1.318, allocations: 40.96 MB / 0.6405 GB, free: 145.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001751/1.318, allocations: 202.5 kB / 0.6407 GB, free: 145 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008458/1.327, allocations: 4.339 MB / 0.645 GB, free: 143.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009961/1.328, allocations: 56.42 kB / 0.645 GB, free: 143.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002602/1.33, allocations: 3.175 MB / 0.6481 GB, free: 141 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001663/1.332, allocations: 0.8783 MB / 0.649 GB, free: 140.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002743/1.335, allocations: 1.348 MB / 0.6503 GB, free: 139.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/1.335, allocations: 308.3 kB / 0.6506 GB, free: 139.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005672/1.341, allocations: 3.628 MB / 0.6541 GB, free: 138 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008041/1.349, allocations: 7.296 MB / 0.6613 GB, free: 131.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01914/1.368, allocations: 11.63 MB / 0.6726 GB, free: 123.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002433/1.368, allocations: 35.66 kB / 0.6727 GB, free: 123.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=856) (initialization): time 0.04865/1.417, allocations: 16.21 MB / 0.6885 GB, free: 118.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001764/1.417, allocations: 58.69 kB / 0.6885 GB, free: 118.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002875/1.417, allocations: 126.5 kB / 0.6887 GB, free: 118.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0219/1.439, allocations: 6.225 MB / 0.6947 GB, free: 116.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006091/1.445, allocations: 1.493 MB / 0.6962 GB, free: 116.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03016/1.476, allocations: 26.14 MB / 0.7217 GB, free: 89.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008536/1.484, allocations: 411.3 kB / 0.7221 GB, free: 89.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00152/1.486, allocations: 391.6 kB / 0.7225 GB, free: 89.11 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.00503/1.491, allocations: 2.227 MB / 0.7247 GB, free: 86.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/1.492, allocations: 390.9 kB / 0.725 GB, free: 86.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0253/1.517, allocations: 11.29 MB / 0.7361 GB, free: 75.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-05/1.517, allocations: 27.94 kB / 0.7361 GB, free: 75.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.054e-05/1.517, allocations: 15.94 kB / 0.7361 GB, free: 75.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.579e-05/1.517, allocations: 11.97 kB / 0.7361 GB, free: 75.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04324/1.561, allocations: 20.69 MB / 0.7563 GB, free: 54.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.641e-05/1.561, allocations: 11.25 kB / 0.7563 GB, free: 54.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002072/1.563, allocations: 387.4 kB / 0.7567 GB, free: 53.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01859/1.581, allocations: 5.308 MB / 0.7619 GB, free: 48.31 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007078/1.582, allocations: 44 kB / 0.7619 GB, free: 48.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02399/1.606, allocations: 21.22 MB / 0.7827 GB, free: 26.78 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.606, allocations: 8 kB / 0.7827 GB, free: 26.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02877/1.635, allocations: 14.61 MB / 0.7969 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00345/1.639, allocations: 0.9837 MB / 0.7979 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001629/1.64, allocations: 40.88 kB / 0.7979 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003096/1.643, allocations: 183.7 kB / 0.7981 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007893/1.644, allocations: 161 kB / 0.7983 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002203/1.644, allocations: 71.77 kB / 0.7983 GB, free: 10.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004592/1.649, allocations: 2.729 MB / 0.801 GB, free: 7.895 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.649, allocations: 0 / 0.801 GB, free: 7.895 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008673/1.658, allocations: 1.366 MB / 0.8023 GB, free: 6.531 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.0007786/1.658, allocations: 184.8 kB / 0.8025 GB, free: 6.344 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2871/1.946, allocations: 8.315 MB / 0.8106 GB, free: 136.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/1.946, allocations: 3.719 kB / 0.8106 GB, free: 136.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004874/1.95, allocations: 3.209 MB / 0.8138 GB, free: 136.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00449/1.955, allocations: 485.5 kB / 0.8142 GB, free: 136.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02478/1.98, allocations: 14.08 MB / 0.828 GB, free: 129.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005377/1.985, allocations: 3.516 MB / 0.8314 GB, free: 128.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005686/1.991, allocations: 1.96 MB / 0.8333 GB, free: 128.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/1.992, allocations: 263.6 kB / 0.8336 GB, free: 128.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.273e-06/1.992, allocations: 0 / 0.8336 GB, free: 128.1 MB / 494.1 MB Notification: Performance of Templates: time 0.1226/2.115, allocations: 67.58 MB / 0.8996 GB, free: 88.2 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)